-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
1
-
Currently Bamboo only supports defining custom revision for default repo.
Workaround
First, you need to create and push branches with your desired revisions. Then create a custom plan branch:
Instead of passing “Branch name” click “Create plan branch manually”
This will allow you to create a branch plan without changing the default repository branch - we will keep it as master.
Enabling the branch plan can immediately trigger itself after creation, so we will start with it being disabled.
After clicking “Create” we need to do changes in the branch plan configuration. You should be automatically redirected to it, however, if not you can access it from the branch plan page
In the first tab of the branch plan config, you should see branches of all repositories used (at the bottom). Here we want to change the Jira Software Application branch.
Go to the “Repositories” tab.
Here you need to switch to the desired branch
Don’t forget to click “Save repository” at the bottom of the repository configuration
To verify if everything is correct go back to the “Branch details” tab and see what branches are configured.
For some plans, you may want to also disable automatic triggers of this branch plan. Here we will override it to run only when started manually. Toggle “Change trigger” and set “Trigger type” to “Manual”.
You should also enable the branch plan and click “Save”.
Configuration complete
- links to
- relates to
-
WCAT-110 You do not have permission to view this issue
Form Name |
---|
Our CI is arranged to released artifacts from multiple jobs in one build. These jobs build artifacts for different OS, СPUs, compilers, etc.
Bamboo agents run on different OS to make it happen. Needless to say that Perforce path is different for all of them.
For instance, Linux differs from Windows because of OS design.
Running `customized changelist number` seems to be natural solution to utilize if we need to fallback to some configuration.
As every job utilizes its own `perforce workspace`, it's strange that CL# applies only to the default one - the one on the top.
Could you please fix that?