This commit is contained in:
@@ -39,7 +39,7 @@ pipeline {
|
||||
stage('Deploy with docker-compose') {
|
||||
steps {
|
||||
script {
|
||||
def buildTime = sh(script: "date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
||||
def buildTime = sh(script: "TZ='Asia/Novosibirsk' date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
||||
withCredentials([
|
||||
usernamePassword(
|
||||
credentialsId: 'server-root-password',
|
||||
|
||||
@@ -34,7 +34,7 @@ pipeline {
|
||||
stage('Deploy with docker-compose') {
|
||||
steps {
|
||||
script {
|
||||
def buildTime = sh(script: "date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
||||
def buildTime = sh(script: "TZ='Asia/Novosibirsk' date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
||||
withCredentials([
|
||||
usernamePassword(
|
||||
credentialsId: 'server-root-password',
|
||||
|
||||
Reference in New Issue
Block a user