summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-26 07:02:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-26 07:02:33 +0200
commit44c5e7d928248b0648f71d7dd4a8dca564c78d5e (patch)
tree8c4a4c1bd2a7d9f40e7ad952473034d2124f422f
parentabc6e3ebb72c8c37d2a49e822077bc656c11c0cf (diff)
downloadvyos-build-44c5e7d928248b0648f71d7dd4a8dca564c78d5e.tar.gz
vyos-build-44c5e7d928248b0648f71d7dd4a8dca564c78d5e.zip
Jenkins: when building VyOS ISO use UTC timestamp
(cherry picked from commit d8f519231612c666d6804282282a4b0213b531d7)
-rw-r--r--Jenkinsfile2
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.