FailedConsole Output

Started by user Tom Jenkinson
Running as Tom Jenkinson
Agent default-agent-40hp4 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-40hp4"
spec:
  containers:
  - env:
    - name: "MAVEN_OPTS"
      value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.jta.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-40hp4"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-40hp4"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jta.svc.cluster.local/jta/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:5d06ebec6e9dffc44fb41009a51d085a83944a23f651416531b960143d186340"
    imagePullPolicy: "IfNotPresent"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "toolchains-xml"
      readOnly: true
      subPath: "toolchains.xml"
    - 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: "settings-security-xml"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - name: "settings-security-xml"
    secret:
      items:
      - key: "settings-security.xml"
        path: "settings-security.xml"
      secretName: "m2-secret-dir"
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-jta"
      readOnly: true
  - configMap:
      items:
      - key: "toolchains.xml"
        path: "toolchains.xml"
      name: "m2-dir"
    name: "toolchains-xml"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - name: "settings-xml"
    secret:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on default-agent-40hp4 in workspace /home/jenkins/agent/workspace/Nexus-Staging
[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-paJq0fknvEkJ/agent.58
SSH_AGENT_PID=60
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/Nexus-Staging@tmp/private_key_6109035393275281677.key (/home/jenkins/agent/workspace/Nexus-Staging@tmp/private_key_6109035393275281677.key)
[ssh-agent] Using credentials jta-bot (GitHub bot SSH)
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/jta-api.git
 > git init /home/jenkins/agent/workspace/Nexus-Staging # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jta-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jta-api.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@github.com:eclipse-ee4j/jta-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/jta-api.git # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jta-api.git
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jta-api.git +refs/heads/master:refs/remotes/origin/master
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision a02b56b1d1da5ebc0b05259ce8af489e47493017 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a02b56b1d1da5ebc0b05259ce8af489e47493017
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master a02b56b1d1da5ebc0b05259ce8af489e47493017
Commit message: "Updated to include the LICENCE.md and NOTICE.md files from the project root"
 > git rev-list --no-walk 30d4fd7fd3d4a077993c6724620af1f442108ccd # timeout=10
[Nexus-Staging] $ /bin/bash -ex /tmp/jenkins8067221739602449231.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
+ VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.7
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0
+ grep '<version>' pom.xml
+ grep SNAPSHOT
    <version>2.0.0-SNAPSHOT</version>
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version
++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$'
+ SNAPSHOT_VERSION=2.0.0-SNAPSHOT
+ '[' -z 2.0.0-RC1 ']'
+ '[' -z 2.0.0-SNAPSHOT ']'
+ RELEASE_TAG=2.0.0-RC1-staging
+ RELEASE_BRANCH=RELEASE-2.0.0-RC1
+ echo 'Current version: 2.0.0-SNAPSHOT'
Current version: 2.0.0-SNAPSHOT
+ echo 'Release version: 2.0.0-RC1'
Release version: 2.0.0-RC1
+ echo 'Next version:    2.0.0-SNAPSHOT'
Next version:    2.0.0-SNAPSHOT
+ echo 'Release tag:     2.0.0-RC1-staging'
Release tag:     2.0.0-RC1-staging
+ '[' -z 2.0.0-SNAPSHOT -o -z 2.0.0-RC1 -o -z 2.0.0-SNAPSHOT ']'
+ '[' true = true ']'
+ echo '-[ Dry run turned on ]----------------------------------------------------------'
-[ Dry run turned on ]----------------------------------------------------------
+ MVN_DEPLOY_ARGS=install
+ echo '-[ Skipping GitHub branch checks ]--------------------------------------'
-[ Skipping GitHub branch checks ]--------------------------------------
+ git branch --delete RELEASE-2.0.0-RC1
error: branch 'RELEASE-2.0.0-RC1' not found.
+ git checkout -b RELEASE-2.0.0-RC1
Switched to a new branch 'RELEASE-2.0.0-RC1'
+ git tag --delete 2.0.0-RC1-staging
error: tag '2.0.0-RC1-staging' not found.
+ git config --global user.email jta-bot@eclipse.org
+ git config --global user.name 'Eclipse JTA Bot'
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: key 9B26CED3E3BA51C3: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 9B26CED3E3BA51C3: public key "Eclipse Project for JTA <jta-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 9B26CED3E3BA51C3: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: no ultimately trusted keys found
++ gpg --list-keys --with-colons
++ awk -F: '/fpr:/ {print $10}'
++ sort -u
+ for fpr in $(gpg --list-keys --with-colons  | awk -F: '/fpr:/ {print $10}' | sort -u)
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key 1A2A6D7F079CF627566ABD869B26CED3E3BA51C3 trust
Secret subkeys are available.

pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ unknown] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ unknown] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu


pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ unknown] (1). Eclipse Project for JTA <jta-dev@eclipse.org>
Please note that the shown key validity is not necessarily correct
unless you restart the program.

+ for fpr in $(gpg --list-keys --with-colons  | awk -F: '/fpr:/ {print $10}' | sort -u)
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key 47EF0EC60C210BC6DFAA5819B7AE15C15C321C44 trust
Secret subkeys are available.

gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2023-09-28
pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ultimate] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ultimate] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu


pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ultimate] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ ARTIFACT_ID=jakarta.transaction-parent
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ GROUP_ID=jakarta.transaction
+ STAGING_DESC=jakarta.transaction:jakarta.transaction-parent:2.0.0-RC1
++ echo jakarta.transaction:jakarta.transaction-parent:2.0.0-RC1
++ sed -e 's/\./\\\./g'
+ STAGING_KEY='jakarta\.transaction:jakarta\.transaction-parent:2\.0\.0-RC1'
+ '[' false = true ']'
+ echo '-[ Set release version ]--------------------------------------------------------'
-[ Set release version ]--------------------------------------------------------
+ mvn -U -C -B -Pstaging -DnewVersion=2.0.0-RC1 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] javax.transaction API                                              [jar]
[INFO] Jakarta transactions Parent                                        [pom]
[INFO] 
[INFO] ------------< jakarta.transaction:jakarta.transaction-api >-------------
[INFO] Building javax.transaction API 2.0.0-SNAPSHOT                      [1/2]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.transaction-api ---
[INFO] 
[INFO] -----------< jakarta.transaction:jakarta.transaction-parent >-----------
[INFO] Building Jakarta transactions Parent 2.0.0-SNAPSHOT                [2/2]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.transaction-parent ---
[INFO] 
[INFO] -----------< jakarta.transaction:jakarta.transaction-parent >-----------
[INFO] Building Jakarta transactions Parent 2.0.0-SNAPSHOT                [3/2]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.transaction-parent ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/Nexus-Staging
[INFO] Processing change of jakarta.transaction:jakarta.transaction-parent:2.0.0-SNAPSHOT -> 2.0.0-RC1
[INFO] Processing jakarta.transaction:jakarta.transaction-parent
[INFO]     Updating project jakarta.transaction:jakarta.transaction-parent
[INFO]         from version 2.0.0-SNAPSHOT to 2.0.0-RC1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jakarta transactions Parent 2.0.0-SNAPSHOT:
[INFO] 
[INFO] javax.transaction API .............................. SUCCESS [  2.794 s]
[INFO] Jakarta transactions Parent ........................ SUCCESS [ 27.443 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  31.810 s
[INFO] Finished at: 2020-02-18T15:27:32Z
[INFO] ------------------------------------------------------------------------
+ mvn -U -C -B -Pstaging -DnewVersion=2.0.0-RC1 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set -f api/pom.xml
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for jakarta.transaction:jakarta.transaction-api:jar:2.0.0-SNAPSHOT
[WARNING] 'parent.relativePath' of POM jakarta.transaction:jakarta.transaction-api:2.0.0-SNAPSHOT (/home/jenkins/agent/workspace/Nexus-Staging/api/pom.xml) points at jakarta.transaction:jakarta.transaction-parent instead of org.eclipse.ee4j:project, please verify your project structure @ line 22, column 13
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------< jakarta.transaction:jakarta.transaction-api >-------------
[INFO] Building javax.transaction API 2.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.transaction-api ---
[INFO] 
[INFO] ------------< jakarta.transaction:jakarta.transaction-api >-------------
[INFO] Building javax.transaction API 2.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.transaction-api ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/Nexus-Staging
[INFO] Processing change of jakarta.transaction:jakarta.transaction-api:2.0.0-SNAPSHOT -> 2.0.0-RC1
[INFO] Processing jakarta.transaction:jakarta.transaction-api
[INFO]     Updating project jakarta.transaction:jakarta.transaction-api
[INFO]         from version 2.0.0-SNAPSHOT to 2.0.0-RC1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.492 s
[INFO] Finished at: 2020-02-18T15:27:34Z
[INFO] ------------------------------------------------------------------------
+ echo '-[ Commit modified pom.xml files ]----------------------------------------------'
-[ Commit modified pom.xml files ]----------------------------------------------
++ git status
++ grep -E 'modified:.*pom\.xml'
++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//'
+ POM_FILES='api/pom.xml
pom.xml'
+ git add api/pom.xml pom.xml
+ git commit -m 'Prepare release jakarta.transaction:jakarta.transaction-parent:2.0.0-RC1'
[RELEASE-2.0.0-RC1 91ee854] Prepare release jakarta.transaction:jakarta.transaction-parent:2.0.0-RC1
 2 files changed, 2 insertions(+), 2 deletions(-)
+ echo '-[ Drop old staging repository deployments ]------------------------------------'
-[ Drop old staging repository deployments ]------------------------------------
++ mvn -B nexus-staging:rc-list
++ egrep '^\[INFO\] [A-Z,a-z,-]+-[0-9]+\s+[A-Z]+\s+jakarta\.transaction:jakarta\.transaction-parent:2\.0\.0-RC1'
++ awk '{print $2}'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ echo '-[ Deploy artifacts to staging repository ]-------------------------------------'
-[ Deploy artifacts to staging repository ]-------------------------------------
+ mvn -U -C -B -DskipTests -Ddoclint=none -Poss-release,staging -DstagingDescription=jakarta.transaction:jakarta.transaction-parent:2.0.0-RC1 clean install -f api/pom.xml
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for jakarta.transaction:jakarta.transaction-api:jar:2.0.0-RC1
[WARNING] 'parent.relativePath' of POM jakarta.transaction:jakarta.transaction-api:2.0.0-RC1 (/home/jenkins/agent/workspace/Nexus-Staging/api/pom.xml) points at jakarta.transaction:jakarta.transaction-parent instead of org.eclipse.ee4j:project, please verify your project structure @ line 22, column 13
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 164, column 29
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ------------< jakarta.transaction:jakarta.transaction-api >-------------
[INFO] Building javax.transaction API 2.0.0-RC1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.transaction-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ jakarta.transaction-api ---
[INFO] 
[INFO] --- spec-version-maven-plugin:2.0:set-spec-properties (default) @ jakarta.transaction-api ---
[INFO] 
[INFO] -- spec properties --
[INFO] spec.implementation.version = 2.0.0-RC1
[INFO] spec.specification.version = 2.0
[INFO] spec.bundle.symbolic-name = jakarta.transaction-api
[INFO] spec.bundle.spec.version = 2.0
[INFO] spec.extension.name = javax.transaction
[INFO] spec.bundle.version = 2.0.0-RC1
[INFO] 
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:add-resource (add-resource) @ jakarta.transaction-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jakarta.transaction-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ jakarta.transaction-api ---
[INFO] Compiling 18 source files to /home/jenkins/agent/workspace/Nexus-Staging/api/target/classes
[INFO] 
[INFO] --- maven-bundle-plugin:1.4.3:manifest (bundle-manifest) @ jakarta.transaction-api ---
[WARNING] Warning in manifest for jakarta.transaction:jakarta.transaction-api:jar:2.0.0-RC1 : Superfluous export-package instructions: [jakarta]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jakarta.transaction-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/Nexus-Staging/api/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ jakarta.transaction-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jakarta.transaction-api ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jakarta.transaction-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/Nexus-Staging/api/target/jakarta.transaction-api-2.0.0-RC1.jar
[INFO] 
[INFO] --- spec-version-maven-plugin:2.0:check-module (default) @ jakarta.transaction-api ---

[ jakarta.transaction:jakarta.transaction-api:2.0.0-RC1 ]
{ groupIdPrefix=jakarta. spec-version=2.0 apiPackage=javax.transaction API final spec-impl-version=2.0.0-RC1 }
- WARNING: Bundle-Version (2.0.0.RC1) should be 2.0.0-RC1

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  42.417 s
[INFO] Finished at: 2020-02-18T15:28:26Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.build:spec-version-maven-plugin:2.0:check-module (default) on project jakarta.transaction-api: spec verification failed. -> [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/MojoFailureException
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 60 killed;
[ssh-agent] Stopped.
Archiving artifacts
Finished: FAILURE