Started by user Lukas Jungmann Started by user Lukas Jungmann Rebuilds build #228 Rebuilds build #228 Running as Lukas Jungmann Agent basic-h2b3b is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-h2b3b" 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-h2b3b" - 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-h2b3b" - 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-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-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-h2b3b (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-Z8vJGhUdFYlI/agent.78 SSH_AGENT_PID=80 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/jsonp-release@tmp/private_key_7350826138197536185.key (/home/jenkins/agent/workspace/jsonp-release@tmp/private_key_7350826138197536185.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:eclipse-ee4j/jsonp.git > git init /home/jenkins/agent/workspace/jsonp-release # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jsonp.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-ssh8916077611310505353.key > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jsonp.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/jsonp.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 04b4354e7fe1776ec69968720240f8a2ed174784 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 04b4354e7fe1776ec69968720240f8a2ed174784 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master 04b4354e7fe1776ec69968720240f8a2ed174784 # timeout=10 Commit message: "make the build jdk18 friendly (no comp warnings)" > git rev-list --no-walk 83d600bdca9f1b2e05599a15768505d7814d67a5 # timeout=10 [jsonp-release] $ /bin/bash -ex /tmp/jenkins13660904557277501764.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.1-SNAPSHOT + '[' -z 2.1.1 ']' + local RELEASE_VERSION=2.1.1 + echo 'API Release Version: 2.1.1' API Release Version: 2.1.1 + eval API_RELEASE_VERSION=2.1.1 ++ API_RELEASE_VERSION=2.1.1 + next_version API 2.1.1 + set -f + NEXT_COMPONENTS=(${RELEASE_VERSION//\./ }) + local NEXT_COMPONENTS + local LAST_INDEX=2 + local 'NEXT_COMPONENTS[2]=2' + local 'COMPONENTS_STR=2 1 2' + local NEXT_VERSION=2.1.2 + local NEXT_SNAPSHOT=2.1.2-SNAPSHOT + echo 'API Next Version: 2.1.2' API Next Version: 2.1.2 + echo 'API Next Snapshot: 2.1.2-SNAPSHOT' API Next Snapshot: 2.1.2-SNAPSHOT + eval API_NEXT_VERSION=2.1.2 ++ API_NEXT_VERSION=2.1.2 + eval API_NEXT_SNAPSHOT=2.1.2-SNAPSHOT ++ API_NEXT_SNAPSHOT=2.1.2-SNAPSHOT + '[' -z 2.1.1 ']' + '[' -z 2.1.0 ']' + RELEASE_BRANCH=2.1.1 + RELEASE_TAG=2.1.1-RELEASE + '[' false = true ']' + MVN_DEPLOY_ARGS=deploy ++ git remote + GIT_ORIGIN=origin + echo '-[ Prepare branch ]-------------------------------------------------------------' -[ Prepare branch ]------------------------------------------------------------- ++ git branch -r ++ grep 'origin/2.1.1$' + [[ -n '' ]] + echo '-[ Release tag cleanup ]--------------------------------------------------------' -[ Release tag cleanup ]-------------------------------------------------------- ++ git ls-remote --tags origin ++ grep '2.1.1-RELEASE$' + [[ -n '' ]] + git branch --delete 2.1.1 error: branch '2.1.1' not found. + git checkout -b 2.1.1 Switched to a new branch '2.1.1' + git tag --delete 2.1.1-RELEASE error: tag '2.1.1-RELEASE' not found. + 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 " 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 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 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 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 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 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 + 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.1 ++ echo jakarta.json:jsonp:2.1.1 ++ sed -e 's/\./\\\./g' + API_STAGING_KEY='jakarta\.json:jsonp:2\.1\.1' + 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.1 jakarta.json jsonp '' + echo '--[ Set version ]---------------------------------------------------------------' --[ Set version ]--------------------------------------------------------------- + cd /home/jenkins/agent/workspace/jsonp-release/api + mvn -U -C -DnewVersion=2.1.1 -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.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.json-api --- [INFO] [INFO] -------------------< jakarta.json:jakarta.json-api >-------------------- [INFO] Building Jakarta JSON Processing API 2.1.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.json-api --- [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.1-SNAPSHOT -> 2.1.1 [INFO] Processing jakarta.json:jakarta.json-api [INFO] Updating project jakarta.json:jakarta.json-api [INFO] from version 2.1.1-SNAPSHOT to 2.1.1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.628 s [INFO] Finished at: 2022-07-21T07:49:11Z [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.1' [2.1.1 a359856] Update API version of jakarta.json:jsonp to 2.1.1 1 file changed, 1 insertion(+), 1 deletion(-) + drop_artifacts 'jakarta\.json:jsonp:2\.1\.1' /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\.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 + 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.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.json:jakarta.json-api >-------------------- [INFO] Building Jakarta JSON Processing API 2.1.1 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.json-api --- [INFO] [INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven) @ jakarta.json-api --- [INFO] [INFO] --- buildnumber-maven-plugin: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: a359856 at timestamp: 1658389773844 [INFO] Storing buildScmBranch: 2.1.1 [INFO] [INFO] --- build-helper-maven-plugin:3.3.0:timestamp-property (currentyear-property) @ jakarta.json-api --- [INFO] [INFO] --- spec-version-maven-plugin: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.1 [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.1 [INFO] [INFO] [INFO] --- build-helper-maven-plugin:3.3.0:add-resource (add-legal-resource) @ jakarta.json-api --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jakarta.json-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jsonp-release/api/src/main/resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ jakarta.json-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 36 source files to /home/jenkins/agent/workspace/jsonp-release/api/target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (base-compile) @ jakarta.json-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 35 source files to /home/jenkins/agent/workspace/jsonp-release/api/target/classes [INFO] [INFO] --- maven-bundle-plugin:5.1.7:manifest (bundle-manifest) @ jakarta.json-api --- [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] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jakarta.json-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jsonp-release/api/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ jakarta.json-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jakarta.json-api --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ jakarta.json-api --- [INFO] Building jar: /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1.jar [INFO] [INFO] --- maven-source-plugin: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.1-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:3.4.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.1-javadoc.jar [INFO] [INFO] --- glassfish-copyright-maven-plugin:2.4:check (default) @ jakarta.json-api --- [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ jakarta.json-api --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ jakarta.json-api --- [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1.jar to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.jar [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/pom.xml to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.pom [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-sources.jar to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-sources.jar [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-javadoc.jar to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1.jar.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.jar.asc [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1.pom.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.pom.asc [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-sources.jar.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-sources.jar.asc [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-javadoc.jar.asc to /home/jenkins/.m2/repository/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-javadoc.jar.asc [INFO] [INFO] --- nexus-staging-maven-plugin: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.14.21-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.1.jar to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.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.1/jakarta.json-api-2.1.1.pom [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-sources.jar to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-sources.jar [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-javadoc.jar to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1.jar.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.jar.asc [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1.pom.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1.pom.asc [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-sources.jar.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-sources.jar.asc [INFO] Installing /home/jenkins/agent/workspace/jsonp-release/api/target/jakarta.json-api-2.1.1-javadoc.jar.asc to /home/jenkins/agent/workspace/jsonp-release/api/target/nexus-staging/staging/3c6de7301f90/jakarta/json/jakarta.json-api/2.1.1/jakarta.json-api-2.1.1-javadoc.jar.asc [INFO] Performing remote staging... [INFO] [INFO] * Remote staging into staging profile ID "3c6de7301f90" [INFO] * Created staging repository with ID "jakartajson-1064". [INFO] * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/jakartajson-1064 [INFO] * Uploading locally staged artifacts to profile jakarta.json [INFO] * Upload of locally staged artifacts finished. [INFO] * Closing staging repository with ID "jakartajson-1064". Waiting for operation to complete... .... [INFO] Remote staged 1 repositories, finished with success. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 52.778 s [INFO] Finished at: 2022-07-21T07:50:15Z [INFO] ------------------------------------------------------------------------ + echo '-[ Tag release ]----------------------------------------------------------------' -[ Tag release ]---------------------------------------------------------------- + git tag 2.1.1-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.2-SNAPSHOT jakarta.json jsonp '' + echo '--[ Set version ]---------------------------------------------------------------' --[ Set version ]--------------------------------------------------------------- + cd /home/jenkins/agent/workspace/jsonp-release/api + mvn -U -C -DnewVersion=2.1.2-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.1 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5: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.1 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.json-api --- [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.1 -> 2.1.2-SNAPSHOT [INFO] Processing jakarta.json:jakarta.json-api [INFO] Updating project jakarta.json:jakarta.json-api [INFO] from version 2.1.1 to 2.1.2-SNAPSHOT [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.115 s [INFO] Finished at: 2022-07-21T07:50:17Z [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-SNAPSHOT' [2.1.1 dbb0788] Update API version of jakarta.json:jsonp to 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 remote: remote: Create a pull request for '2.1.1' on GitHub by visiting: remote: https://github.com/eclipse-ee4j/jsonp/pull/new/2.1.1 remote: To github.com:eclipse-ee4j/jsonp.git * [new branch] 2.1.1 -> 2.1.1 + git push origin 2.1.1-RELEASE To github.com:eclipse-ee4j/jsonp.git * [new tag] 2.1.1-RELEASE -> 2.1.1-RELEASE $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 80 killed; [ssh-agent] Stopped. Finished: SUCCESS