Started by user arjan tijms Running as arjan tijms Agent basic-dnn5n is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "basic" name: "basic-dnn5n" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.glassfish.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-dnn5n" - 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-dnn5n" - 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-4.5" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "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 - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} 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-dnn5n (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-oLW98tVbJ9kb/agent.63 SSH_AGENT_PID=65 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_11594905079530596754.key (/home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_11594905079530596754.key) [ssh-agent] Using credentials glassfish-bot (GitHub bot SSH) [all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins4974497053128756118.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/jenkins2195725395231902817.sh [all-projects_1_build-and-stage] $ /bin/bash -ex /tmp/jenkins16157909384367487942.sh + TOOLS_PREFIX=/opt/tools + JAVA_PREFIX=/opt/tools/java/oracle + MVN_HOME=/opt/tools/apache-maven/latest + JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest + PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + MVN_EXTRA='-DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' + 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.13 + [[ 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 '.'... + cd /home/jenkins/agent/workspace/all-projects_1_build-and-stage + grep '<version>' pom.xml + grep SNAPSHOT <version>1.0.12-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.12-SNAPSHOT ++ echo 1.0.12-SNAPSHOT ++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + SNAPSHOT_VERSION=1.0.12-SNAPSHOT + echo 'Snapshot version is: 1.0.12-SNAPSHOT' Snapshot version is: 1.0.12-SNAPSHOT + [[ -z 1.0.13 ]] + '[' -z 1.0.14-SNAPSHOT ']' + RELEASE_TAG=1.0.13 + RELEASE_BRANCH=1.0.13-BRANCH + echo 'Current version: 1.0.12-SNAPSHOT' Current version: 1.0.12-SNAPSHOT + echo 'Release version: 1.0.13' Release version: 1.0.13 + echo 'Next version: 1.0.14-SNAPSHOT' Next version: 1.0.14-SNAPSHOT + echo 'Release branch: 1.0.13-BRANCH' Release branch: 1.0.13-BRANCH + echo 'Release tag: 1.0.13' Release tag: 1.0.13 + [[ -z 1.0.12-SNAPSHOT ]] + [[ -z 1.0.13 ]] + [[ -z 1.0.14-SNAPSHOT ]] + [[ false = \t\r\u\e ]] + GIT_ORIGIN=origin + echo '-[ Prepare branch ]-------------------------------------------------------------' -[ Prepare branch ]------------------------------------------------------------- ++ git branch -r ++ grep origin/1.0.13-BRANCH + [[ -n '' ]] + echo '-[ Release tag cleanup ]--------------------------------------------------------' -[ Release tag cleanup ]-------------------------------------------------------- ++ git ls-remote --tags origin ++ grep -o 'refs/tags/1.0.13$' + [[ -n '' ]] + git branch --delete 1.0.13-BRANCH error: branch '1.0.13-BRANCH' not found. + git checkout -b 1.0.13-BRANCH Switched to a new branch '1.0.13-BRANCH' + git tag --delete 1.0.13 error: tag '1.0.13' not found. + echo '-[ Set release version ]--------------------------------------------------------' -[ Set release version ]-------------------------------------------------------- + find . -name pom.xml -exec sed -i 's|<version>1.0.12-SNAPSHOT</version>|<version>1.0.13</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.13' [1.0.13-BRANCH 09a09df] Prepare release 1.0.13 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.13/ {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.13$/ \ {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.13$/ \ {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.13 ++ 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.13 *$/ \ {print $2}' ++ head -1 + STAGING_REPO_ID= + 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= -Dmaven.javadoc.failOnError=false deploy [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.glassfish.build:command-security-maven-plugin:maven-plugin:1.0.13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 164, column 29 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ---------< org.glassfish.build:command-security-maven-plugin >---------- [INFO] Building Command Security Plug-in 1.0.13 [INFO] ----------------------------[ maven-plugin ]---------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ command-security-maven-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ command-security-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/all-projects_1_build-and-stage/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ command-security-maven-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 11 source files to /home/jenkins/agent/workspace/all-projects_1_build-and-stage/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] --- maven-plugin-plugin:3.6.0:descriptor (default-descriptor) @ command-security-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] java-annotations mojo extractor found 2 mojo descriptors. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ command-security-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/all-projects_1_build-and-stage/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ command-security-maven-plugin --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ command-security-maven-plugin --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4: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.13.jar [INFO] [INFO] --- maven-plugin-plugin:3.6.0:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ command-security-maven-plugin --- [INFO] [INFO] --- maven-source-plugin:3.0.1: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.13-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:3.2.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 1.8.0_202 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/ConfigBeanAnalyzer.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-frame.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/Util.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/TypeAnalyzer.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/PrintMojo.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/ConfigBeanAnalyzer.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/CommandAuthorizationInfo.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/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... 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-frame.html... Generating /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/apidocs/allclasses-noframe.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.13-javadoc.jar [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ command-security-maven-plugin --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ command-security-maven-plugin --- [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13.jar to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13.jar [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.13/command-security-maven-plugin-1.0.13.pom [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-sources.jar to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13-sources.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-javadoc.jar to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13.jar.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13.pom.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13.pom.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-sources.jar.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13-sources.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-javadoc.jar.asc to /home/jenkins/.m2/repository/org/glassfish/build/command-security-maven-plugin/1.0.13/command-security-maven-plugin-1.0.13-javadoc.jar.asc [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.8: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.14.20-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.13.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.13/command-security-maven-plugin-1.0.13.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.13/command-security-maven-plugin-1.0.13.pom [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-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.13/command-security-maven-plugin-1.0.13-sources.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-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.13/command-security-maven-plugin-1.0.13-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13.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.13/command-security-maven-plugin-1.0.13.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13.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.13/command-security-maven-plugin-1.0.13.pom.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-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.13/command-security-maven-plugin-1.0.13-sources.jar.asc [INFO] Installing /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/command-security-maven-plugin-1.0.13-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.13/command-security-maven-plugin-1.0.13-javadoc.jar.asc [INFO] Performing remote staging... [INFO] [INFO] * Remote staging into staging profile ID "1c0c18a0fc339" [INFO] * Created staging repository with ID "orgglassfish-1135". [INFO] * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1135 [INFO] * Uploading locally staged artifacts to profile org.glassfish [ERROR] Remote staging finished with a failure: Failed to deploy artifacts: Could not transfer artifact org.glassfish.build:command-security-maven-plugin:pom.asc:?1.0.13 from/to ossrh (https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1135): Transfer failed for https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1135/org/glassfish/build/command-security-maven-plugin/%253F1.0.13/command-security-maven-plugin-%253F1.0.13.pom.asc [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:21 min [INFO] Finished at: 2021-06-11T12:42:05Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project command-security-maven-plugin: Remote staging failed: Failed to deploy artifacts: Could not transfer artifact org.glassfish.build:command-security-maven-plugin:pom.asc:?1.0.13 from/to ossrh (https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1135): Transfer failed for https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1135/org/glassfish/build/command-security-maven-plugin/%253F1.0.13/command-security-maven-plugin-%253F1.0.13.pom.asc: /home/jenkins/agent/workspace/all-projects_1_build-and-stage/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/build/command-security-maven-plugin/?1.0.13/command-security-maven-plugin-?1.0.13.pom.asc (No such file or directory) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 65 killed; [ssh-agent] Stopped. Finished: FAILURE