diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-26 07:02:33 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-26 07:02:33 +0200 |
commit | d8f519231612c666d6804282282a4b0213b531d7 (patch) | |
tree | 497aca903379694591c76be32778a79395e874c7 /Jenkinsfile | |
parent | 404ef29d13cfe81e4f5ff1dce6787f1634e977d0 (diff) | |
download | vyos-build-d8f519231612c666d6804282282a4b0213b531d7.tar.gz vyos-build-d8f519231612c666d6804282282a4b0213b531d7.zip |
Jenkins: when building VyOS ISO use UTC timestamp
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 319f748c..f74777a0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ setDescription() node('Docker') { stage('Build timestamp') { script { - env.TIMESTAMP = sh(returnStdout: true, script: 'date +%Y%m%d%H%M').toString().trim() + env.TIMESTAMP = sh(returnStdout: true, script: 'date -u +%Y%m%d%H%M').toString().trim() // create container name on demand def branchName = getGitBranchName() // Adjust PR target branch name so we can re-map it to the proper Docker image. |