-
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Labels
Milestone
Description
Is your feature request related to a problem?
Currently opencli will push a new branch with changes that is named opencli_<some long hash>
This will not work with our internal processes and especially not with our remaining jenkins automation.
Solution you'd like
It would be great if the scm definitions allow a configuration to give the working branch a specific name.
Alternatives you've considered
No response
Anything else?
This seems to be already somewhat prepared:
git
func (g *Git) GetBranches() (sourceBranch, workingBranch, targetBranch string) {
sourceBranch = g.spec.Branch
workingBranch = g.spec.Branch
targetBranch = g.spec.Branch
stash
func (s *Stash) GetBranches() (sourceBranch, workingBranch, targetBranch string) {
sourceBranch = s.Spec.Branch
workingBranch = s.nativeGitHandler.SanitizeBranchName(fmt.Sprintf("updatecli_%v", s.pipelineID))
targetBranch = s.Spec.Branch
MattiasAng
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done