This commit is contained in:
Jamie Curnow
2023-03-08 09:39:15 +10:00
parent a232ab8d14
commit ee1072811f

1
Jenkinsfile vendored
View File

@@ -97,6 +97,7 @@ pipeline {
post {
failure {
script {
echo "SHOUTPUT:\n---------------\n${SHOUTPUT}\n--------------\n"
if (env.BRANCH_NAME.startsWith('PR') && SHOUTPUT?.trim()) {
def comment = pullRequest.comment("CI Error:\n\n```\n${SHOUTPUT}\n```")
}