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 | 44c5e7d928248b0648f71d7dd4a8dca564c78d5e (patch) | |
tree | 8c4a4c1bd2a7d9f40e7ad952473034d2124f422f | |
parent | abc6e3ebb72c8c37d2a49e822077bc656c11c0cf (diff) | |
download | vyos-build-44c5e7d928248b0648f71d7dd4a8dca564c78d5e.tar.gz vyos-build-44c5e7d928248b0648f71d7dd4a8dca564c78d5e.zip |
Jenkins: when building VyOS ISO use UTC timestamp
(cherry picked from commit d8f519231612c666d6804282282a4b0213b531d7)
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 54afb63b..d4bab060 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. |