Skip to content
StepArgumentsStatus
Start of Pipeline - (2 min 57 sec in block)
echo - (1 ms in self)[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (2 min 56 sec in block)
podTemplate block - (2 min 56 sec in block)
node - (2 min 56 sec in block)my-agent-pod
node block - (2 min 50 sec in block)
stage - (9.4 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (9.4 sec in block)
checkout - (9.3 sec in self)
withEnv - (2 min 40 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (2 min 40 sec in block)
withEnv - (2 min 40 sec in block)DOC_ASSEMBLY_DIR, HONO_HOMEPAGE_DIR, HONO_DOCUMENTATION_DIR, WEBSITE_REPO_DIR
withEnv block - (2 min 40 sec in block)
timeout - (2 min 40 sec in block)
timeout block - (2 min 40 sec in block)
stage - (10 sec in block)Prepare workspace
stage block (Prepare workspace) - (10 sec in block)
sh - (10 sec in self)#!/bin/bash echo "cloning Hono repository..." git clone --recurse-submodules https://github.com/eclipse-hono/hono.git "${WORKSPACE}/hono" echo "copying Documentation directory from master branch..." cp -r "${HONO_DOCUMENTATION_DIR}" "${DOC_ASSEMBLY_DIR}" mkdir -p "${DOC_ASSEMBLY_DIR}/content_dirs"
stage - (1 min 45 sec in block)Clone Hono web site repository
stage block (Clone Hono web site repository) - (1 min 45 sec in block)
sshagent - (1 min 45 sec in block)
sshagent block - (1 min 44 sec in block)
sh - (1 min 44 sec in self)#!/bin/bash echo "cloning Hono web site repository..." git clone ssh://git@github.com/eclipse-hono/hono-website.git "${WEBSITE_REPO_DIR}" echo "scrubbing web site directory..." (cd "${WEBSITE_REPO_DIR}"; git rm -r --quiet -- ':!README.md'; cp "${WORKSPACE}/hono/LICENSE" .)
stage - (0.88 sec in block)Build home page
stage block (Build home page) - (0.85 sec in block)
container - (0.81 sec in block)hugo
container block - (0.8 sec in block)
sh - (0.79 sec in self)#!/bin/bash cd "${HONO_HOMEPAGE_DIR}" echo "using $(hugo version)" echo "removing obsolete images that come with theme used for home page ..." # we do not need the pictures that come with the theme # removing them, so they don't get deployed. rm themes/hugo-universal-theme/static/img/* echo "building home page..." hugo -v -d "${WEBSITE_REPO_DIR}"
stage - (36 sec in block)Build documentation
stage block (Build documentation) - (36 sec in block)
sh - (2.8 sec in self)
container - (32 sec in block)hugo
container block - (32 sec in block)
sh - (32 sec in self)#!/bin/bash echo "building documentation..." cd "${DOC_ASSEMBLY_DIR}" hugo -v -d "${WEBSITE_REPO_DIR}/docs" --config config.toml,config_version.toml
stage - (7.1 sec in block)Commit and push web site
stage block (Commit and push web site) - (7.1 sec in block)
sshagent - (6.7 sec in block)
sshagent block - (6.7 sec in block)
sh - (6.1 sec in self)#!/bin/bash cd "${WEBSITE_REPO_DIR}" git add -A if git diff --cached --quiet; then echo "no changes have been detected since last build, nothing to publish" else echo "changes have been detected, publishing to Hono website repo on GitHub" git config user.email "hono-bot@eclipse.org" git config user.name "Hono Bot" git commit -s -m "Website build ${JOB_NAME}-${BUILD_NUMBER}" git push origin HEAD:refs/heads/main echo "done" fi