| |
@@ -150,7 +150,7 @@
|
| |
if (env.PR_NO) {
|
| |
env.PIPELINE_ID = "c3i-{{ c3i_component }}-pr-${env.PR_NO}-git${env.GIT_COMMIT.take(8)}-${currentBuild.id}"
|
| |
} else {
|
| |
- env.PIPELINE_ID = "c3i-{{ c3i_component }}-${env.GIT_REPO_REF}-git${env.GIT_COMMIT.take(8)}-${currentBuild.id}"
|
| |
+ env.PIPELINE_ID = "c3i-{{ c3i_component }}-git${env.GIT_COMMIT.take(8)}-${currentBuild.id}"
|
| |
}
|
| |
echo "Requesting new OpenShift project ${env.PIPELINE_ID}..."
|
| |
openshift.withCluster() {
|
| |
@@ -162,6 +162,8 @@
|
| |
)
|
| |
}
|
| |
}
|
| |
+ namespaceLink = """<a href="{{ c3i_ocp_host }}/console/project/${env.PIPELINE_ID}">Openshift</a>"""
|
| |
+ currentBuild.description = "${currentBuild.description}<br/>${namespaceLink}"
|
| |
}
|
| |
}
|
| |
post {
|
| |
Append description with openshift namespace link and jenkins master
link.
Enable safeHTTP for description on jenkins master.