test
This commit is contained in:
parent
a232ab8d14
commit
ee1072811f
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
|
@ -97,6 +97,7 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
|
echo "SHOUTPUT:\n---------------\n${SHOUTPUT}\n--------------\n"
|
||||||
if (env.BRANCH_NAME.startsWith('PR') && SHOUTPUT?.trim()) {
|
if (env.BRANCH_NAME.startsWith('PR') && SHOUTPUT?.trim()) {
|
||||||
def comment = pullRequest.comment("CI Error:\n\n```\n${SHOUTPUT}\n```")
|
def comment = pullRequest.comment("CI Error:\n\n```\n${SHOUTPUT}\n```")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue