Skip to content

Commit bb79706

Browse files
authored
Merge pull request #133 from theshoeshiner/feature/allow-parent-pipeline
Allow parent pipelines to call Install4j jobs
2 parents a905a5d + 3da0dd5 commit bb79706

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. This projec
1414
- Removed $PUBLISH_SNAPSHOT_GRADLE_FLAGS from publish_release_jar and also corrected Publish Jar README.md documented variables.
1515
- Updated Kaniko.yml from exit 1 to exit 0 if image already exists
1616
- Allowed publish_helm_chart to not require GPG signing.
17+
- Allowed Install4J pipelines (GradleInstall4JPipeline.yml) to be called from parent pipelines
1718

1819
## [3.x.x] - 2025-04-25
1920
### Added

lib/gitlab/ci/templates/pipeline/GradleInstall4JPipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ before_script:
7070
when: never
7171
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH && $CI_COMMIT_TAG == null
7272
- if: $CI_PIPELINE_SOURCE == "schedule"
73-
- if: ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "pipeline")
73+
- if: ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "parent_pipeline")
7474

7575
snapshot-installer:
7676
extends: .base-snapshot-installer
@@ -82,7 +82,7 @@ snapshot-installer:
8282
extends: .base-installer
8383
rules:
8484
# Only when manually invoked from the web UI and RELEASE has a non-empty value
85-
- if: ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "pipeline") && $RELEASE
85+
- if: ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "parent_pipeline") && $RELEASE
8686
variables:
8787
SNAPSHOT_FLAGS: ""
8888

0 commit comments

Comments
 (0)