From 4d11e8b33dfc545d9dab03efcb6fba8e4140f2a9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 21 Jun 2020 12:29:39 +0200 Subject: Jenkins: do not run ISO build when pipeline library changes --- vars/buildPackage.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vars') diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index 366b1b72..3d51fde3 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -87,8 +87,7 @@ def call(description=null, pkgList=null, buildCmd=null) { // checkout git repository which hold 'Jenkinsfile' checkout scm - // Display Git commit Id used on Jenkinsfile on the - // Jenkins Job "Build History" pane + // Display Git commit Id used with the Jenkinsfile on the Job "Build History" pane def commitId = sh(returnStdout: true, script: 'git rev-parse --short=11 HEAD').trim() currentBuild.description = sprintf('Git SHA1: %s', commitId[-11..-1]) -- cgit v1.2.3