Skip to content
StepArgumentsStatus
Start of Pipeline - (48 min in block)
node - (48 min in block)
node block - (48 min in block)
tool - (0.52 sec in self)apache-maven-latest
tool - (0.53 sec in self)openjdk-jdk17-latest
tool - (0.52 sec in self)openjdk-jdk21-latest
sh - (1 sec in self)java -version
stage - (9.7 sec in block)Fetch from git
stage block (Fetch from git) - (9 sec in block)
git - (8.4 sec in self)
stage - (13 sec in block)Prepare environment
stage block (Prepare environment) - (12 sec in block)
dir - (11 sec in block)/home/jenkins/agent/workspace/Jakarta-EE11-release/Jersey-EE11-main_release
dir block - (11 sec in block)
sh - (0.54 sec in self)grep '<version>' pom.xml | grep 'SNAPSHOT'
sh - (8.6 sec in self)mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec -Pstaging
echo - (2 ms in self)Current version: 4.0.99-SNAPSHOT
echo - (1 ms in self)Release version: 4.0.0-M1
echo - (1 ms in self)Next version: 4.0.99-SNAPSHOT
echo - (1 ms in self)Release tag: 4.0.0-M1
echo - (3 ms in self)Release branch: 4.0.0-M1-BRANCH
echo - (1 ms in self)-[ Configure git user ]--------------------------------------------------------
sh - (1.2 sec in self)git config --local user.email "jersey-bot@eclipse.org"
sh - (0.53 sec in self)git config --local user.name "jersey-bot"
stage - (3.9 sec in block)Prepare GPG
stage block (Prepare GPG) - (3.2 sec in block)
withCredentials - (2.2 sec in block)
withCredentials block - (1.4 sec in block)
sh - (0.56 sec in self)gpg --batch --import ${KEYRING}
sh - (0.52 sec in self) for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u); do echo -e "5 y " | gpg --batch --command-fd 0 --expert --edit-key $fpr trust; done
stage - (6.7 sec in block)Prepare branch
stage block (Prepare branch) - (6.1 sec in block)
echo - (2 ms in self)-[ Prepare branch ]-------------------------------------------------------------
echo - (1 ms in self)-[ Switching to release branch ]-------------------------------------------------
sh - (0.77 sec in self) git checkout origin/4.0 && true git reset --hard origin/4.0 && true git checkout -B 4.0.0-M1-BRANCH
echo - (1 ms in self)-[ Release tag cleanup ]--------------------------------------------------------
sh - (0.64 sec in self)git tag | grep 4.0.0-M1$ || true
echo - (2 ms in self)4.0.0-M1 tag already exists, deleting
sshagent - (2.9 sec in block)
sshagent block - (2.2 sec in block)
sh - (1.4 sec in self)git push --delete origin 4.0.0-M1 && true
sh - (0.53 sec in self) git tag --delete 4.0.0-M1 && true
sh - (0.53 sec in self) sed -i 's|<suppress files="generated" checks=".*"/>|<suppress files="generated" checks=".*"/><suppress files="unpacked-src" checks=".*"/>|g' etc/config/checkstyle-suppressions.xml
stage - (1 min 7 sec in block)Check previous stagings
stage block (Check previous stagings) - (1 min 7 sec in block)
sh - (39 sec in self)mvn -B --non-recursive -Pstaging nexus-staging:rc-list | awk '/\[INFO] orgglassfishjersey-[0-9]+[ ]+CLOSED[ ]+org.glassfish.jersey:4.0.0-M1[ ]*$/ {if(a){a = $2","a} else{a = $2}}END{print a}'
echo - (3 ms in self)Previously closed staging name: orgglassfishjersey-1231
sh - (27 sec in self)mvn -B --non-recursive -Pstaging nexus-staging:rc-list | awk '/orgglassfishjersey-[0-9]+ OPEN / {if(a){a = $2","a} else{a = $2}}END{print a}'
echo - (1 ms in self)No currently open stagings
stage - (44 min in block)Build Jersey
stage block (Build Jersey) - (44 min in block)
echo - (1 ms in self)/opt/tools/java/openjdk/jdk-17/latest
echo - (1 ms in self)-[ Run maven release ]---------------------------------------------------------
echo - (1 ms in self)-[ Set Release version ]-------------------------------------------------------
sh - (1 min 8 sec in self) cd /home/jenkins/agent/workspace/Jakarta-EE11-release/Jersey-EE11-main_release mvn -q -B -V -Pstaging versions:set -DnewVersion=4.0.0-M1 -DgenerateBackupPoms=false mvn -q -B -V -Pstaging versions:set -DnewVersion=4.0.0-M1 -DgenerateBackupPoms=false -f bom/pom.xml
echo - (2 ms in self)-[ Update Copyright years ]----------------------------------------------------
sh - (2.4 sec in self)
echo - (1 ms in self)-[ Run release build ]---------------------------------------------------------
dir - (42 min in block)/home/jenkins/agent/workspace/Jakarta-EE11-release/Jersey-EE11-main_release
dir block - (42 min in block)
sh - (3 min 7 sec in self)mvn clean install -B -q -V -DskipTests -am -Pstaging -Djersey.version=4.0.0-M1 --projects :jersey-helidon-connector
sh - (39 min in self)mvn -q -B -V -Djersey.version=4.0.0-M1 -DskipTests -Ddoclint=none -Dadditionalparam='-Xdoclint:none' -Poss-release,staging -U -C package javadoc:jar gpg:sign install:install deploy:deploy
stage - (56 sec in block)Prepare release
stage block (Prepare release) - (55 sec in block)
sh - (0.54 sec in self) git checkout -- etc/config/checkstyle-suppressions.xml
echo - (2 ms in self)-[ Perform release commit to git ]---------------------------------------------
sh - (0.62 sec in self)git commit -a -m 4.0.0-M1
sh - (0.52 sec in self)git tag -m 4.0.0-M1 -a 4.0.0-M1
echo - (1 ms in self)-[ Set next snapshot version ]-------------------------------------------------
dir - (52 sec in block)/home/jenkins/agent/workspace/Jakarta-EE11-release/Jersey-EE11-main_release
dir block - (52 sec in block)
sh - (51 sec in self) mvn -q -B -Pstaging -Djersey.version=4.0.0-M1 versions:set -DnewVersion=4.0.99-SNAPSHOT -DgenerateBackupPoms=false mvn -q -B -Pstaging -Djersey.version=4.0.0-M1 versions:set -DnewVersion=4.0.99-SNAPSHOT -DgenerateBackupPoms=false -f bom/pom.xml
echo - (1 ms in self)-[ Perform commit to git ]-----------------------------------------------------
sh - (0.63 sec in self)git commit -a -m 4.0.99-SNAPSHOT
stage - (4.7 sec in block)Publish release
stage block (Publish release) - (4.1 sec in block)
sshagent - (3 sec in block)
sshagent block - (2.6 sec in block)
sh - (1.8 sec in self)git push -f origin 4.0.0-M1-BRANCH --follow-tags
stage - (33 sec in block)Find related staging
stage block (Find related staging) - (33 sec in block)
sh - (32 sec in self)mvn -Djersey.version=4.0.0-M1 -B --non-recursive -Pstaging nexus-staging:rc-list | awk '/orgglassfishjersey-[0-9]+ OPEN / {if(a){a = $2","a} else{a = $2}}END{print a}'
echo - (1 ms in self)Staging name: orgglassfishjersey-1232
stage - (25 sec in block)Close released staging
stage block (Close released staging) - (24 sec in block)
sh - (24 sec in self)mvn -B -q -Pstaging -Djersey.version=4.0.0-M1 nexus-staging:rc-close -DstagingRepositoryId=orgglassfishjersey-1232 -DstagingDescription='org.glassfish.jersey:4.0.0-M1'
stage - (21 sec in block)Drop redundant staging
stage block (Drop redundant staging) - (21 sec in block)
sh - (20 sec in self) OPEN_STAGINGS=orgglassfishjersey-1231 mvn -Djersey.version=4.0.0-M1 -B -q -Pstaging nexus-staging:rc-drop -DstagingRepositoryId=${OPEN_STAGINGS}