environment test
This commit is contained in:
parent
22aa725630
commit
85f5b778e8
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -77,7 +77,7 @@ podTemplate(
|
|||
passwordVariable: 'HARBOR_PASSWORD']]) {
|
||||
sh """
|
||||
docker login -u "${HARBOR_USER}" -p "${HARBOR_PASSWORD}" ${docker_registry_url}
|
||||
docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${app_version} --build-arg JAR_NAME="cicd-${app_version}.jar" .
|
||||
docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${app_version} --build-arg JAR_NAME=cicd-${app_version}.jar .
|
||||
docker push ${docker_registry_url}/prototype/cicd-java-spring-boot:${app_version}
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user