From 60cd89f989e9b79d7d41786d4b152bdb0c4d9080 Mon Sep 17 00:00:00 2001 From: truongpx-Mac Date: Sat, 21 Oct 2023 15:57:40 +0700 Subject: [PATCH] update --- jenkins-deploy/jenkinsfiles/api.jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jenkins-deploy/jenkinsfiles/api.jenkinsfile b/jenkins-deploy/jenkinsfiles/api.jenkinsfile index 0821ccade..b906e5825 100644 --- a/jenkins-deploy/jenkinsfiles/api.jenkinsfile +++ b/jenkins-deploy/jenkinsfiles/api.jenkinsfile @@ -121,7 +121,6 @@ pipeline { stage('Prepare to update infra') { steps { cleanWs() - // git credentialsId: 'GitHub', url: "https://github.com/${ORGANIZATION_NAME}/${SERVICE_NAME_INFRA}" checkout([$class: 'GitSCM', branches: [[name: "main"]], doGenerateSubmoduleConfigurations: false, @@ -150,12 +149,11 @@ pipeline { ], fileEncoding: 'UTF-8', lineSeparator: 'Unix', - filePath: 'open-im-server/api/deployment.yaml' + filePath: "open-im-server/${params.RELEASE_PROJECTS}/deployment.yaml" ) ] ) - script { withCredentials([string(credentialsId: 'GitHub1', variable: 'GITHUB_TOKEN')]) { sh """