pull/2696/head
truongpx-Mac 2 years ago
parent b24dd7705d
commit 60cd89f989

@ -121,7 +121,6 @@ pipeline {
stage('Prepare to update infra') { stage('Prepare to update infra') {
steps { steps {
cleanWs() cleanWs()
// git credentialsId: 'GitHub', url: "https://github.com/${ORGANIZATION_NAME}/${SERVICE_NAME_INFRA}"
checkout([$class: 'GitSCM', checkout([$class: 'GitSCM',
branches: [[name: "main"]], branches: [[name: "main"]],
doGenerateSubmoduleConfigurations: false, doGenerateSubmoduleConfigurations: false,
@ -150,12 +149,11 @@ pipeline {
], ],
fileEncoding: 'UTF-8', fileEncoding: 'UTF-8',
lineSeparator: 'Unix', lineSeparator: 'Unix',
filePath: 'open-im-server/api/deployment.yaml' filePath: "open-im-server/${params.RELEASE_PROJECTS}/deployment.yaml"
) )
] ]
) )
script { script {
withCredentials([string(credentialsId: 'GitHub1', variable: 'GITHUB_TOKEN')]) { withCredentials([string(credentialsId: 'GitHub1', variable: 'GITHUB_TOKEN')]) {
sh """ sh """

Loading…
Cancel
Save