Step Arguments Status Start of Pipeline - (57 sec in block)
echo - (7 ms in self) [WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (55 sec in block)
podTemplate block - (55 sec in block)
node - (55 sec in block) hugo-agent
node block - (32 sec in block)
dir - (23 sec in block) hugo
dir block - (23 sec in block)
stage - (23 sec in block) Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (23 sec in block)
checkout - (23 sec in self)
withEnv - (9.2 sec in block) GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (9.1 sec in block)
withEnv - (9.1 sec in block) GROUP_NAME, PROJECT_BOT_NAME, SOURCE_PATH, TARGET_ADDRESS, TARGET_REPO, PROJECT_NAME
withEnv block - (9.1 sec in block)
stage - (5.3 sec in block) Checkout www repo
stage block (Checkout www repo) - (5.2 sec in block)
dir - (5.1 sec in block) www
dir block - (5.1 sec in block)
sshagent - (5.1 sec in block)
sshagent block - (3.6 sec in block)
sh - (3.6 sec in self)
git clone ${TARGET_REPO} .
git checkout ${BRANCH_NAME}
stage - (0.94 sec in block) Build website (master) with Hugo
stage block (Build website (master) with Hugo) - (0.91 sec in block)
container - (0.81 sec in block) hugo
container block - (0.8 sec in block)
dir - (0.77 sec in block) hugo/websites/www.eclipse.org-automotive-hugo/site
dir block - (0.72 sec in block)
sh - (0.71 sec in self) hugo -b ${TARGET_ADDRESS}
stage - (85 ms in block) Build website (staging) with Hugo
stage block (Build website (staging) with Hugo) - (58 ms in block)
stage - (2.7 sec in block) Push to $env.BRANCH_NAME branch
stage block (Push to $env.BRANCH_NAME branch) - (2.7 sec in block)
sh - (0.42 sec in self) rm -rf www/* && cp -Rvf hugo/${SOURCE_PATH}/public/* www/
dir - (2.2 sec in block) www
dir block - (2.2 sec in block)
sshagent - (2.2 sec in block)
sshagent block - (0.71 sec in block)
sh - (0.7 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 "${GROUP_NAME}-bot@eclipse.org"
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