Open gounthar opened 2 months ago
More a missing feature than a bug
Error: Missing relative path in pom file preventing parent download
Looks correct according to https://github.com/jenkinsci/badge-plugin/blob/master/pom.xml#L7
I think it work if by chanche you have already the parent pom on your local cache. Which is probably not the case on gitpod
Solution would be to statically extract the parent version and install it via maven invoker
mvn dependency:get -Dartifact=org.jenkins-ci.plugins:plugin:4.87:pom -DremoteRepositories=https://repo.jenkins-ci.org/public/ -Dtransitive=false
Then we can apply the recipe to include the relative path
Thanks, I will have a look.👍
The proposed workaround does not work for me. 🤷
Fetching plugin code locally build-timestamp...
Missing relative path in pom file preventing parent download
Skipping plugin build-timestamp due to metadata/precondition errors. Check logs for more details.
*************
Plugin: badge
Error: Missing relative path in pom file preventing parent download
*************
*************
Plugin: build-timestamp
Error: Missing relative path in pom file preventing parent download
*************
Plugin Modernizer finished.
It's still the case today. 🤔
Jenkins and plugins versions report
What Operating System are you using (both controller, and any agents involved in the problem)?
GitPod
Reproduction steps
Expected Results
logs
Actual Results
error
Anything else?
No response
Are you interested in contributing a fix?
No response