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

[java] Release pipeline does not fail on errors #248

Open
3 of 6 tasks
jonas-jonas opened this issue Jan 23, 2023 · 0 comments
Open
3 of 6 tasks

[java] Release pipeline does not fail on errors #248

jonas-jonas opened this issue Jan 23, 2023 · 0 comments
Labels
bug Something is not working.

Comments

@jonas-jonas
Copy link
Member

jonas-jonas commented Jan 23, 2023

Preflight checklist

Describe the bug

The maven release step for Kratos v0.11.1 failed with an error, but the pipeline did not fail.

Reproducing the bug

Relevant log output

No response

Relevant configuration

No response

Version

v0.11.1

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

    [INFO] --- nexus-staging-maven-plugin:1.6.7:deploy (injected-nexus-deploy) @ kratos-client ---
    [INFO] Performing local staging (local stagingDirectory="/tmp/kratos-client-java.HmoLzj/target/checkout/target/nexus-staging/staging")...
    [INFO]  + Using server credentials "ossrh" from Maven settings.
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  16.564 s
    [INFO] Finished at: 2023-01-14T11:50:17Z
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy (injected-nexus-deploy) on project kratos-client: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy failed: Nexus connection problem to URL [https://oss.sonatype.org/ ]: 503 - Service Unavailable -> [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/PluginExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.178 s
[INFO] Finished at: 2023-01-14T11:50:17Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project kratos-client: Maven execution failed, exit code: '1' -> [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
@jonas-jonas jonas-jonas added the bug Something is not working. label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant