diff options
author | hagbard <vyosdev@derith.de> | 2019-10-09 12:42:07 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-10-09 12:42:07 -0700 |
commit | 7ed120e471593fc943b793a82739c38ddc9e4b79 (patch) | |
tree | 9348c346f157736f3e1b4aa9c37df00a216f1a52 /Jenkinsfile | |
parent | 29147950487514dd34fa486a5d1d42412a90ce43 (diff) | |
parent | 46f9b2ab60e4faf106182ad3dffed0edaa95ca77 (diff) | |
download | vyos-build-7ed120e471593fc943b793a82739c38ddc9e4b79.tar.gz vyos-build-7ed120e471593fc943b793a82739c38ddc9e4b79.zip |
Merge branch 'current' into equuleus
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index e2077bc4..e86cd4e9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -90,17 +90,16 @@ pipeline { stage('Configure') { steps { script { - sh """ - ./configure --build-by="autobuild@vyos.net" --debian-mirror="http://ftp.us.debian.org/debian/" - """ + def commitId = sh(returnStdout: true, script: 'git rev-parse --short=11 HEAD').trim() + currentBuild.description = sprintf('Git SHA1: %s', commitId[-11..-1]) + + sh './configure --build-by autobuild@vyos.net --debian-mirror http://ftp.us.debian.org/debian/' } } } stage('Build') { steps { - sh """ - sudo make iso - """ + sh 'sudo make iso' } } stage('Test') { |