-
Notifications
You must be signed in to change notification settings - Fork 49
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
check failed: exit status 22 #23
Comments
I agree up top. Its weird that you have .version.version but you cannot target a SNAPSHOT. Unfortunately, resources does not allow EDIT: Line 31 in 4543920
That line does not work for concourse. |
I've fixed the error reporting (
The statement about line 31 not working for Concourse is not correct. Concourse passes in the last known version of the resource as At this point I'm second guessing my decision to support both |
Agreed, I prefer the snapshots and releases to be separate resources in my pipelines for clarity. In the resources current state, it appears to be a necessity for the use case of a pipeline that is only using the resource for gets in order to retrieve a snapshot. |
@patrickcrocker I ended up doing an overhaul in my fork that included removing the snapshot_url param. Have you thought any further on removing it for this repo? |
Yes, and I'm getting ready to focus more effort on this resource (I've been focused on |
If you're ready to remove it now, I'd be happy to open a pull request. |
When the resource is used without a former put, e.g.:
And the
url
andsnapshot_url
are filled, like shown above, the resource uses theurl
to get the version from the maven-metadata.xml. Thesnapshot_url
will be ignored.Should this probably be documented?
When there is no
url
/.../maven-metadata.xml, it fails to get the version via curl, even if there would be asnapshot_url
/.../maven-metadata.xmlThis results in the following error
The error message in check (line 76) is not shown and debugging is not that easy.
The text was updated successfully, but these errors were encountered: