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

Maven artifact snapshot version error #263

Closed
rashedkvm opened this issue Mar 5, 2024 · 0 comments · Fixed by #264
Closed

Maven artifact snapshot version error #263

rashedkvm opened this issue Mar 5, 2024 · 0 comments · Fixed by #264
Assignees
Labels
bug Something isn't working

Comments

@rashedkvm
Copy link
Member

Bug description
Maven artifact snapshot version error when the requested version is: 1.0.0-feature-updates-SNAPSHOT. but it's just stripping off anything after 1.0.0 and setting it to 1.0.0-SNAPSHOT.

Expected behavior
Maven artifact snapshot version with: 1.0.0-feature-updates-SNAPSHOT should not fail processing
Steps to reproduce the bug

Version (include the SHA if the version is not obvious)

  • v0.8.3

Relevant Debug Output (Logs, etc)

status:
  conditions:
  - lastTransitionTime: "2024-03-04T18:02:10Z"
    message: Maven artifact checksum file not found (HTTP 404) at URL "https://build-artifactory.eng.vmware.com/artifactory/com/example/demo/0.0.3-SNAPSHOT/demo-0.0.3-SNAPSHOT.jar.sha1".
    reason: RemoteError
    status: "False"
    type: ArtifactAvailable
  - lastTransitionTime: "2024-03-04T18:02:10Z"
    message: Resolved version "0.0.3-features-update-SNAPSHOT" for artifact "https://build-artifactory.eng.vmware.com/artifactory/example/demo/0.0.3-SNAPSHOT/demo-0.0.3-SNAPSHOT.jar"
    reason: Resolved
    status: "True"
    type: ArtifactVersionResolved
  - lastTransitionTime: "2024-03-04T18:02:10Z"
    message: Maven artifact checksum file not found (HTTP 404) at URL "https://build-artifactory.eng.vmware.com/artifactory/com/example/demo/0.0.3-SNAPSHOT/demo-0.0.3-SNAPSHOT.jar.sha1".
    reason: RemoteError
    status: "False"
    type: Ready
  observedGeneration: 1
  • Maven Coordinates passed in workload.yml
  spec:
   params:
   - name: maven_repository_url
    value: https://artifactory.penske.com/artifactory/cf-mvn-development-local
  value:
   artifactId: sample-python-web-app
   groupId: com.penske.cicd
   type: zip
   version: 1.0.0-feature-updates-SNAPSHOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant