更新 'Jenkinsfile'

main
newrain001 9 months ago
parent b237c68d03
commit 6490394c24
  1. 6
      Jenkinsfile

6
Jenkinsfile vendored

@ -62,7 +62,7 @@ spec:
items:
- key: config
path: config
"""
"""
}
}
stages {
@ -77,6 +77,7 @@ spec:
"""
}
}
}
post {
failure {
dingtalk (
@ -98,7 +99,6 @@ spec:
}
}
}
}
stage('部署到kubernetes') {
steps {
container('kubectl') {
@ -107,6 +107,7 @@ spec:
kubectl apply -f ${env.YAML_PATH}
"""
}
}
post {
failure {
dingtalk (
@ -129,5 +130,4 @@ spec:
}
}
}
}
}

Loading…
Cancel
Save