These instructions indicate that after the release
review I should run the script listed at the bottom of
that page and that the script should not be customized per
project.
To be careful I decided to test run the script
commenting out the following line:
# mvnq -DstagingRepositoryId="$id" nexus-staging:rc-release
I was expecting to see an echo of whatever would be release if I'd run the script with
the line uncommented. However, I do not get any listings at all.
Is there something special I need to do?
Here is the output I see:
Started by user James Krueger
Agent default-java-k23ct is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] ():
[EnvInject] - Loading node environment variables.
Building remotely on default-java-k23ct in workspace /home/jenkins/workspace/Nexus-Release
[WS-CLEANUP] Deleting project workspace...
[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-jdqfXz0qhu1I/agent.74
SSH_AGENT_PID=76
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/Nexus-Release@tmp/private_key_3609070332237703964.key (/home/jenkins/workspace/Nexus-Release@tmp/private_key_3609070332237703964.key)
[ssh-agent] Using credentials jakartaee-stable-bot (GitHub Bot SSH)
provisioning config files...
copy managed file [settings-jakartaee-stable.xml] to file:/home/jenkins/.m2/settings.xml
copy managed file [settings-security.xml] to file:/home/jenkins/.m2/settings-security.xml
[Nexus-Release] $ /bin/bash -ex /tmp/jenkins6059823826643264114.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
++ mvnq nexus-staging:rc-list-profiles
++ grep -v 'Central Bundles'
++ awk '$3 == "BOTH" {print $4}'
++ mvn -B nexus-staging:rc-list-profiles
++ grep -v '^\[INFO\] Download'
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 76 killed;
[ssh-agent] Stopped.
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: SUCCESS