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

Validate whether the local branch is synced with the origin? #365

Open
sorin-costea opened this issue Mar 23, 2018 · 0 comments
Open

Validate whether the local branch is synced with the origin? #365

sorin-costea opened this issue Mar 23, 2018 · 0 comments

Comments

@sorin-costea
Copy link

When I trigger a deploy from my machine, I might forget sometimes to pull. Thus I package happily from what I thought to be HEAD. I also tried to fetch, but even when I see that FETCH_HEAD is different than HEAD, the build still succeeds.

Could I have some kind of validation which would fail if the checked out branch is not synced with its origin? I'd like to see it failing the build the same why like the validation for uncommited changes.

I'm aware this wouldn't be an issue if the CI would work but well..

jonevn added a commit to jonevn/maven-git-commit-id-plugin that referenced this issue Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants