Started by user Lukas Jungmann
Rebuilds build #231
Running as Lukas Jungmann
Agent basic-43xnl is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-43xnl"
namespace: "jsonp"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.jsonp.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-43xnl"
- 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-43xnl"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.jsonp.svc.cluster.local/jsonp/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3107.v665000b_51092"
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-jsonp"
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-43xnl (basic) in workspace /home/jenkins/agent/workspace/jsonp-release
[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-gSwI0htIEzuD/agent.58
SSH_AGENT_PID=60
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/jsonp-release@tmp/private_key_5517622550796287302.key (/home/jenkins/agent/workspace/jsonp-release@tmp/private_key_5517622550796287302.key)
[ssh-agent] Using credentials jsonp-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/jsonp-api.git
> git init /home/jenkins/agent/workspace/jsonp-release # timeout=10
Fetching upstream changes from git@github.com:jakartaee/jsonp-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/jsonp-release@tmp/jenkins-gitclient-ssh7653703246395217407.key
Verifying host key using known hosts file
> git fetch --tags --force --progress -- git@github.com:jakartaee/jsonp-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@github.com:jakartaee/jsonp-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 080d0e0363e077ece2388b546a70640d80fb44b3 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 080d0e0363e077ece2388b546a70640d80fb44b3 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master 080d0e0363e077ece2388b546a70640d80fb44b3 # timeout=10
Commit message: "add 21-ea to gh action build"
> git rev-list --no-walk a75c9ab8455c4d04b787a6eb18fde5b855ba632c # timeout=10
[jsonp-release] $ /bin/bash -ex /tmp/jenkins1128229104816772566.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/openjdk
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/openjdk/jdk-11/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/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.2.0
+ API_DIR=/home/jenkins/agent/workspace/jsonp-release/api
+ IMPL_DIR=/home/jenkins/agent/workspace/jsonp-release
+ SPEC_DIR=/home/jenkins/agent/workspace/jsonp-release/spec
+ read_version SPEC /home/jenkins/agent/workspace/jsonp-release/spec
+ local VERSION_VAR=SPEC_VERSION
++ cd /home/jenkins/agent/workspace/jsonp-release/spec
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version
++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$'
+ local SNAPSHOT_VERSION=2.0-SNAPSHOT
+ '[' -z 2.1.0 ']'
+ local RELEASE_VERSION=2.1.0
+ echo 'SPEC Release Version: 2.1.0'
SPEC Release Version: 2.1.0
+ eval SPEC_RELEASE_VERSION=2.1.0
++ SPEC_RELEASE_VERSION=2.1.0
+ next_version SPEC 2.1.0
+ set -f
+ NEXT_COMPONENTS=(${RELEASE_VERSION//\./ })
+ local NEXT_COMPONENTS
+ local LAST_INDEX=2
+ local 'NEXT_COMPONENTS[2]=1'
+ local 'COMPONENTS_STR=2 1 1'
+ local NEXT_VERSION=2.1.1
+ local NEXT_SNAPSHOT=2.1.1-SNAPSHOT
+ echo 'SPEC Next Version: 2.1.1'
SPEC Next Version: 2.1.1
+ echo 'SPEC Next Snapshot: 2.1.1-SNAPSHOT'
SPEC Next Snapshot: 2.1.1-SNAPSHOT
+ eval SPEC_NEXT_VERSION=2.1.1
++ SPEC_NEXT_VERSION=2.1.1
+ eval SPEC_NEXT_SNAPSHOT=2.1.1-SNAPSHOT
++ SPEC_NEXT_SNAPSHOT=2.1.1-SNAPSHOT
+ read_version API /home/jenkins/agent/workspace/jsonp-release/api
+ local VERSION_VAR=API_VERSION
++ cd /home/jenkins/agent/workspace/jsonp-release/api
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version
++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$'
+ local SNAPSHOT_VERSION=2.1.2-SNAPSHOT
+ '[' -z 2.1.2 ']'
+ local RELEASE_VERSION=2.1.2
+ echo 'API Release Version: 2.1.2'
API Release Version: 2.1.2
+ eval API_RELEASE_VERSION=2.1.2
++ API_RELEASE_VERSION=2.1.2
+ next_version API 2.1.2
+ set -f
+ NEXT_COMPONENTS=(${RELEASE_VERSION//\./ })
+ local NEXT_COMPONENTS
+ local LAST_INDEX=2
+ local 'NEXT_COMPONENTS[2]=3'
+ local 'COMPONENTS_STR=2 1 3'
+ local NEXT_VERSION=2.1.3
+ local NEXT_SNAPSHOT=2.1.3-SNAPSHOT
+ echo 'API Next Version: 2.1.3'
API Next Version: 2.1.3
+ echo 'API Next Snapshot: 2.1.3-SNAPSHOT'
API Next Snapshot: 2.1.3-SNAPSHOT
+ eval API_NEXT_VERSION=2.1.3
++ API_NEXT_VERSION=2.1.3
+ eval API_NEXT_SNAPSHOT=2.1.3-SNAPSHOT
++ API_NEXT_SNAPSHOT=2.1.3-SNAPSHOT
+ '[' -z 2.1.2 ']'
+ '[' -z 2.1.0 ']'
+ RELEASE_BRANCH=2.1.2
+ RELEASE_TAG=2.1.2-RELEASE
+ '[' false = true ']'
+ MVN_DEPLOY_ARGS=deploy
++ git remote
+ GIT_ORIGIN=origin
+ echo '-[ Prepare branch ]-------------------------------------------------------------'
-[ Prepare branch ]-------------------------------------------------------------
++ git branch -r
++ grep 'origin/2.1.2$'
+ [[ -n origin/2.1.2 ]]
+ '[' true = true ']'
+ echo 'origin/2.1.2 branch already exists, deleting'
origin/2.1.2 branch already exists, deleting
+ git push --delete origin 2.1.2
To github.com:jakartaee/jsonp-api.git
- [deleted] 2.1.2
+ true
+ echo '-[ Release tag cleanup ]--------------------------------------------------------'
-[ Release tag cleanup ]--------------------------------------------------------
++ git ls-remote --tags origin
++ grep '2.1.2-RELEASE$'
+ [[ -n 3c16713e8f75860f8f801ba8f78281ff47bcc1c5 refs/tags/2.1.2-RELEASE ]]
+ '[' true = true ']'
+ echo '2.1.2-RELEASE tag already exists, deleting'
2.1.2-RELEASE tag already exists, deleting
+ git push --delete origin 2.1.2-RELEASE
To github.com:jakartaee/jsonp-api.git
- [deleted] 2.1.2-RELEASE
+ true
+ git branch --delete 2.1.2
error: branch '2.1.2' not found.
+ git checkout -b 2.1.2
Switched to a new branch '2.1.2'
+ git tag --delete 2.1.2-RELEASE
Deleted tag '2.1.2-RELEASE' (was 3c16713)
+ true
+ git config --global user.email jsonp-bot@eclipse.org
+ git config --global user.name 'Eclipse JSON-P Bot'
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 005B27E7CA8E530D: public key "Eclipse JSON-P Project <jsonp-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 005B27E7CA8E530D: secret key imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
++ 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 2DDF907434310592A49BC0C98F303857EBF3ADD5 trust
Secret subkeys are available.
pub rsa4096/005B27E7CA8E530D
created: 2018-07-27 expires: 2023-07-26 usage: SCEA
trust: unknown validity: unknown
ssb rsa4096/8F303857EBF3ADD5
created: 2018-07-27 expires: 2023-07-26 usage: S
[ unknown] (1). Eclipse JSON-P Project <jsonp-dev@eclipse.org>
pub rsa4096/005B27E7CA8E530D
created: 2018-07-27 expires: 2023-07-26 usage: SCEA
trust: unknown validity: unknown
ssb rsa4096/8F303857EBF3ADD5
created: 2018-07-27 expires: 2023-07-26 usage: S
[ unknown] (1). Eclipse JSON-P Project <jsonp-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/005B27E7CA8E530D
created: 2018-07-27 expires: 2023-07-26 usage: SCEA
trust: ultimate validity: unknown
ssb rsa4096/8F303857EBF3ADD5
created: 2018-07-27 expires: 2023-07-26 usage: S
[ unknown] (1). Eclipse JSON-P Project <jsonp-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 D58760A74BFDE983E890B455005B27E7CA8E530D 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-07-26
pub rsa4096/005B27E7CA8E530D
created: 2018-07-27 expires: 2023-07-26 usage: SCEA
trust: ultimate validity: ultimate
ssb rsa4096/8F303857EBF3ADD5
created: 2018-07-27 expires: 2023-07-26 usage: S
[ultimate] (1). Eclipse JSON-P Project <jsonp-dev@eclipse.org>
pub rsa4096/005B27E7CA8E530D
created: 2018-07-27 expires: 2023-07-26 usage: SCEA
trust: ultimate validity: ultimate
ssb rsa4096/8F303857EBF3ADD5
created: 2018-07-27 expires: 2023-07-26 usage: S
[ultimate] (1). Eclipse JSON-P Project <jsonp-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/005B27E7CA8E530D
created: 2018-07-27 expires: 2023-07-26 usage: SCEA
trust: ultimate validity: ultimate
ssb rsa4096/8F303857EBF3ADD5
created: 2018-07-27 expires: 2023-07-26 usage: S
[ultimate] (1). Eclipse JSON-P Project <jsonp-dev@eclipse.org>
+ read_mvn_id SPEC /home/jenkins/agent/workspace/jsonp-release/spec
+ local GROUP_ID=jakarta.jsonp
+ local ARTIFACT_ID=jsonp-api
+ echo 'SPEC Group ID: jakarta.jsonp'
SPEC Group ID: jakarta.jsonp
+ echo 'SPEC Artifact ID: jsonp-api'
SPEC Artifact ID: jsonp-api
+ eval SPEC_GROUP_ID=jakarta.jsonp
++ SPEC_GROUP_ID=jakarta.jsonp
+ eval SPEC_ARTIFACT_ID=jsonp-api
++ SPEC_ARTIFACT_ID=jsonp-api
+ API_GROUP_ID=jakarta.json
+ API_ARTIFACT_ID=jsonp
+ SPEC_STAGING_DESC=jakarta.jsonp:jsonp-api:2.1.0
++ echo jakarta.jsonp:jsonp-api:2.1.0
++ sed -e 's/\./\\\./g'
+ SPEC_STAGING_KEY='jakarta\.jsonp:jsonp-api:2\.1\.0'
+ API_STAGING_DESC=jakarta.json:jsonp:2.1.2
++ echo jakarta.json:jsonp:2.1.2
++ sed -e 's/\./\\\./g'
+ API_STAGING_KEY='jakarta\.json:jsonp:2\.1\.2'
+ echo '-[ SPEC release version ]-------------------------------------------------------'
-[ SPEC release version ]-------------------------------------------------------
+ echo '-[ API release version ]--------------------------------------------------------'
-[ API release version ]--------------------------------------------------------
+ set_version API /home/jenkins/agent/workspace/jsonp-release/api 2.1.2 jakarta.json jsonp ''
+ echo '--[ Set version ]---------------------------------------------------------------'
--[ Set version ]---------------------------------------------------------------
+ cd /home/jenkins/agent/workspace/jsonp-release/api
+ mvn -U -C -DnewVersion=2.1.2 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< jakarta.json:jakarta.json-api >--------------------
[INFO] Building Jakarta JSON Processing API 2.1.2-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.json-api ---
[INFO]
[INFO] -------------------< jakarta.json:jakarta.json-api >--------------------
[INFO] Building Jakarta JSON Processing API 2.1.2-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- versions:2.7:set (default-cli) @ jakarta.json-api ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/jsonp-release/api
[INFO] Processing change of jakarta.json:jakarta.json-api:2.1.2-SNAPSHOT -> 2.1.2
[INFO] Processing jakarta.json:jakarta.json-api
[INFO] Updating project jakarta.json:jakarta.json-api
[INFO] from version 2.1.2-SNAPSHOT to 2.1.2
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.881 s
[INFO] Finished at: 2023-05-11T11:35:01Z
[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:]]*//'
+ local POM_FILES=api/pom.xml
+ git add api/pom.xml
+ git commit -m 'Update API version of jakarta.json:jsonp to 2.1.2'
[2.1.2 190d5ff] Update API version of jakarta.json:jsonp to 2.1.2
1 file changed, 1 insertion(+), 1 deletion(-)
+ drop_artifacts 'jakarta\.json:jsonp:2\.1\.2' /home/jenkins/agent/workspace/jsonp-release/api
+ echo '-[ Drop old staging repository deployments ]------------------------------------'
-[ Drop old staging repository deployments ]------------------------------------
++ cd /home/jenkins/agent/workspace/jsonp-release/api
++ mvn -B nexus-staging:rc-list
++ egrep '^\[INFO\] [A-Z,a-z,-]+-[0-9]+\s+[A-Z]+\s+jakarta\.json:jsonp:2\.1\.2$'
++ 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
+ echo '-[ Deploy artifacts to staging repository ]-----------------------------'
-[ Deploy artifacts to staging repository ]-----------------------------
+ cd /home/jenkins/agent/workspace/jsonp-release/api
+ mvn -U -C -Poss-release,staging -DskipTests -DstagingDescription=jakarta.json:jsonp:2.1.2 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.json:jakarta.json-api >--------------------
[INFO] Building Jakarta JSON Processing API 2.1.2
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.json-api ---
[INFO]
[INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ jakarta.json-api ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO]
[INFO] --- buildnumber:3.0.0:create (validate) @ jakarta.json-api ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/jsonp-release/api' && 'git' 'rev-parse' '--verify' '--short=7' 'HEAD'
[INFO] Working directory: /home/jenkins/agent/workspace/jsonp-release/api
[INFO] Storing buildNumber: 190d5ff at timestamp: 1683804992113
[INFO] Storing buildScmBranch: 2.1.2
[INFO]
[INFO] --- build-helper:3.3.0:timestamp-property (currentyear-property) @ jakarta.json-api ---
[INFO]
[INFO] --- spec-version:2.1:set-spec-properties (default) @ jakarta.json-api ---
[INFO]
[INFO] -- spec properties --
[INFO] spec.bundle.symbolic-name = jakarta.json-api
[INFO] spec.implementation.version = 2.1.2
[INFO] spec.extension.name = jakarta.json
[INFO] spec.bundle.spec.version = 2.1
[INFO] spec.specification.version = 2.1
[INFO] spec.bundle.version = 2.1.2
[INFO]
[INFO]
[INFO] --- build-helper:3.3.0:add-resource (add-legal-resource) @ jakarta.json-api ---
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @ jakarta.json-api ---
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jsonp-release/api/src/main/resources
[INFO] Copying 2 resources to META-INF
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ jakarta.json-api ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 36 source files with javac [debug deprecation release 9] to target/classes
[INFO]
[INFO] --- compiler:3.11.0:compile (base-compile) @ jakarta.json-api ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 35 source files with javac [debug deprecation release 8] to target/classes
[INFO]
[INFO] --- bundle:5.1.8:manifest (bundle-manifest) @ jakarta.json-api ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[INFO] No MANIFEST.MF file found, generating manifest.
[INFO] Writing manifest: /home/jenkins/agent/workspace/jsonp-release/api/target/classes/META-INF/MANIFEST.MF
[INFO]
[INFO] --- resources:3.3.0:testResources (default-testResources) @ jakarta.json-api ---
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jsonp-release/api/src/test/resources
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ jakarta.json-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- surefire:3.0.0:test (default-test) @ jakarta.json-api ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ jakarta.json-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.jar
[INFO]
[INFO] --- source:3.2.1:jar-no-fork (attach-sources) @ jakarta.json-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-sources.jar
[INFO]
[INFO] --- javadoc:3.5.0:jar (attach-javadocs) @ jakarta.json-api ---
[INFO] No previous run data found, generating javadoc.
[INFO] Building jar: /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-javadoc.jar
[INFO]
[INFO] --- glassfish-copyright:2.4:check (default) @ jakarta.json-api ---
[INFO]
[INFO] --- gpg:1.6:sign (sign-artifacts) @ jakarta.json-api ---
[INFO]
[INFO] --- install:3.1.0:install (default-install) @ jakarta.json-api ---
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/pom.xml to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.pom
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.jar to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.jar
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-sources.jar to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-sources.jar
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-javadoc.jar to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-javadoc.jar
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.jar.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.pom.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-sources.jar.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-sources.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-javadoc.jar.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-javadoc.jar.asc
[INFO]
[INFO] --- nexus-staging:1.6.8:deploy (injected-nexus-deploy) @ jakarta.json-api ---
[INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/jsonp-release/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.15.1-02 and edition "Professional"
[INFO] * Using staging profile ID "3c6de7301f90" (matched by Nexus).
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.jar to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.jar
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/pom.xml to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.pom
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-sources.jar to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-sources.jar
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-javadoc.jar to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-javadoc.jar
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.jar.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2.pom.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-sources.jar.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-sources.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.2-javadoc.jar.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.2/jakarta.json-api-2.1.2-javadoc.jar.asc
[INFO] Performing remote staging...
[INFO]
[INFO] * Remote staging into staging profile ID "3c6de7301f90"
[INFO] * Created staging repository with ID "jakartajson-1071".
[INFO] * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/jakartajson-1071
[INFO] * Uploading locally staged artifacts to profile jakarta.json
[INFO] * Upload of locally staged artifacts finished.
[INFO] * Closing staging repository with ID "jakartajson-1071".
Waiting for operation to complete...
...
[INFO] Remote staged 1 repositories, finished with success.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:10 min
[INFO] Finished at: 2023-05-11T11:37:13Z
[INFO] ------------------------------------------------------------------------
+ echo '-[ Tag release ]----------------------------------------------------------------'
-[ Tag release ]----------------------------------------------------------------
+ git tag 2.1.2-RELEASE -m 'JSON-P Specification and API release'
+ echo '-[ SPEC next snapshot version ]-------------------------------------------------'
-[ SPEC next snapshot version ]-------------------------------------------------
+ echo '-[ API next snapshot version ]--------------------------------------------------'
-[ API next snapshot version ]--------------------------------------------------
+ set_version API /home/jenkins/agent/workspace/jsonp-release/api 2.1.3-SNAPSHOT jakarta.json jsonp ''
+ echo '--[ Set version ]---------------------------------------------------------------'
--[ Set version ]---------------------------------------------------------------
+ cd /home/jenkins/agent/workspace/jsonp-release/api
+ mvn -U -C -DnewVersion=2.1.3-SNAPSHOT -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< jakarta.json:jakarta.json-api >--------------------
[INFO] Building Jakarta JSON Processing API 2.1.2
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.json-api ---
[INFO] Deleting /home/jenkins/agent/workspace/jsonp-release/api/target
[INFO]
[INFO] -------------------< jakarta.json:jakarta.json-api >--------------------
[INFO] Building Jakarta JSON Processing API 2.1.2
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- versions:2.7:set (default-cli) @ jakarta.json-api ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/jsonp-release/api
[INFO] Processing change of jakarta.json:jakarta.json-api:2.1.2 -> 2.1.3-SNAPSHOT
[INFO] Processing jakarta.json:jakarta.json-api
[INFO] Updating project jakarta.json:jakarta.json-api
[INFO] from version 2.1.2 to 2.1.3-SNAPSHOT
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.960 s
[INFO] Finished at: 2023-05-11T11:37:16Z
[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:]]*//'
+ local POM_FILES=api/pom.xml
+ git add api/pom.xml
+ git commit -m 'Update API version of jakarta.json:jsonp to 2.1.3-SNAPSHOT'
[2.1.2 dc41223] Update API version of jakarta.json:jsonp to 2.1.3-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.2
remote: Resolving deltas: 0% (0/4)
remote: Resolving deltas: 25% (1/4)
remote: Resolving deltas: 50% (2/4)
remote: Resolving deltas: 75% (3/4)
remote: Resolving deltas: 100% (4/4)
remote: Resolving deltas: 100% (4/4), completed with 2 local objects.
remote:
remote: Create a pull request for '2.1.2' on GitHub by visiting:
remote: https://github.com/jakartaee/jsonp-api/pull/new/2.1.2
remote:
To github.com:jakartaee/jsonp-api.git
* [new branch] 2.1.2 -> 2.1.2
+ git push origin 2.1.2-RELEASE
To github.com:jakartaee/jsonp-api.git
* [new tag] 2.1.2-RELEASE -> 2.1.2-RELEASE
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 60 killed;
[ssh-agent] Stopped.
Finished: SUCCESS