Skip to content

Commit fe2757e

Browse files
committed
Merged in fix_ci (pull request apache#18)
Fix CI * Fix CI Approved-by: Spenser Gilliland Approved-by: Lam Nguyen
1 parent 24e550f commit fe2757e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

ci_jobs/Jenkinsfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ def main() {
2323

2424
def image
2525
stage("DockerBuild") {
26-
image = utils.dockerBuild("docker/Dockerfile", 'simaai/' + job_name, "docker_creds", "docker_build.log", {})
26+
image = utils.dockerBuild(
27+
"docker/Dockerfile",
28+
"${env.NEXUS_URL}:5000/" + job_name,
29+
"jenkins_user",
30+
"docker_build.log",
31+
{},
32+
"https://${env.NEXUS_URL}:5000"
33+
)
2734
}
2835

2936
parallel push: {
@@ -65,7 +72,7 @@ python3 setup.py bdist_wheel
6572

6673
stage("Promotion") {
6774
if (env.BRANCH_NAME=="sima") {
68-
utils.docker_promote(image['image'], 'docker_creds', '')
75+
utils.docker_promote(image['image'], 'jenkins_user', "https://${env.NEXUS_URL}:5000")
6976
}
7077
}
7178

0 commit comments

Comments
 (0)