Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
5.7.2
-
Severity 2 - Major
-
Description
Stash v3.6.0
Bamboo v5.7.2
Replicate issue (Only trigger "Plan C" if "Plan A" and "Plan B" builds are successful)
- create a repository in Stash
- add the following content to the repository
./planA ./planB
- add the following content to the repository
- create a Project in Bamboo
- create a Plan (Plan A)
- set up Stash repository under "Plan configuration >> Repositories" tab
- under "Advanced options", please select "Include only changes that matches" under "Include / Exclude files"
- add the following to "File pattern"
^planA/.*
- under "Plan configuration >> Triggers" tab, please select "Stash repository triggers the build when changes are committed" as "Trigger type"
- under "Plan configuration >> Dependencies" tab, please add "Plan C" under "Child plans"
- add "Source Code Checkout" task
- run build
- create a Plan (Plan B)
- set up Stash repository under "Plan configuration >> Repositories" tab
- under "Advanced options", please select "Include only changes that matches" under "Include / Exclude files"
- add the following to "File pattern"
^planB/.*
- under "Plan configuration >> Triggers" tab, please select "Stash repository triggers the build when changes are committed" as "Trigger type"
- under "Plan configuration >> Dependencies" tab, please add "Plan C" under "Child plans"
- add "Source Code Checkout" task
- run build
- create a Plan (Plan C)
- add Script task
echo "hello world!"
- add Script task
- run build
- create a Plan (Plan A)
At this stage, you should have successful builds in "Plan A", "Plan B" and "Plan C".
Lets force a build failure by:
- going to "Plan A >> Plan configuration" and add an "Ant" task
- please, run build
At this stage, you should have successful builds in "Plan B" and "Plan C" but not "Plan A"
Lets commit something to "./planB" directory as this will trigger "Plan B".
Based on the configurartion above, "Plan C" will be triggered eventhough "Plan A" has a failure build.
Attachments
Issue Links
- was cloned as
-
BDEV-9490 Loading...