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

CD failure on scm-api-plugin #3297

Closed
jglick opened this issue Dec 15, 2022 · 2 comments
Closed

CD failure on scm-api-plugin #3297

jglick opened this issue Dec 15, 2022 · 2 comments

Comments

@jglick
Copy link

jglick commented Dec 15, 2022

Service(s)

Artifactory, GitHub

Summary

I am trying to release a bug fix in scm-api-plugin but deploy to Artifactory is consistently giving me a 401.

Reproduction steps

https://github.com/jenkinsci/scm-api-plugin/actions/runs/3707571020/jobs/6284149792

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy (default-deploy) on project scm-api: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:scm-api:pom:631.v9143df5b_e4a_a from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): authentication failed for https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/scm-api/631.v9143df5b_e4a_a/scm-api-631.v9143df5b_e4a_a.pom, status: 401 Unauthorized -> [Help 1]

https://github.com/jenkinsci/scm-api-plugin/settings/secrets/actions does contain a MAVEN_TOKEN (5h old).

@daniel-beck
Copy link

Please try again, RPU failed earlier due to an HTTP 503 from GitHub, so the secret was outdated (it runs every 3 hours, and tokens are valid for 4).

@jglick
Copy link
Author

jglick commented Dec 15, 2022

I used Re-run failed jobs. Interestingly, this picked up the commit from the original run, even though trunk has since moved on. Good in a way, except that this confused Release Drafter, so I needed to manually fix up https://github.com/jenkinsci/scm-api-plugin/releases/tag/631.v9143df5b_e4a_a. Anyway yes, deployment is now fixed, thanks!

@jglick jglick closed this as completed Dec 15, 2022
@lemeurherve lemeurherve removed the triage Incoming issues that need review label Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants