Update clinic/service/Jenkinsfile.GatewayService

This commit is contained in:
2025-05-25 20:39:34 +08:00
parent 7cbd638361
commit 9beefc662e

View File

@@ -15,7 +15,7 @@ pipeline {
checkout([$class: 'GitSCM',
branches: [[name: '*/develop']],
userRemoteConfigs: [[
url: 'http://192.168.100.103:3000/Clinic/clinic-gateway-service.git',
url: 'https://git.hzwnrw.my/Clinic/clinic-gateway-service.git',
credentialsId: env.GITEA_CREDENTIALS
]]
])
@@ -59,7 +59,7 @@ pipeline {
git config user.name "Jenkins"
git add pom.xml
git commit -m "Auto-increment version to ${newVersion}" || echo "No changes to commit"
git push http://${GIT_USER}:${GIT_PASS}@192.168.100.103:3000/Clinic/clinic-gateway-service.git HEAD:develop || exit 1
git push https://${GIT_USER}:${GIT_PASS}@git.hzwnrw.my:3000/Clinic/clinic-gateway-service.git HEAD:develop || exit 1
"""
}