Travis faliure: "sonatype-nexus-staging not found" during release #3868

Closed
romani opened this Issue Feb 26, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@romani
Member

romani commented Feb 26, 2017

This failure should be avoided https://travis-ci.org/checkstyle/checkstyle/jobs/205508035#L2724

Extra logic in travis should be added to skip build in case of version bump commit, as we do not do publishing from Travis yet (it is done from my local pc).

[INFO] Installing /home/travis/build/checkstyle/checkstyle/pom.xml to /home/travis/.m2/repository/com/puppycrawl/tools/checkstyle/7.6/checkstyle-7.6.pom
[INFO] Installing /home/travis/build/checkstyle/checkstyle/target/checkstyle-7.6-tests.jar to /home/travis/.m2/repository/com/puppycrawl/tools/checkstyle/7.6/checkstyle-7.6-tests.jar
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.7:deploy (injected-nexus-deploy) @ checkstyle ---
[INFO] Performing local staging (local stagingDirectory="/home/travis/build/checkstyle/checkstyle/target/nexus-staging/staging")...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.508 s
[INFO] Finished at: 2017-02-26T13:30:52+00:00
[INFO] Final Memory: 55M/399M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy (injected-nexus-deploy) on project checkstyle: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy failed: Server credentials with ID "sonatype-nexus-staging" not found! -> [Help 1]

romani added a commit that referenced this issue Feb 26, 2017

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani Feb 26, 2017

Member

fix is merged, will be tested on next release.

Member

romani commented Feb 26, 2017

fix is merged, will be tested on next release.

@romani romani closed this Feb 26, 2017

@romani romani added this to the 7.7 milestone Feb 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment