Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch branches from remote on "-finish" goals #196

Closed
ghost opened this issue Aug 15, 2019 · 5 comments
Closed

fetch branches from remote on "-finish" goals #196

ghost opened this issue Aug 15, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Aug 15, 2019

it would be much easier to run "-finish" goals for user who didn't start it (doesn't have e.g. release branch checked out locally) when fetch of remote branches is performed before search for required branch(release branch e.g.) Perfect example: only some users are allowed to push to master. Someone starts release and checks if everything's OK but someone else have to finish it.

@ghost ghost changed the title fetch new branches from remote on -finish goals fetch new branches from remote on "-finish" goals Aug 15, 2019
@ghost ghost changed the title fetch new branches from remote on "-finish" goals fetch branches from remote on "-finish" goals Aug 15, 2019
@MarkVMk2
Copy link

MarkVMk2 commented Nov 7, 2019

Another example: jenkins builds - "start" and "finish" goals are being executed with different jobs

@aleksandr-m
Copy link
Owner

@mireczatko @MarkVMk2 I've implemented this for release-finish goal for now. Not sure whether there is need to do this in the others goals.

@ghost
Copy link
Author

ghost commented Dec 2, 2019

@aleksandr-m great, thank you. I think hotfix-finish is almost same scenario

@MarkVMk2
Copy link

MarkVMk2 commented Dec 2, 2019

It useful for all -finish goals - i had cases when plugin was unable to find release, hotfix or feature branch and several times it failed due to missing develop because it was fetched to HEAD

@aleksandr-m
Copy link
Owner

@mireczatko @MarkVMk2 1.14.0 is out with fetching remote release branch in release-finish goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants