CI: Add docker info to job summary

Change-Id: I45d52005a9b692ad303c11792f226ace1e449901
This commit is contained in:
George Joseph
2018-07-26 10:34:20 -06:00
parent 1c8e6ecca3
commit e55cad967e
4 changed files with 17 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ pipeline {
stage ("->") {
steps {
/* Here's where we switch to scripted pipeline */
manager.createSummary("/plugin/workflow-job/images/48x48/pipelinejob.png").appendText("Docker Host: ${NODE_NAME}", false)
script {
stage ("Checkout") {
sh "sudo chown -R jenkins:users ."
@@ -40,6 +42,8 @@ pipeline {
" --entrypoint=''"
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
def outputdir = "tests/CI/output/Testsuite"
manager.createSummary("/plugin/workflow-job/images/48x48/pipelinejob.png").appendText("Docker Image: ${randomImage}", false)
def img = docker.image(randomImage)
img.pull()