Update clinic/service/Jenkinsfile.Web

This commit is contained in:
2025-05-25 20:40:43 +08:00
parent ff2577b421
commit 345053f179

View File

@@ -15,7 +15,7 @@ pipeline {
checkout([$class: 'GitSCM',
branches: [[name: '*/develop']],
userRemoteConfigs: [[
url: 'http://192.168.100.103:3000/Clinic/clinic-frontend.git',
url: 'https://git.hzwnrw.my/Clinic/clinic-frontend.git',
credentialsId: env.GITEA_CREDENTIALS
]]
])
@@ -48,7 +48,7 @@ pipeline {
git config user.name "Jenkins"
git add package.json package-lock.json
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-frontend.git HEAD:develop || exit 1
git push https://${GIT_USER}:${GIT_PASS}@git.hzwnrw.my/Clinic/clinic-frontend.git HEAD:develop || exit 1
"""
}