Skip to content
Success

Console Output

Started by user Dmitry Kornilov
Rebuilds build #13
Running as Dmitry Kornilov
Agent basic-sf17t is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-sf17t"
  namespace: "jaf"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.jaf.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-sf17t"
    - 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-sf17t"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jaf.svc.cluster.local/jaf/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3"
    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-jaf"
      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-sf17t (basic) in workspace /home/jenkins/agent/workspace/activation-build-stage
[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-ezvEIXYW3pTo/agent.56
SSH_AGENT_PID=58
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/activation-build-stage@tmp/private_key_10661572186065190790.key (/home/jenkins/agent/workspace/activation-build-stage@tmp/private_key_10661572186065190790.key)
[ssh-agent] Using credentials jaf-bot (GitHub bot SSH)
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:jakartaee/jaf-api.git
 > git init /home/jenkins/agent/workspace/activation-build-stage # timeout=10
Fetching upstream changes from git@github.com:jakartaee/jaf-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/activation-build-stage@tmp/jenkins-gitclient-ssh6834770791932537663.key
Verifying host key using known hosts file
 > git fetch --tags --force --progress -- git@github.com:jakartaee/jaf-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:jakartaee/jaf-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 024f612572a470c8ec14e94a9be06b0a1e2bd12f (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 024f612572a470c8ec14e94a9be06b0a1e2bd12f # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 024f612572a470c8ec14e94a9be06b0a1e2bd12f # timeout=10
Commit message: "minor tweak to osgi requirements"
 > git rev-list --no-walk 7894db2871c0c7f7d0fbc7eca6a9814d6054f633 # timeout=10
[activation-build-stage] $ /bin/bash -ex /tmp/jenkins6754521291408325230.sh
+ TOOLS_PREFIX=/opt/tools
+ MVN_HOME=/opt/tools/apache-maven/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/java/openjdk/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
+ cd api
+ grep '<version>' pom.xml
+ grep SNAPSHOT
    <version>2.1.1-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.1.1-SNAPSHOT
+ '[' -z 2.1.1 ']'
+ '[' -z 2.1.2-SNAPSHOT ']'
+ RELEASE_TAG=2.1.1
+ RELEASE_BRANCH=2.1.1-RELEASE
+ echo 'Current version: 2.1.1-SNAPSHOT'
Current version: 2.1.1-SNAPSHOT
+ echo 'Release version: 2.1.1'
Release version: 2.1.1
+ echo 'Next version:    2.1.2-SNAPSHOT'
Next version:    2.1.2-SNAPSHOT
+ echo 'Release branch:  2.1.1-RELEASE'
Release branch:  2.1.1-RELEASE
+ echo 'Release tag:     2.1.1'
Release tag:     2.1.1
+ '[' -z 2.1.1-SNAPSHOT -o -z 2.1.1 -o -z 2.1.2-SNAPSHOT ']'
+ '[' false = true ']'
+ MVN_DEPLOY_ARGS=deploy
++ git remote
+ GIT_ORIGIN=origin
+ echo '-[ Prepare branch ]-------------------------------------------------------------'
-[ Prepare branch ]-------------------------------------------------------------
++ git branch -r
++ grep 'origin/2.1.1-RELEASE$'
+ [[ -n   origin/2.1.1-RELEASE ]]
+ '[' true = true ']'
+ echo 'origin/2.1.1-RELEASE branch already exists, deleting'
origin/2.1.1-RELEASE branch already exists, deleting
+ git push --delete origin 2.1.1-RELEASE
To github.com:jakartaee/jaf-api.git
 - [deleted]         2.1.1-RELEASE
+ true
+ echo '-[ Release tag cleanup ]--------------------------------------------------------'
-[ Release tag cleanup ]--------------------------------------------------------
++ git tag
++ grep '2.1.1$'
+ [[ 2.1.1 == 2.1.1 ]]
+ '[' true = true ']'
+ echo '2.1.1 tag already exists, deleting'
2.1.1 tag already exists, deleting
+ git push --delete origin 2.1.1
To github.com:jakartaee/jaf-api.git
 - [deleted]         2.1.1
+ true
+ git branch --delete 2.1.1-RELEASE
error: branch '2.1.1-RELEASE' not found.
+ git checkout -b 2.1.1-RELEASE
Switched to a new branch '2.1.1-RELEASE'
+ git tag --delete 2.1.1
Deleted tag '2.1.1' (was faaf67d)
+ true
+ git config --global user.email jaf-bot@eclipse.org
+ git config --global user.name 'Eclipse JAF Bot'
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: key 3A1959EEF8726006: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 3A1959EEF8726006: public key "Eclipse Project for JAF <jaf-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 3A1959EEF8726006: 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 6DD3B8C64EF75253BEB2C53AD908A43FB7EC07AC trust
Secret subkeys are available.

pub  rsa4096/3A1959EEF8726006
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/D908A43FB7EC07AC
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Project for JAF <jaf-dev@eclipse.org>

pub  rsa4096/3A1959EEF8726006
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/D908A43FB7EC07AC
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Project for JAF <jaf-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/3A1959EEF8726006
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/D908A43FB7EC07AC
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Project for JAF <jaf-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 CAE38BC93D90B852D88465DD3A1959EEF8726006 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-10-02
pub  rsa4096/3A1959EEF8726006
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/D908A43FB7EC07AC
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Project for JAF <jaf-dev@eclipse.org>

pub  rsa4096/3A1959EEF8726006
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/D908A43FB7EC07AC
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Project for JAF <jaf-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/3A1959EEF8726006
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/D908A43FB7EC07AC
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Project for JAF <jaf-dev@eclipse.org>

++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
+ ARTIFACT_ID=jakarta.activation-api
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
+ GROUP_ID=jakarta.activation
+ STAGING_DESC=jakarta.activation:jakarta.activation-api:2.1.1
++ echo jakarta.activation:jakarta.activation-api:2.1.1
++ sed -e 's/\./\\\./g'
+ STAGING_KEY='jakarta\.activation:jakarta\.activation-api:2\.1\.1'
+ echo '-[ Set release version ]--------------------------------------------------------'
-[ Set release version ]--------------------------------------------------------
+ mvn -U -C -B -DnewVersion=2.1.1 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------< jakarta.activation:jakarta.activation-api >--------------
[INFO] Building Jakarta Activation API 2.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.activation-api ---
[INFO] 
[INFO] -------------< jakarta.activation:jakarta.activation-api >--------------
[INFO] Building Jakarta Activation API 2.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.activation-api ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/activation-build-stage/api
[INFO] Processing change of jakarta.activation:jakarta.activation-api:2.1.1-SNAPSHOT -> 2.1.1
[INFO] Processing jakarta.activation:jakarta.activation-api
[INFO]     Updating project jakarta.activation:jakarta.activation-api
[INFO]         from version 2.1.1-SNAPSHOT to 2.1.1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.058 s
[INFO] Finished at: 2022-12-23T11:37:55Z
[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=pom.xml
+ git add pom.xml
+ git commit -m 'Prepare release jakarta.activation:jakarta.activation-api:2.1.1'
[2.1.1-RELEASE 5862d5e] Prepare release jakarta.activation:jakarta.activation-api:2.1.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ 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\.activation:jakarta\.activation-api:2\.1\.1$'
++ awk '{print $2}'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
+ for staging_key in $(mvn -B nexus-staging:rc-list | egrep "^\[INFO\] [A-Z,a-z,-]+-[0-9]+\s+[A-Z]+\s+${STAGING_KEY}\$" | awk '{print $2}')
+ echo 'Repository ID: jakartaactivation-1016'
Repository ID: jakartaactivation-1016
+ mvn -U -C -B -DstagingRepositoryId=jakartaactivation-1016 nexus-staging::rc-drop
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------< jakarta.activation:jakarta.activation-api >--------------
[INFO] Building Jakarta Activation API 2.1.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.8:rc-drop (default-cli) @ jakarta.activation-api ---
[INFO]  + Using server credentials "ossrh" from Maven settings.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]  * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.21-02 and edition "Professional"
[INFO] RC-Dropping staging repository with IDs=[jakartaactivation-1016]

Waiting for operation to complete...
..

[INFO] Dropped
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.381 s
[INFO] Finished at: 2022-12-23T11:38:11Z
[INFO] ------------------------------------------------------------------------
+ echo '-[ Deploy artifacts to staging repository ]-------------------------------------'
-[ Deploy artifacts to staging repository ]-------------------------------------
+ mvn -U -C -B -DskipTests -Ddoclint=none -Poss-release -DstagingDescription=jakarta.activation:jakarta.activation-api:2.1.1 clean deploy
[INFO] Scanning for projects...
[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.activation:jakarta.activation-api >--------------
[INFO] Building Jakarta Activation API 2.1.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.activation-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven) @ jakarta.activation-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-version) @ jakarta.activation-api ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:3.0.0:create (validate) @ jakarta.activation-api ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/activation-build-stage/api' && 'git' 'rev-parse' '--verify' '--short=7' 'HEAD'
[INFO] Working directory: /home/jenkins/agent/workspace/activation-build-stage/api
[INFO] Storing buildNumber: 5862d5e at timestamp: 1671795503284
[INFO] Storing buildScmBranch: 2.1.1-RELEASE
[INFO] 
[INFO] --- build-helper-maven-plugin:3.2.0:timestamp-property (currentyear-property) @ jakarta.activation-api ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.2.0:add-resource (add-resource) @ jakarta.activation-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jakarta.activation-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 2 resources
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ jakarta.activation-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 29 source files to /home/jenkins/agent/workspace/activation-build-stage/api/target/classes
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (base-compile) @ jakarta.activation-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 28 source files to /home/jenkins/agent/workspace/activation-build-stage/api/target/classes
[INFO] 
[INFO] --- maven-bundle-plugin:5.1.8:manifest (bundle-manifest) @ jakarta.activation-api ---
[INFO] No MANIFEST.MF file found, generating manifest.
[INFO] Writing manifest: /home/jenkins/agent/workspace/activation-build-stage/api/target/classes/META-INF/MANIFEST.MF
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jakarta.activation-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/activation-build-stage/api/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ jakarta.activation-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jakarta.activation-api ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ jakarta.activation-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.jar
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ jakarta.activation-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-sources.jar
[INFO] 
[INFO] --- maven-javadoc-plugin:3.4.1:jar (attach-javadocs) @ jakarta.activation-api ---
[INFO] No previous run data found, generating javadoc.
[INFO] 
2 warnings
[WARNING] Javadoc Warnings
[WARNING] /home/jenkins/agent/workspace/activation-build-stage/api/src/main/java/jakarta/activation/MimeType.java:262: warning - in class jakarta.activation.MimeType, missing @serialData tag in method writeExternal.
[WARNING] /home/jenkins/agent/workspace/activation-build-stage/api/src/main/java/jakarta/activation/MimeType.java:262: warning - in class jakarta.activation.MimeType, missing @serialData tag in method writeExternal.
[INFO] Building jar: /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-javadoc.jar
[INFO] 
[INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ jakarta.activation-api ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ jakarta.activation-api ---
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.jar to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.jar
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/pom.xml to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.pom
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-sources.jar to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-sources.jar
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-javadoc.jar to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-javadoc.jar
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.jar.asc to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.pom.asc to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-sources.jar.asc to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-sources.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-javadoc.jar.asc to /home/jenkins/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-javadoc.jar.asc
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ jakarta.activation-api ---
[INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging")...
[INFO]  + Using server credentials "ossrh" from Maven settings.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]  * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.21-02 and edition "Professional"
[INFO]  * Using staging profile ID "3ced2c397e0e" (matched by Nexus).
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.jar to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.jar
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/pom.xml to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.pom
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-sources.jar to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-sources.jar
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-javadoc.jar to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-javadoc.jar
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.jar.asc to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1.pom.asc to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-sources.jar.asc to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-sources.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/activation-build-stage/api/target/jakarta.activation-api-2.1.1-javadoc.jar.asc to /home/jenkins/agent/workspace/activation-build-stage/api/target/nexus-staging/staging/3ced2c397e0e/jakarta/activation/jakarta.activation-api/2.1.1/jakarta.activation-api-2.1.1-javadoc.jar.asc
[INFO] Performing remote staging...
[INFO] 
[INFO]  * Remote staging into staging profile ID "3ced2c397e0e"
[INFO]  * Created staging repository with ID "jakartaactivation-1017".
[INFO]  * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/jakartaactivation-1017
[INFO]  * Uploading locally staged artifacts to profile jakarta.activation
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "jakartaactivation-1017".

Waiting for operation to complete...
....

[INFO] Remote staged 1 repositories, finished with success.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  48.015 s
[INFO] Finished at: 2022-12-23T11:39:00Z
[INFO] ------------------------------------------------------------------------
+ echo '-[ Tag release ]----------------------------------------------------------------'
-[ Tag release ]----------------------------------------------------------------
+ git tag 2.1.1 -m 'Release jakarta.activation:jakarta.activation-api:2.1.1'
+ echo '-[ Set next snapshot version ]--------------------------------------------------'
-[ Set next snapshot version ]--------------------------------------------------
+ mvn -U -C -B -DnewVersion=2.1.2-SNAPSHOT -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------< jakarta.activation:jakarta.activation-api >--------------
[INFO] Building Jakarta Activation API 2.1.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.activation-api ---
[INFO] Deleting /home/jenkins/agent/workspace/activation-build-stage/api/target
[INFO] 
[INFO] -------------< jakarta.activation:jakarta.activation-api >--------------
[INFO] Building Jakarta Activation API 2.1.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.activation-api ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/activation-build-stage/api
[INFO] Processing change of jakarta.activation:jakarta.activation-api:2.1.1 -> 2.1.2-SNAPSHOT
[INFO] Processing jakarta.activation:jakarta.activation-api
[INFO]     Updating project jakarta.activation:jakarta.activation-api
[INFO]         from version 2.1.1 to 2.1.2-SNAPSHOT
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.167 s
[INFO] Finished at: 2022-12-23T11:39:03Z
[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=pom.xml
+ git add pom.xml
+ git commit -m 'Prepare next development cycle for 2.1.2-SNAPSHOT'
[2.1.1-RELEASE 5e8e161] Prepare next development cycle for 2.1.2-SNAPSHOT
 1 file changed, 1 insertion(+), 1 deletion(-)
+ '[' false = true ']'
+ echo '-[ Push branch and tag to GitHub ]----------------------------------------------'
-[ Push branch and tag to GitHub ]----------------------------------------------
+ git push origin 2.1.1-RELEASE
remote: 
remote: Create a pull request for '2.1.1-RELEASE' on GitHub by visiting:        
remote:      https://github.com/jakartaee/jaf-api/pull/new/2.1.1-RELEASE        
remote: 
To github.com:jakartaee/jaf-api.git
 * [new branch]      2.1.1-RELEASE -> 2.1.1-RELEASE
+ git push origin 2.1.1
To github.com:jakartaee/jaf-api.git
 * [new tag]         2.1.1 -> 2.1.1
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 58 killed;
[ssh-agent] Stopped.
Finished: SUCCESS