-
Notifications
You must be signed in to change notification settings - Fork 5
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
Automated versioned builds: Only apply when src/ or libraries changes #98
Comments
Alternative, however, is to handle version numbering differently, since leveraging jenkins build number is really the more problematic part. Or we do need that intermediate |
Another option is to keep the current strategy, monitor only for src/library changes, and use this plugin to discard aborted builds. Probably needs to be combined with this plugin to reset numbers to the current attempt. |
The plugin for discarding aborted builds works great. The plugin to reset build number does not function in pipeline builds, instead requiring JobDSL. |
Next build number can be reset with a pipeline library function! |
Current conflict: build-history-manager deletion deletes everything but build.xml, which means that setting the next build number fails because a build exists. Investigating other options. |
this is only my preference- manually manage the version number over automatically increasing it.
if you wish to increment the version number automatically, why not also keep it in a JSON file (or header file) as part of the codebase? pushing it from Jenkins is very awkward to my mind. |
another argument (and maybe the strongest for my mind)- when you browse the code (or checkout old commit), you can not see what version are you looking at. |
Just FYI, every release is tagged so you can always find out what version you're looking at with This is not an argument against your suggestion, just thought you might like to know! |
Related to #90, prompted by discussion in #64:
Explore this option.
The text was updated successfully, but these errors were encountered: