Skip to content

Commit

Permalink
Fix failing chain build.
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd committed Jan 25, 2024
1 parent 5e78e91 commit a0291e4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ pipeline {
CONAN_USER = 'oss'
TARGET_BRANCH = 'master'
STABLE_BRANCH = 'stable/v*'
built_chain = ''
failed_pkg = ''
}

parameters {
Expand Down Expand Up @@ -92,12 +90,8 @@ pipeline {
steps {
script {
def hobj_res = build job: "HomeObject/main", parameters: [[$class: 'StringParameterValue', name: 'upstream_triggered', value: 'true']], propagate: true
built_chain = "${built_chain}" + ", " + "$hobj_res.buildVariables.pkg_version"
}
}
post {
failure { script { failed_pkg = "HomeObject" } }
}
}
}
}
Expand All @@ -106,11 +100,7 @@ pipeline {
post {
failure {
script {
if ("${failed_pkg}" != "") {
slackSend color: '#E43237', channel: '#homestore-build', message: "@here HomeStore downstream pkg - *${failed_pkg}* build failed.\n*URL:* ${BUILD_URL}\nIf result not expected, revert (aka `conan remove -r ebay-local`) these pkgs: ```${built_chain}```"
} else {
slackSend color: '#E43237', channel: '#homestore-build', message: "@here HomeStore build *${PROJECT}/${TAG}* has had a failure : ${BUILD_URL}"
}
}
}
success {
Expand Down

0 comments on commit a0291e4

Please sign in to comment.