Hi,

I am trying to publish/deploy my first plugin to Jenkins Artifactory manually, but I am always getting a 401 Unauthorized back.

Plugin: Gamekins (https://github.com/jenkinsci/gamekins-plugin)
Artifactory user: straubin

I followed the official guideline on how to perform a release manually (https://www.jenkins.io/doc/developer/publishing/releasing-manually/), even if it seems a bit outdated (another server id generated by Artifactory for example).

Here is the error message:

    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  01:29 min
    [INFO] Finished at: 2022-03-02T08:49:01+01:00
    [INFO] ------------------------------------------------------------------------     [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project gamekins: Failed to deploy artifacts: Could not transfer artifact org.gamekins:gamekins:hpi:0.4.2 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Transfer failed for https://repo.jenkins-ci.org/releases/org/gamekins/gamekins/0.4.2/gamekins-0.4.2.hpi 401 Unauthorized -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:     [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:45 min
[INFO] Finished at: 2022-03-02T08:49:01+01:00
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project gamekins: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]

If you need more information, I will be happy to provide it. Thank you in advance for helping!

Kind regards
Philipp

--
Philipp Straubinger
Research Assistant
Chair of Software Engineering II
Faculty of Computer Science and Mathematics
University of Passau

Room: IM 109
Phone: +49 851 509-4095

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3379b402-2282-67b3-bdb0-9277a4409778%40uni-passau.de.

Reply via email to