-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Force GoCD to build every commit (WIP) #76
Open
juhasipo
wants to merge
7
commits into
ashwanthkumar:master
Choose a base branch
from
Vincit:build-every-commit
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 22, 2016
-
Support for building every commit
This basically works by holding back commits until GoCD can schedule them. This assumes that GoCD starts scheduling the given commits right after the plugin gives them to the server. This will prevent the case where GoCD is building one commit whichs takes long time to build. Meanwhile other commits would be given to GoCD and it would merge these commits. That would result some of the commits to be skipped. This is useful when using tools like Gerrit which should make GoCD to build every change set and report the result back to Gerrit. Without this feature GoCD will skip some changeset if the changeset are related to each other. This feature requires access to Go's pipeline API so that it can check if the pipeline can be scheduled. This will also require the pipeline to have only one stage. Otherwise GoCD (tested on versions 16.2, 16.6) may require manual triggering of the second stage even when pipeline isn't configured to behave like this.
Configuration menu - View commit details
-
Copy full SHA for c4a080e - Browse repository at this point
Copy the full SHA c4a080eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a31dc92 - Browse repository at this point
Copy the full SHA a31dc92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2537527 - Browse repository at this point
Copy the full SHA 2537527View commit details -
Remove general plugin settings from plugins that don't require them
Only Gerrit uses plugin level settings for now.
Configuration menu - View commit details
-
Copy full SHA for e043c4c - Browse repository at this point
Copy the full SHA e043c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 055475d - Browse repository at this point
Copy the full SHA 055475dView commit details -
Also check that pipeline jobs aren't running
Don't allow to start a build if there is something still building.
Configuration menu - View commit details
-
Copy full SHA for 65bad1e - Browse repository at this point
Copy the full SHA 65bad1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c6436e - Browse repository at this point
Copy the full SHA 8c6436eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.