Step | Arguments | Status | |
---|---|---|---|
Start of Pipeline - (24 min in block) | |||
podTemplate - (24 min in block) | |||
podTemplate block - (24 min in block) | |||
node - (24 min in block) | Release-Pipeline-Test_2-zmtt0 | ||
node block - (23 min in block) | |||
stage - (1 min 20 sec in block) | Declarative: Checkout SCM | ||
stage block (Declarative: Checkout SCM) - (1 min 19 sec in block) | |||
checkout - (1 min 18 sec in self) | |||
withEnv - (22 min in block) | GIT_BRANCH, GIT_COMMIT, GIT_URL | ||
withEnv block - (22 min in block) | |||
container - (22 min in block) | hono-builder | ||
container block - (22 min in block) | |||
timeout - (22 min in block) | |||
timeout block - (22 min in block) | |||
stage - (11 sec in block) | Check build environment | ||
stage block (Check build environment) - (10 sec in block) | |||
sh - (3.9 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) - (8.8 sec in block) | |||
echo - (4 ms in self) | Checking out branch: refs/heads/build_cli_native_executable | ||
checkout - (2.5 sec in self) | |||
stage - (20 min in block) | Build | ||
stage block (Build) - (20 min in block) | |||
sh - (20 min in self) | |||
stage - (8.5 sec in block) | Add version for documentation | ||
stage block (Add version for documentation) - (7.1 sec in block) | |||
sh - (0.89 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 - (14 sec in block) | Commit and tag release version | ||
stage block (Commit and tag release version) - (7.1 sec in block) | |||
sh - (0.92 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 - (9.8 sec in block) | Set next version | ||
stage block (Set next version) - (8.6 sec in block) | |||
sh - (0.89 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 - (15 sec in block) | Commit and push | ||
stage block (Commit and push) - (14 sec in block) | |||
sshagent - (7.3 sec in block) | |||
sshagent block - (1.9 sec in block) | |||
sh - (1.2 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.git && git push --tags ssh://git@github.com/eclipse/hono.git else echo "will not push newly created tag and next version ..." fi | ||
stage - (10 sec in block) | Copy Artifacts | ||
stage block (Copy Artifacts) - (9.9 sec in block) | |||
sshagent - (3.1 sec in block) | |||
sshagent block - (1.5 sec in block) | |||
sh - (0.84 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 |