From 5ddf2fb5f0d05bba6fe82f918f0db3d2c811e1a0 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Thu, 22 Feb 2018 09:56:51 -0500 Subject: Fix publication lockfile name --- jenkins/dispatch.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 473587f..2da1a79 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -360,7 +360,7 @@ node(LABEL) { while ( tries_remaining > 0) { println("Waiting ${this.publication_lock_wait_s}s for lockfile release...") sleep(this.publication_lock_wait_s) - if ( !fileExists(file) ) { + if ( !fileExists(lockfile) ) { break } tries_remaining-- -- cgit