Skip to content
Snippets Groups Projects
Commit a0ff8dd6 authored by OZGCloud's avatar OZGCloud
Browse files

edit jenkins pipeline

parent 4a7f94dc
Branches
Tags
No related merge requests found
......@@ -79,7 +79,7 @@ pipeline {
openshift.startBuild("goofy-builder", "--from-dir=.", "--follow", "--wait")
}
openshift.tag("goofy-builder:latest", "goofy-builder:${env.BRANCH_NAME}-${version}")
openshift.tag("goofy-builder:build-latest", "goofy-builder:${env.BRANCH_NAME}-${version}")
if (env.BRANCH_NAME == 'release') {
openshift.tag("goofy-builder:${env.BRANCH_NAME}-${version}", "goofy-builder:latest")
......@@ -89,7 +89,7 @@ pipeline {
def dc = openshift.selector('dc', 'goofy-e2e')
openshift.tag("goofy-builder:${env.BRANCH_NAME}-${version}", "goofy-builder:snapshot-latest")
openshift.tag("goofy-builder:latest", "goofy-builder:e2e-latest")
openshift.tag("goofy-builder:${env.BRANCH_NAME}-${version}", "goofy-builder:e2e-latest")
dc.rollout().status()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment