Step Arguments Status Start of Pipeline - (2 min 50 sec in block)
echo - (0.14 sec in self) [WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (2 min 45 sec in block)
podTemplate block - (2 min 45 sec in block)
node - (2 min 45 sec in block) hugo-agent
node block - (1 min 37 sec in block)
dir - (51 sec in block) hugo
dir block - (51 sec in block)
stage - (51 sec in block) Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (51 sec in block)
checkout - (51 sec in self)
withEnv - (45 sec in block) GIT_BRANCH, GIT_COMMIT, GIT_URL
withEnv block - (45 sec in block)
withEnv - (45 sec in block) GROUP_NAME, PROJECT_BOT_NAME, SOURCE_PATH, TARGET_ADDRESS, TARGET_REPO, PROJECT_BOT_EMAIL, PROJECT_NAME
withEnv block - (44 sec in block)
stage - (31 sec in block) Checkout www repo
stage block (Checkout www repo) - (31 sec in block)
dir - (30 sec in block) www
dir block - (30 sec in block)
sshagent - (30 sec in block)
sshagent block - (29 sec in block)
sh - (29 sec in self)
git clone ${TARGET_REPO} .
git checkout ${BRANCH_NAME}
stage - (4.5 sec in block) Build website (master) with Hugo
stage block (Build website (master) with Hugo) - (4.5 sec in block)
container - (4.3 sec in block) hugo
container block - (4.2 sec in block)
dir - (3.5 sec in block) hugo/websites/www.eclipse.org-app4mc-hugo/site
dir block - (3.5 sec in block)
sh - (2.9 sec in self) hugo -b ${TARGET_ADDRESS}
stage - (0.29 sec in block) Build website (staging) with Hugo
stage block (Build website (staging) with Hugo) - (0.27 sec in block)
stage - (8.9 sec in block) Push to $env.BRANCH_NAME branch
stage block (Push to $env.BRANCH_NAME branch) - (8.9 sec in block)
sh - (0.75 sec in self) rm -rf www/* && cp -Rvf hugo/${SOURCE_PATH}/public/* www/
dir - (8 sec in block) www
dir block - (8 sec in block)
sshagent - (8 sec in block)
sshagent block - (5.5 sec in block)
sh - (5.5 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