diff options
author | hagbard <vyosdev@derith.de> | 2019-10-09 09:24:40 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-10-09 09:24:40 -0700 |
commit | f8be18fbc549bc574746991bd0bb1de9b424745e (patch) | |
tree | 681026f10f4a02f707a1cec037935e20716fdb51 /Jenkinsfile | |
parent | c4dbaa158c9b5c6e3c4ff3fe2f9f17d095732547 (diff) | |
parent | 21fe962befb2ebd1625eb7a6c28cb3e9005fe37e (diff) | |
download | vyos-1x-f8be18fbc549bc574746991bd0bb1de9b424745e.tar.gz vyos-1x-f8be18fbc549bc574746991bd0bb1de9b424745e.zip |
Merge branch 'current' into equuleus
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index b11267ec2..7529d949e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,7 +87,8 @@ pipeline { steps { script { dir('build') { - git branch: getGitBranchName(), url: getGitRepoURL() + git branch: getGitBranchName(), + url: getGitRepoURL() } } } @@ -96,7 +97,10 @@ pipeline { steps { script { dir('build') { - sh "dpkg-buildpackage -b -us -uc -tc" + def commitId = sh(returnStdout: true, script: 'git rev-parse --short=11 HEAD').trim() + currentBuild.description = sprintf('Git SHA1: %s', commitId[-11..-1]) + + sh 'dpkg-buildpackage -b -us -uc -tc' } } } |