-
Notifications
You must be signed in to change notification settings - Fork 19
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
New snapshot versions not correctly identified #3
Comments
I am not sure about supporting snapshots. From a CD traceability point of view, the revision of the package should be unambiguous. In a CD set up, every build is a potential release candidate - so I'd use first class revisions on packages. The only thing maven snapshots address (that I can think of) is helping the maven repo to conserve disk space. But this can be done with release artifacts as well by specifying a different cleanup policy. |
+1 to all your points @bagheera. I'd go further: snapshots are antithetical to doing On 30 October 2013 10:45, Sriram Narayan notifications@github.com wrote:
Jez Humble |
thanks @jezhumble |
I understand the points and completely agree (great book by the way Jez). Unfortunately, we've got a lot of tech debt and are early in a transition towards CD, and are looking at incremental steps to get there instead of a big bang approach. |
@unwdaniel sure, would you like to contribute a patch for that? Just send it as a pull request. I'd filter out snapshots as the first step in the getLatest method of RepositoryClient. |
Thanks @unwdaniel I think it makes sense to exclude snapshots. On 30 October 2013 13:15, unwdaniel notifications@github.com wrote:
Jez Humble |
Newer versions of the same snapshot are not being identified by the poller.
1.0.0-SNAPSHOT was pushed to nexus and the poller identified it correctly and started the pipeline. A second build rebuilt the same version number, and pushed it to nexus, but the poller ignored it as the version number matched. When polling nexus for all versions, SNAPSHOT versions must consider the "lastModified" timestamp included in the response, not just the version.
The text was updated successfully, but these errors were encountered: