Skip to content
StepArgumentsStatus
Start of Pipeline - (3 min 9 sec in block)
echo - (1 ms in self)[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (3 min 7 sec in block)
podTemplate block - (3 min 7 sec in block)
node - (3 min 5 sec in block)hugo-agent
node block - (2 min 25 sec in block)
dir - (1 min 16 sec in block)hugo
dir block - (1 min 14 sec in block)
stage - (1 min 12 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (1 min 12 sec in block)
checkout - (1 min 11 sec in self)
withEnv - (1 min 8 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (1 min 8 sec in block)
withEnv - (1 min 4 sec in block)PROJECT_BOT_NAME, PROJECT_WEBSITE_REPO, PROJECT_GH_ORG, PROJECT_NAME
withEnv block - (1 min 4 sec in block)
timeout - (1 min 2 sec in block)
timeout block - (1 min 2 sec in block)
stage - (25 sec in block)Checkout www repo
stage block (Checkout www repo) - (23 sec in block)
dir - (18 sec in block)www
dir block - (17 sec in block)
sshagent - (16 sec in block)
sshagent block - (14 sec in block)
sh - (13 sec in self) git clone git@github.com:${PROJECT_GH_ORG}/${PROJECT_WEBSITE_REPO}.git . git checkout ${BRANCH_NAME}
stage - (13 sec in block)Build website ${env.BRANCH_NAME} with Hugo
stage block (Build website ${env.BRANCH_NAME} with Hugo) - (12 sec in block)
container - (4.9 sec in block)hugo
container block - (4.7 sec in block)
dir - (3.6 sec in block)hugo
dir block - (3.4 sec in block)
sh - (2.7 sec in self)hugo -b https://eclipse.dev/${PROJECT_NAME}/
stage - (21 sec in block)Push to master branch
stage block (Push to master branch) - (21 sec in block)
sh - (0.91 sec in self)rm -rf www/* && cp -Rvf hugo/public/* www/
dir - (13 sec in block)www
dir block - (13 sec in block)
sshagent - (12 sec in block)
sshagent block - (9.3 sec in block)
sh - (8.7 sec in self) git add -A if ! git diff --cached --exit-code; then echo "Changes have been detected, publishing to repo '${PROJECT_GH_ORG}/${PROJECT_WEBSITE_REPO}'" git config user.email "${PROJECT_NAME}-bot@eclipse.org" git config user.name "${PROJECT_BOT_NAME}" git commit -m "Website build ${JOB_NAME}-${BUILD_NUMBER}" git log --graph --abbrev-commit --date=relative -n 5 if [ "${BRANCH_NAME}" = "master" ]; then git push origin HEAD:master else git push origin HEAD:${BRANCH_NAME} fi else echo "No changes have been detected since last build, nothing to publish" fi