Started by user Alex Motley Agent default-java-vh18f is provisioned from template Kubernetes Pod Template Agent specification [Kubernetes Pod Template] (): [EnvInject] - Loading node environment variables. Building remotely on default-java-vh18f in workspace /home/jenkins/workspace/jca-api-release-to-maven [WS-CLEANUP] Deleting project workspace... [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-uIis2GzkmuL0/agent.77 SSH_AGENT_PID=79 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/workspace/jca-api-release-to-maven@tmp/private_key_7799813042103213504.key (/home/jenkins/workspace/jca-api-release-to-maven@tmp/private_key_7799813042103213504.key) [ssh-agent] Using credentials jca-bot (GitHub Bot SSH) Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/jca-api.git > git init /home/jenkins/workspace/jca-api-release-to-maven # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jca-api.git > git --version # timeout=10 using GIT_SSH to set credentials GitHub Bot SSH > git fetch --tags --progress git@github.com:eclipse-ee4j/jca-api.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@github.com:eclipse-ee4j/jca-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/jca-api.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jca-api.git using GIT_SSH to set credentials GitHub Bot SSH > git fetch --tags --progress git@github.com:eclipse-ee4j/jca-api.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/EE4J_8^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/EE4J_8^{commit} # timeout=10 Checking out Revision f01a54f5b99d178d5f54aa43271c8da0bca35930 (refs/remotes/origin/EE4J_8) > git config core.sparsecheckout # timeout=10 > git checkout -f f01a54f5b99d178d5f54aa43271c8da0bca35930 Commit message: "Merge pull request #21 from alexsm82/pom-update" > git rev-list --no-walk f01a54f5b99d178d5f54aa43271c8da0bca35930 # timeout=10 provisioning config files... copy managed file [settings-jca.xml] to file:/home/jenkins/.m2/settings.xml copy managed file [settings-security.xml] to file:/home/jenkins/.m2/settings-security.xml [jca-api-release-to-maven] $ /bin/bash -ex /tmp/jenkins7756265528137429614.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 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0 + NEXUS_PLUGIN=org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7 + NEXUS_PLUGIN_PARAMS='-DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh' ++ mvnq -B -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list-profiles ++ grep -v 'Central Bundles' ++ mvn -B -B -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list-profiles ++ awk '$3 == "BOTH" {print $4}' ++ grep -v '^\[INFO\] Download' + for name in $(mvnq -B ${NEXUS_PLUGIN_PARAMS} ${NEXUS_PLUGIN}:rc-list-profiles | grep -v 'Central Bundles' | awk '$3 == "BOTH" {print $4}') + name=jakartaresource ++ mvnq -B -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list ++ awk '$1 ~ /\[INFO\]/ && $2 ~ /^jakartaresource\-[0-9]+$/ {print $2}' ++ mvn -B -B -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list ++ grep -v '^\[INFO\] Download' + for id in $(mvnq -B ${NEXUS_PLUGIN_PARAMS} ${NEXUS_PLUGIN}:rc-list | awk '$1 ~ /\[INFO\]/ && $2 ~ /^'"${name}"'\-[0-9]+$/ {print $2}') + echo 'Releasing jakartaresource-1002' Releasing jakartaresource-1002 + mvnq -DstagingRepositoryId=jakartaresource-1002 -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release + mvn -B -DstagingRepositoryId=jakartaresource-1002 -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] ---------------< jakarta.resource:jakarta.resource-api >---------------- [INFO] Building javax.resource API 1.7.2-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) @ jakarta.resource-api --- [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.11-01 and edition "Professional" [INFO] RC-Releasing staging repository with IDs=[jakartaresource-1002] Waiting for operation to complete... ....... [INFO] Released [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 51.617 s [INFO] Finished at: 2018-11-30T16:35:53Z [INFO] ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 79 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