Started by user arjan tijms Running as arjan tijms Agent basic-8glsj is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-8glsj" namespace: "glassfish" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.glassfish.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-8glsj" - 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-8glsj" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.glassfish.svc.cluster.local/glassfish/" 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-glassfish" 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-8glsj (basic) in workspace /home/jenkins/agent/workspace/all-projects_1_build-and-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-OhC5sWSIYgtb/agent.52 SSH_AGENT_PID=54 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_1779225200767195710.key (/home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_1779225200767195710.key) [ssh-agent] Using credentials glassfish-bot (GitHub bot SSH) [all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins1989591553853189208.sh gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: key FD8776B8DA948C3D: 1 signature not checked due to a missing key gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key FD8776B8DA948C3D: public key "Eclipse GlassFish <glassfish-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key FD8776B8DA948C3D: 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 Secret subkeys are available. pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-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/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> Please note that the shown key validity is not necessarily correct unless you restart the program. 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-01 pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-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/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> [all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins189675875297695953.sh [all-projects_1_build-and-stage] $ /bin/bash -ex /tmp/jenkins2104511739166381196.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 + MVN_EXTRA='-DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' + MVN_DEPLOY_EXTRA= + VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.5 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:2.1.1 + STAGING_NAME=orgglassfish + STAGING_PROFILE_ID=1c0c18a0fc339 + case "${PROJECT}" in + GIT_REPO=git@github.com:eclipse-ee4j/glassfish-security-plugin.git + STAGING_DESC=fighterfish:1.0.17 + [[ glassfish-security-plugin =~ ^fighterfish-* ]] + '[' glassfish-security-plugin = osgi-resource-locator ']' + '[' glassfish-security-plugin = repackaged ']' + BUILD_DIR=/home/jenkins/agent/workspace/all-projects_1_build-and-stage + git clone git@github.com:eclipse-ee4j/glassfish-security-plugin.git . Cloning into '.'... + git checkout master Already on 'master' Your branch is up to date with 'origin/master'. + cd /home/jenkins/agent/workspace/all-projects_1_build-and-stage + grep '<version>' pom.xml + grep SNAPSHOT <version>1.0.17-SNAPSHOT</version> ++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version ++ grep -v -e INFO -e WARNING -e Apache -e Maven -e Java -e Default -e OS + PROJECT_VERSION=1.0.17-SNAPSHOT ++ echo 1.0.17-SNAPSHOT ++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + SNAPSHOT_VERSION=1.0.17-SNAPSHOT + echo 'Snapshot version is: 1.0.17-SNAPSHOT' Snapshot version is: 1.0.17-SNAPSHOT + [[ -z 1.0.17 ]] + '[' -z 1.0.18 ']' + RELEASE_TAG=1.0.17 + RELEASE_BRANCH=1.0.17-BRANCH + echo 'Current version: 1.0.17-SNAPSHOT' Current version: 1.0.17-SNAPSHOT + echo 'Release version: 1.0.17' Release version: 1.0.17 + echo 'Next version: 1.0.18' Next version: 1.0.18 + echo 'Release branch: 1.0.17-BRANCH' Release branch: 1.0.17-BRANCH + echo 'Release tag: 1.0.17' Release tag: 1.0.17 + [[ -z 1.0.17-SNAPSHOT ]] + [[ -z 1.0.17 ]] + [[ -z 1.0.18 ]] + [[ false = \t\r\u\e ]] + GIT_ORIGIN=origin + echo '-[ Prepare branch ]-------------------------------------------------------------' -[ Prepare branch ]------------------------------------------------------------- ++ grep origin/1.0.17-BRANCH ++ git branch -r + [[ -n '' ]] + echo '-[ Release tag cleanup ]--------------------------------------------------------' -[ Release tag cleanup ]-------------------------------------------------------- ++ git ls-remote --tags origin ++ grep -o 'refs/tags/1.0.17$' + [[ -n '' ]] + git branch --delete 1.0.17-BRANCH error: branch '1.0.17-BRANCH' not found. + git checkout -b 1.0.17-BRANCH Switched to a new branch '1.0.17-BRANCH' + git tag --delete 1.0.17 error: tag '1.0.17' not found. + echo '-[ Set release version ]--------------------------------------------------------' -[ Set release version ]-------------------------------------------------------- + find . -name pom.xml -exec sed -i 's|<version>1.0.17-SNAPSHOT</version>|<version>1.0.17</version>|g' '{}' ';' + 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 1.0.17' [1.0.17-BRANCH 7cb6407] Prepare release 1.0.17 1 file changed, 1 insertion(+), 1 deletion(-) + [[ false = \t\r\u\e ]] + echo 'List of open Eclipse Glassfish staging repsitories....' List of open Eclipse Glassfish staging repsitories.... + mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list + awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+OPEN[ ]+fighterfish:1.0.17/ {print}' ++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list ++ awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+OPEN[ ]+fighterfish:1.0.17$/ \ {print $2}' + [[ true = \t\r\u\e ]] + echo 'List of closed Eclipse Glassfish staging repsitories....' List of closed Eclipse Glassfish staging repsitories.... ++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list ++ awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+CLOSED[ ]+fighterfish:1.0.17$/ \ {print $2}' + mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -q -Pstaging nexus-staging:rc-open -DstagingProfileId=1c0c18a0fc339 -DstagingDescription=fighterfish:1.0.17 ++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list ++ awk '/^\[INFO\] orgglassfish-[0-9]+ +OPEN +fighterfish:1.0.17 *$/ \ {print $2}' ++ head -1 + STAGING_REPO_ID=orgglassfish-1270 + mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging,oss-release -DskipTests -Ddoclint=none -DstagingProfileId=1c0c18a0fc339 -DstagingRepositoryId=orgglassfish-1270 -Dmaven.javadoc.failOnError=false 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] ---------< org.glassfish.build:command-security-maven-plugin >---------- [INFO] Building Command Security Plug-in 1.0.17 [INFO] from pom.xml [INFO] ----------------------------[ maven-plugin ]---------------------------- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven) @ command-security-maven-plugin --- [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ command-security-maven-plugin --- [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/all-projects_1_build-and-stage/src/main/resources [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ command-security-maven-plugin --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 10 source files with javac [debug target 11] to target/classes [INFO] /home/jenkins/agent/workspace/all-projects_1_build-and-stage/src/main/java/org/glassfish/module/maven/commandsecurityplugin/TypeAnalyzer.java: Some input files use unchecked or unsafe operations. [INFO] /home/jenkins/agent/workspace/all-projects_1_build-and-stage/src/main/java/org/glassfish/module/maven/commandsecurityplugin/TypeAnalyzer.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- plugin:3.9.0:descriptor (default-descriptor) @ command-security-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-annotations mojo extractor found 2 mojo descriptors. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] ant mojo extractor found 0 mojo descriptor. [INFO] bsh mojo extractor found 0 mojo descriptor. [INFO] [INFO] --- resources:3.3.0:testResources (default-testResources) @ command-security-maven-plugin --- [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/all-projects_1_build-and-stage/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ command-security-maven-plugin --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0:test (default-test) @ command-security-maven-plugin --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ command-security-maven-plugin --- [INFO] Building jar: /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.jar [INFO] [INFO] --- plugin:3.9.0:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ command-security-maven-plugin --- [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ command-security-maven-plugin --- [INFO] Building jar: /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-sources.jar [INFO] [INFO] --- javadoc:3.5.0:jar (attach-javadocs) @ command-security-maven-plugin --- [INFO] No previous run data found, generating javadoc. [INFO] Loading source files for package org.glassfish.module.maven.commandsecurityplugin... Constructing Javadoc information... Standard Doclet version 11.0.2 Building tree for all the packages and classes... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/CheckMojo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/CommandAuthorizationInfo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/CommonMojo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/OverrideManager.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/PrintMojo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/RestEndpointInfo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/TypeAnalyzer.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/TypeProcessorImpl.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/TypeProcessorImpl.Inhabitant.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/Util.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/package-summary.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/package-tree.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/constant-values.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/CheckMojo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/CommandAuthorizationInfo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/CommonMojo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/OverrideManager.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/PrintMojo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/RestEndpointInfo.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/TypeAnalyzer.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/TypeProcessorImpl.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/TypeProcessorImpl.Inhabitant.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/class-use/Util.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/org/glassfish/module/maven/commandsecurityplugin/package-use.html... Building index for all the packages and classes... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/overview-tree.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/index-all.html... Building index for all classes... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/allclasses-index.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/allpackages-index.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/deprecated-list.html... Building index for all classes... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/allclasses.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/allclasses.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/index.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/help-doc.html... [INFO] Building jar: /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-javadoc.jar [INFO] [INFO] --- gpg:3.0.1:sign (sign-artifacts) @ command-security-maven-plugin --- [INFO] [INFO] --- install:3.1.0:install (default-install) @ command-security-maven-plugin --- [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/pom.xml to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.pom [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.jar to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-sources.jar to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-sources.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-javadoc.jar to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.jar.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.pom.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.pom.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-sources.jar.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-sources.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-javadoc.jar.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-javadoc.jar.asc [INFO] [INFO] --- nexus-staging:1.6.13:deploy (injected-nexus-deploy) @ command-security-maven-plugin --- [INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging")... [INFO] + Using server credentials "ossrh" from Maven settings. [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 "1c0c18a0fc339" (configured by user). [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.jar to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/pom.xml to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.pom [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-sources.jar to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-sources.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-javadoc.jar to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.jar.asc to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17.pom.asc to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17.pom.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-sources.jar.asc to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-sources.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.17-javadoc.jar.asc to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/1.0.17/command-security-maven-plugin-1.0.17-javadoc.jar.asc [INFO] Performing remote staging... [INFO] [INFO] * Remote staging into staging profile ID "1c0c18a0fc339" [INFO] * Using non-managed staging repository with ID "orgglassfish-1270" (we are NOT managing it). [INFO] * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1270 [INFO] * Uploading locally staged artifacts to profile org.glassfish [INFO] * Upload of locally staged artifacts finished. [INFO] Remote staged 1 repositories, finished with success. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.252 s [INFO] Finished at: 2023-07-12T10:04:39Z [INFO] ------------------------------------------------------------------------ + mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -q -Pstaging nexus-staging:rc-close -DstagingRepositoryId=orgglassfish-1270 -DstagingDescription=fighterfish:1.0.17 Waiting for operation to complete... .... + echo '-[ Tag release ]----------------------------------------------------------------' -[ Tag release ]---------------------------------------------------------------- + git tag 1.0.17 -m 'Release 1.0.17' + echo '-[ Set next snapshot version ]--------------------------------------------------' -[ Set next snapshot version ]-------------------------------------------------- + find . -name pom.xml -exec sed -i 's|<version>1.0.17</version>|<version>1.0.18-SNAPSHOT</version>|g' '{}' ';' + 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 1.0.18' [1.0.17-BRANCH 1ec1d2b] Prepare next development cycle for 1.0.18 1 file changed, 1 insertion(+), 1 deletion(-) + [[ false = \t\r\u\e ]] + [[ true = \t\r\u\e ]] + echo '-[ Push branch and tag to GitHub ]----------------------------------------------' -[ Push branch and tag to GitHub ]---------------------------------------------- + git push origin 1.0.17-BRANCH --follow-tags To github.com:eclipse-ee4j/glassfish-security-plugin.git * [new branch] 1.0.17-BRANCH -> 1.0.17-BRANCH * [new tag] 1.0.17 -> 1.0.17 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 54 killed; [ssh-agent] Stopped. Finished: SUCCESS