Deploying Maven artifacts to GitHub packages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Deploying Maven artifacts to GitHub packages

Joel Strasser

I setup a job in jenkins and now wanted to deploy to GitHub packages. The job fails with this error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project cartjets: ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact at.joestr:cartjets:jar:shaded:0.1.43-20200705.013310-2 from/to github-joestr-repo ( Failed to transfer file: Return code is: 422, ReasonPhrase: Unprocessable Entity. -> [Help 1]

The shaded artifact is online though.

Running the same Maven command locally results with no error.

Is this a problem with Jenkins, Maven or GitHub? (or me)?


You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit