Skip to content
StepArgumentsStatus
Start of Pipeline - (1 min 26 sec in block)
echo - (10 ms in self)[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (1 min 24 sec in block)
podTemplate block - (1 min 24 sec in block)
node - (1 min 24 sec in block)hugo-agent
node block - (1 min 5 sec in block)
dir - (30 sec in block)hugo
dir block - (30 sec in block)
stage - (30 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (30 sec in block)
checkout - (30 sec in self)
withEnv - (34 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (34 sec in block)
withEnv - (34 sec in block)GROUP_NAME, PROJECT_BOT_NAME, SOURCE_PATH, TARGET_ADDRESS, TARGET_REPO, PROJECT_BOT_EMAIL, PROJECT_NAME
withEnv block - (34 sec in block)
stage - (24 sec in block)Checkout www repo
stage block (Checkout www repo) - (24 sec in block)
dir - (24 sec in block)www
dir block - (24 sec in block)
sshagent - (24 sec in block)
sshagent block - (23 sec in block)
sh - (23 sec in self) git clone ${TARGET_REPO} . git checkout ${BRANCH_NAME}
stage - (2 sec in block)Build website (master) with Hugo
stage block (Build website (master) with Hugo) - (1.9 sec in block)
container - (1.6 sec in block)hugo
container block - (1.6 sec in block)
dir - (1.6 sec in block)hugo/websites/www.eclipse.org-app4mc-hugo/site
dir block - (1.6 sec in block)
sh - (1.6 sec in self)hugo -b ${TARGET_ADDRESS}
stage - (0.73 sec in block)Build website (staging) with Hugo
stage block (Build website (staging) with Hugo) - (0.47 sec in block)
stage - (7.1 sec in block)Push to $env.BRANCH_NAME branch
stage block (Push to $env.BRANCH_NAME branch) - (7.1 sec in block)
sh - (0.32 sec in self)rm -rf www/* && cp -Rvf hugo/${SOURCE_PATH}/public/* www/
dir - (6.6 sec in block)www
dir block - (6.6 sec in block)
sshagent - (6.6 sec in block)
sshagent block - (5.6 sec in block)
sh - (5.6 sec in self) git add -A if ! git diff --cached --exit-code; then echo "Changes have been detected, publishing to repo '${GROUP_NAME}/${PROJECT_NAME}'" git config --global user.email "${PROJECT_BOT_EMAIL}" git config --global user.name "${PROJECT_BOT_NAME}" git commit -m "Website build ${JOB_NAME}-${BUILD_NUMBER}" git log --graph --abbrev-commit --date=relative -n 5 git push origin HEAD:${BRANCH_NAME} else echo "No change have been detected since last build, nothing to publish" fi