Skip to content
StepArgumentsStatus
Start of Pipeline - (1 min 2 sec in block)
echo - (11 ms in self)[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (1 min 0 sec in block)
podTemplate block - (1 min 0 sec in block)
node - (1 min 0 sec in block)hugo-agent
node block - (37 sec in block)
dir - (18 sec in block)hugo
dir block - (18 sec in block)
stage - (18 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (18 sec in block)
checkout - (18 sec in self)
withEnv - (18 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_URL
withEnv block - (18 sec in block)
withEnv - (18 sec in block)PROJECT_BOT_NAME, PROJECT_SUB, PROJECT_NAME
withEnv block - (18 sec in block)
stage - (9.9 sec in block)Update submodule
stage block (Update submodule) - (9.9 sec in block)
dir - (9.9 sec in block)hugo
dir block - (9.9 sec in block)
sh - (9.8 sec in self)git submodule update --init
stage - (4.5 sec in block)Checkout www repo
stage block (Checkout www repo) - (4.4 sec in block)
dir - (4.4 sec in block)www
dir block - (4.4 sec in block)
sshagent - (4.4 sec in block)
sshagent block - (3.9 sec in block)
sh - (3.8 sec in self) git clone ssh://genie.${PROJECT_NAME}@git.eclipse.org:29418/www.eclipse.org/${PROJECT_NAME}.git . git checkout ${BRANCH_NAME}
stage - (0.24 sec in block)Build website (master) with Hugo
stage block (Build website (master) with Hugo) - (0.23 sec in block)
stage - (2 sec in block)Build website (staging) with Hugo
stage block (Build website (staging) with Hugo) - (2 sec in block)
container - (2 sec in block)hugo
container block - (1.9 sec in block)
dir - (1.9 sec in block)hugo
dir block - (1.9 sec in block)
sh - (1.9 sec in self)hugo -b https://staging.eclipse.org/${PROJECT_NAME}${PROJECT_SUB}/
stage - (1.9 sec in block)Push to $env.BRANCH_NAME branch
stage block (Push to $env.BRANCH_NAME branch) - (1.9 sec in block)
sh - (0.37 sec in self)rm -rf www${PROJECT_SUB}/* && cp -Rvf hugo/public/* www${PROJECT_SUB}/
dir - (1.5 sec in block)www
dir block - (1.5 sec in block)
sshagent - (1.4 sec in block)
sshagent block - (1 sec in block)
sh - (0.99 sec in self) git add -A if ! git diff --cached --exit-code; then echo "Changes have been detected, publishing to repo 'www.eclipse.org/${PROJECT_NAME}'" 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 git push origin HEAD:${BRANCH_NAME} else echo "No change have been detected since last build, nothing to publish" fi