Skip to content

Console Output

Started by user James Krueger
Running as SYSTEM
Agent default-java-z6s62 is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (): 

[EnvInject] - Loading node environment variables.
Building remotely on default-java-z6s62 in workspace /home/jenkins/workspace/nexus-release-by-project
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-7kYSvOT7N2SX/agent.82
SSH_AGENT_PID=84
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/nexus-release-by-project@tmp/private_key_5833854140144991077.key (/home/jenkins/workspace/nexus-release-by-project@tmp/private_key_5833854140144991077.key)
[ssh-agent] Using credentials jakartaee-stable-bot (GitHub Bot SSH)
provisioning config files...
copy managed file [settings-jakartaee-stable.xml] to file:/home/jenkins/.m2/settings.xml
copy managed file [settings-security.xml] to file:/home/jenkins/.m2/settings-security.xml
[nexus-release-by-project] $ /bin/sh -xe /tmp/jenkins6654303737226596608.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/oracle
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ NEXUS_PLUGIN=org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7
+ NEXUS_PLUGIN_PARAMS='-DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh'
+ echo 'Releasing repositoryID=jakartaxmlregistry-1006'
Releasing repositoryID=jakartaxmlregistry-1006
+ mvnq '-DstagingRepositoryId=jakartaxmlregistry-1006' '-DnexusUrl=https://oss.sonatype.org/' '-DserverId=ossrh' org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release
+ mvn -B '-DstagingRepositoryId=jakartaxmlregistry-1006' '-DnexusUrl=https://oss.sonatype.org/' '-DserverId=ossrh' org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release
+ grep -v '^\[INFO\] Download'
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) @ standalone-pom ---
[INFO]  + Using server credentials "ossrh" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.14-01 and edition "Professional"
[INFO] RC-Releasing staging repository with IDs=[jakartaxmlregistry-1006]

Waiting for operation to complete...
..

[ERROR] 
[ERROR] Nexus Staging Rules Failure Report
[ERROR] ==================================
[ERROR] 
[ERROR] Repository "jakartaxmlregistry-1006" failures
[ERROR]   Rule "RepositoryWritePolicy" failures
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/jakarta/xml/registry/xml.registry-api-parent/1.0.10/xml.registry-api-parent-1.0.10.pom'
[ERROR] 
[ERROR] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  53.982 s
[INFO] Finished at: 2019-09-09T15:14:00Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) on project standalone-pom: Could not perform action: there are failing staging rules! Staging rules failure! -> [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
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 84 killed;
[ssh-agent] Stopped.
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: SUCCESS