-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Jenkins X
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.29
-
Story Points:3
Following NXBT-3199, we now have a platform-staging Jenkins X team.
It uses a dedicated Jenkins image with no configuration for the JIRA plugin to prevent the build from commenting the JIRA issues.
Yet, the builds are failing with:
[JIRA] No JIRA site is configured for this project. This must be a project configuration error
when trying to run:
post { always { script { if (BRANCH_NAME == 'master') { // update JIRA issue step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm]) } } } }
We should be able to not fail the whole build in this case.
We've already tried catchError from the Pipeline: Basic Steps plugin but without success (though it works with some simple step like sh 'exit 1').
Using the latest version of the plugin doesn't help, 2.19 at this time.