Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
Summary
When creating a Pipelines schedule, the list of 'Custom Pipeline' is empty for branches that contain a slash / in their name.
Steps to Reproduce
- Create a repo in Bitbucket with two branches, 'master' and 'test/pipelines'
- Use the following .yml file for master branch
#!python pipelines: custom: test1: - step: script: - echo "Test 1" test2: - step: script: - echo "Test 2"
- Use the following .yml file for test/pippelines branch
#!python pipelines: custom: test3: - step: script: - echo "Test 3" test4: - step: script: - echo "Test 4"
- Go to the Pipelines page of the repo >> Schedules >> New Schedule
- In the 'Create a schedule dialog', select test/pipelines branch
- Select the dropdown for 'Custom Pipeline'
Expected Results
The list loads custom pipelines test3 and test4.
Actual Results
The list is empty.
Notes
Additionally, if you select master branch in the above dialog, you will see in 'Custom pipeline' dropdown test1 and test2 as expected. If you switch back to test/pipelines branch, the 'Custom pipeline' field continues to show test1 and test2