This is an automated email from the ASF dual-hosted git repository. toulmean pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
The following commit(s) were added to refs/heads/master by this push: new c4ddb3e fix Jenkinsfile - need to fix this condition directly on master to get the change picked up c4ddb3e is described below commit c4ddb3e17a3d3aa3e09825465afc082782ffee27 Author: Antoine Toulme <anto...@lunar-ocean.com> AuthorDate: Mon Jun 22 00:35:13 2020 -0700 fix Jenkinsfile - need to fix this condition directly on master to get the change picked up --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 758be76..864d0f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,15 +48,16 @@ pipeline { } } } - if(env.BRANCH_NAME == 'master'){ stage('Publish') { + when { + branch 'master' + } steps { timeout(time: 30, unit: 'MINUTES') { sh "./gradlew publish" } } } - } } post { always { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tuweni.apache.org For additional commands, e-mail: commits-h...@tuweni.apache.org