From 98412d1cc43a5b29dfb1d605f21342b0a05eca57 Mon Sep 17 00:00:00 2001 From: truongpx-Mac Date: Sat, 21 Oct 2023 13:16:45 +0700 Subject: [PATCH] update --- jenkins-deploy/jenkinsfiles/api.jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins-deploy/jenkinsfiles/api.jenkinsfile b/jenkins-deploy/jenkinsfiles/api.jenkinsfile index a946defbd..d606cc3e5 100644 --- a/jenkins-deploy/jenkinsfiles/api.jenkinsfile +++ b/jenkins-deploy/jenkinsfiles/api.jenkinsfile @@ -6,7 +6,7 @@ pipeline { // } // } environment { - JOB_ENV = "dev" // namespace + JOB_ENV = "openim-dev" // namespace DEPLOYMENT_NAME = "api" // k8s deploy name CONFIGMAP_NAME = "${DEPLOYMENT_NAME}-conf" // runtime conf JOB_NAME = "${JOB_NAME}" // jenkins job name @@ -164,7 +164,7 @@ pipeline { git config user.email "jenkins@example.com" git config user.name "Jenkins" git add open-im-server/api/deployment.yaml && git commit -m "Update app image tag to ${CommitHash}-${BUILD_NUM}" - git push -f https://${GITHUB_TOKEN}@github.com/${ORGANIZATION_NAME}/${SERVICE_NAME_INFRA}.git + git push -f https://${GITHUB_TOKEN}@github.com/${ORGANIZATION_NAME}/${SERVICE_NAME_INFRA}.git HEAD:main """ } }