Skip to content

Commit

Permalink
Improve build descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Feb 6, 2024
1 parent 5db80ba commit c41846a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions releng/org.eclipse.oomph.parent/Jenkinsfile
Expand Up @@ -160,7 +160,7 @@ pipeline {
env.PROMOTE = false
}

echoVariables()
currentBuild.description = echoVariables().replace("\n", "<br/>")
}
}
}
Expand Down Expand Up @@ -194,7 +194,7 @@ pipeline {
env.SIGN = false
}

echoVariables()
currentBuild.description = echoVariables().replace("\n", "<br/>")
}
}
}
Expand Down Expand Up @@ -281,8 +281,8 @@ pipeline {
}
}

def void echoVariables() {
def description = """
def String echoVariables() {
def description = """
BUILD_TYPE=${env.BUILD_TYPE}
RESTRICTED_VERSION=${env.RESTRICTED_VERSION}
BUILD_KEY=${env.BUILD_KEY}
Expand All @@ -298,8 +298,8 @@ GIT=${env.GIT}
GIT_COMMIT=${env.GIT_COMMIT}
GIT_BRANCH=${env.GIT_BRANCH}
""".trim()
echo description
currentBuild.description = description.replace("\n", "<br/>")
echo description
return description
}

def void mvn() {
Expand Down

0 comments on commit c41846a

Please sign in to comment.