Skip to content

Commit 649373d

Browse files
committed
Change date to avoid pulling nonexistant image
1 parent 44c569a commit 649373d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pipeline {
158158
parameterizedCron( env.BRANCH_NAME == 'develop' ? '''00 04 * * *''' : '')
159159
}
160160
environment {
161-
timeStamp = sh(returnStdout: true, script: 'date +%Y%m%d').trim()
161+
timeStamp = sh(returnStdout: true, script: 'date -v-5H +%Y%m%d').trim()
162162
dockerRegistry = 'ml-docker-dev.marklogic.com'
163163
dockerRepository = "${dockerRegistry}/marklogic/marklogic-server-centos"
164164
dockerVersion = "${ML_VERSION}-${timeStamp}-centos-1.0.0"

0 commit comments

Comments
 (0)