Step | Arguments | Status | |
---|---|---|---|
Start of Pipeline - (28 min in block) | |||
podTemplate - (28 min in block) | |||
podTemplate block - (28 min in block) | |||
node - (28 min in block) | Hono-Release-Pipeline_169-kn6mh | ||
node block - (28 min in block) | |||
stage - (44 sec in block) | Declarative: Checkout SCM | ||
stage block (Declarative: Checkout SCM) - (43 sec in block) | |||
checkout - (42 sec in self) | |||
withEnv - (27 min in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | ||
withEnv block - (27 min in block) | |||
container - (27 min in block) | hono-builder | ||
container block - (27 min in block) | |||
timeout - (27 min in block) | |||
timeout block - (27 min in block) | |||
stage - (8.4 sec in block) | Check build environment | ||
stage block (Check build environment) - (7.3 sec in block) | |||
sh - (1.7 sec in self) | #!/bin/bash git --version mvn --version java --version native-image --version upx --version ssh -V if [[ "${COPY_ARTIFACTS}" =~ (t|true) ]]; then echo "will deploy artifacts ..." else echo "will not deploy artifacts ..." fi ls -al /home/jenkins | ||
stage - (10 sec in block) | Check out | ||
stage block (Check out) - (9.3 sec in block) | |||
echo - (3 ms in self) | Checking out branch: refs/heads/master | ||
checkout - (3.6 sec in self) | |||
stage - (26 min in block) | Build | ||
stage block (Build) - (26 min in block) | |||
sh - (25 min in self) | |||
stage - (7.9 sec in block) | Add version for documentation | ||
stage block (Add version for documentation) - (6.4 sec in block) | |||
sh - (0.82 sec in self) | #!/bin/bash echo "DEPLOY_DOCUMENTATION: ${DEPLOY_DOCUMENTATION}" echo "STABLE_DOCUMENTATION: ${STABLE_DOCUMENTATION}" if [[ "${DEPLOY_DOCUMENTATION}" =~ (t|true) ]]; then echo "add to supported versions" MAJOR="${RELEASE_VERSION%%.*}" # before first dot rest="${RELEASE_VERSION#*.}" # after first dot MINOR="${rest%%.*}" # before first dot of rest echo "${MAJOR};${MINOR};${RELEASE_VERSION}" >> site/documentation/versions_supported.csv git add site/documentation/versions_supported.csv if [[ "${STABLE_DOCUMENTATION}" =~ (t|true) ]]; then echo "set as stable version" echo "${RELEASE_VERSION}" > site/documentation/tag_stable.txt git add site/documentation/tag_stable.txt fi else echo "will not publish documentation for release ..." fi | ||
stage - (7.7 sec in block) | Commit and tag release version | ||
stage block (Commit and tag release version) - (6.3 sec in block) | |||
sh - (0.8 sec in self) | #!/bin/bash if [[ -n "${NEXT_VERSION}" ]]; then git config user.email "hono-bot@eclipse.org" git config user.name "hono-bot" git add pom.xml \*/pom.xml git commit -m "Release ${RELEASE_VERSION}" git tag ${RELEASE_VERSION} else echo "will not create tag for release ..." fi | ||
stage - (14 sec in block) | Set next version | ||
stage block (Set next version) - (13 sec in block) | |||
sh - (7.5 sec in self) | #!/bin/bash if [[ -n "${NEXT_VERSION}" ]]; then mvn versions:set -DallowSnapshots=true -DgenerateBackupPoms=false -DnewVersion=${NEXT_VERSION} else echo "will not create next version ..." fi | ||
stage - (11 sec in block) | Commit and push | ||
stage block (Commit and push) - (10 sec in block) | |||
sshagent - (4.6 sec in block) | |||
sshagent block - (3.2 sec in block) | |||
sh - (2.6 sec in self) | #!/bin/bash if [[ -n "${NEXT_VERSION}" ]]; then git add pom.xml \*/pom.xml git commit -m "Bump version to ${NEXT_VERSION}" git push --all ssh://git@github.com/eclipse-hono/hono.git && git push --tags ssh://git@github.com/eclipse-hono/hono.git else echo "will not push newly created tag and next version ..." fi | ||
stage - (12 sec in block) | Copy Artifacts | ||
stage block (Copy Artifacts) - (12 sec in block) | |||
sshagent - (6 sec in block) | |||
sshagent block - (4.7 sec in block) | |||
sh - (4 sec in self) | #!/bin/bash echo "artifacts for downloading created by build process:" ls -al artifacts if [[ "${COPY_ARTIFACTS}" =~ (t|true) ]]; then scp artifacts/* genie.hono@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/hono/ else echo "will not copy artifacts to download server ..." fi |