Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* Add component information in automatic release close notes ([#1254](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1254))

### Fixed
* Fail pipeline when deploying with issues in progress ([#1258](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1258))
* Fix SonarQube run enable/disable logic ([#1259](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1259))
* Log correct error message for wrong preview-branch value ([#1249](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1249))
* Fail the pipeline when no version specified for a deploy to Q, P ([#1248](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1248))
Expand Down
6 changes: 1 addition & 5 deletions vars/odsOrchestrationPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,11 @@ def call(Map config) {
logger.debugClocked('pod-template')
withEnv(envs) {
def result
def cannotContinueAsHasOpenIssuesInClosingRelease = false
try {
result = new InitStage(this, project, repos, startAgentStage).execute()
} catch (OpenIssuesException ex) {
cannotContinueAsHasOpenIssuesInClosingRelease = true
}
if (cannotContinueAsHasOpenIssuesInClosingRelease) {
logger.warn('Cannot continue as it has open issues in the release.')
return
throw ex
}
if (result) {
project = result.project
Expand Down