更新 'Jenkinsfile'

main
newrain001 9 months ago
parent 38171e72a4
commit 52986377cd
  1. 7
      Jenkinsfile

7
Jenkinsfile vendored

@ -1,9 +1,10 @@
pipeline {
agent any
environment {
DOCKER_IMAGE = "registry.cn-hangzhou.aliyuncs.com/newrain_wang/my-web-app:latest"
REGISTRY_CREDENTIALS_ID = '1'
REGISTRY_URL = 'https://registry.cn-hangzhou.aliyuncs.com'
# DOCKER_IMAGE = "registry.cn-hangzhou.aliyuncs.com/newrain_wang/my-web-app:latest"
DOCKER_IMAGE = "core.harbor.cn/library/my-web-app"
REGISTRY_CREDENTIALS_ID = '2'
REGISTRY_URL = 'http://core.harbor.cn'
}
stages {

Loading…
Cancel
Save