-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When changing the build number of buildInfo retrieved from a maven run, the artifacts on the resulting build in artifactory go 'missing'. The repo path shows 'No path found (externally resolved or deleted/overwritten)' although the artifacts do exist in the repository.
Then leaving the build number untouched, all works as expected
mvnBuildInfo = rtMaven.run pom: 'pom.xml', goals: '-B clean install' //when uncommenting below line, the buildInfo on artifactory gets messed up //mvnBuildInfo.number = mvnBuildInfo.number + "-mvn" server.publishBuildInfo buildInfo
I have seen a similar issue reported at https://github.com/jfrog/build-info/issues/131
jenkins version: 2.107.3
"artifactoryPluginVersion": "2.16.1"
I was troubleshooting a similar issue maven and jenkins today where the artifacts were deploying, they had links to the build, but the build had "No path found (externally resolved or deleted/overwritten)" and promotion from staging to release would fail. Turns out permissions on the staging repo were setup without "Annotate" and adding this permission fixed my issue.