diff --git a/Jenkinsfile b/Jenkinsfile index 2e95cf3..1de5f66 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -77,7 +77,7 @@ steps{ script { def now = new Date() - env.timestamp = now.format("yyMMdd-HHmm", TimeZone.getTimeZone('UTC')) + env.timestamp = now.format("yyMMdd-HHmm", TimeZone.getTimeZone('GMT')) println env.timestamp env.branch = env.timestamp+"-automatedSLOGeneration" dir("/opt/workspace/coco_terraform_config/") { @@ -123,6 +123,7 @@ steps { script { dir("/opt/workspace/coco_terraform_config/") { + sh "git status" sh "git add ." sh "git commit -m \"${env.timestamp}\"" sh "git push origin ${env.branch}"