Started by user Steve Millidge Running as Steve Millidge Agent basic-6g4wv is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-6g4wv" namespace: "jca" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.jca.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-6g4wv" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-6g4wv" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.jca.svc.cluster.local/jca/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-jca" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-6g4wv (basic) in workspace /home/jenkins/agent/workspace/jca-api-release-to-maven [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... The recommended git tool is: NONE using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/jca-api.git > git init /home/jenkins/agent/workspace/jca-api-release-to-maven # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jca-api.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_SSH to set credentials GitHub bot SSH [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/jca-api-release-to-maven@tmp/jenkins-gitclient-ssh11755449120494343602.key > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jca-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 74ae6924374cb23d951e1f57b1f35e7ece80cce3 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 74ae6924374cb23d951e1f57b1f35e7ece80cce3 # timeout=10 Commit message: "Merge pull request #131 from smillidge/update-transaction-api" > git rev-list --no-walk 3f426e5c3d6a1617d3ee8d37cc5072cf0a587c56 # timeout=10 [jca-api-release-to-maven] $ /bin/bash -ex /tmp/jenkins1517237605659205442.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}' ++ grep -v '^\[INFO\] Download' ++ mvn -B -B -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list + for id in $(mvnq -B ${NEXUS_PLUGIN_PARAMS} ${NEXUS_PLUGIN}:rc-list | awk '$1 ~ /\[INFO\]/ && $2 ~ /^'"${name}"'\-[0-9]+$/ {print $2}') + echo 'Releasing jakartaresource-1008' Releasing jakartaresource-1008 + mvnq -DstagingRepositoryId=jakartaresource-1008 -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release + mvn -B -DstagingRepositoryId=jakartaresource-1008 -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] Reactor Build Order: [INFO] [INFO] jakarta.resource API [jar] [INFO] jakarta.resource project [pom] [INFO] [INFO] --------------< org.eclipse.ee4j.jca-api:jca-api-parent >--------------- [INFO] Building jakarta.resource project 2.1.0-SNAPSHOT [1/2] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) @ jca-api-parent --- [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.21-02 and edition "Professional" [INFO] RC-Releasing staging repository with IDs=[jakartaresource-1008] Waiting for operation to complete... .. [INFO] Released [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for jakarta.resource project 2.1.0-SNAPSHOT: [INFO] [INFO] jakarta.resource API ............................... SKIPPED [INFO] jakarta.resource project ........................... SUCCESS [ 4.831 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.326 s [INFO] Finished at: 2022-05-19T08:52:14Z [INFO] ------------------------------------------------------------------------ + for id in $(mvnq -B ${NEXUS_PLUGIN_PARAMS} ${NEXUS_PLUGIN}:rc-list | awk '$1 ~ /\[INFO\]/ && $2 ~ /^'"${name}"'\-[0-9]+$/ {print $2}') + echo 'Releasing jakartaresource-1012' Releasing jakartaresource-1012 + mvnq -DstagingRepositoryId=jakartaresource-1012 -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release + mvn -B -DstagingRepositoryId=jakartaresource-1012 -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] Reactor Build Order: [INFO] [INFO] jakarta.resource API [jar] [INFO] jakarta.resource project [pom] [INFO] [INFO] --------------< org.eclipse.ee4j.jca-api:jca-api-parent >--------------- [INFO] Building jakarta.resource project 2.1.0-SNAPSHOT [1/2] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) @ jca-api-parent --- [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.21-02 and edition "Professional" [INFO] RC-Releasing staging repository with IDs=[jakartaresource-1012] Waiting for operation to complete... .. [INFO] Released [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for jakarta.resource project 2.1.0-SNAPSHOT: [INFO] [INFO] jakarta.resource API ............................... SKIPPED [INFO] jakarta.resource project ........................... SUCCESS [ 4.879 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.362 s [INFO] Finished at: 2022-05-19T08:52:21Z [INFO] ------------------------------------------------------------------------ Finished: SUCCESS