Skip to content
StepArgumentsStatus
Start of Pipeline - (3 min 50 sec in block)
echo - (4 ms in self)[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (3 min 48 sec in block)
podTemplate block - (3 min 47 sec in block)
node - (3 min 46 sec in block)hugo-agent
node block - (3 min 16 sec in block)
dir - (44 sec in block)hugo
dir block - (43 sec in block)
stage - (42 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (41 sec in block)
checkout - (41 sec in self)
withEnv - (2 min 30 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (2 min 30 sec in block)
withEnv - (2 min 27 sec in block)PROJECT_BOT_NAME, BRANCH_NAME, PROJECT_NAME
withEnv block - (2 min 26 sec in block)
stage - (34 sec in block)Checkout www repo
stage block (Checkout www repo) - (33 sec in block)
dir - (27 sec in block)www
dir block - (27 sec in block)
sshagent - (26 sec in block)
sshagent block - (24 sec in block)
sh - (23 sec in self) git clone git@github.com:eclipse-sw360/sw360.website.published.git . git checkout ${BRANCH_NAME}
stage - (1 min 25 sec in block)Build main website with Hugo
stage block (Build main website with Hugo) - (1 min 24 sec in block)
container - (1 min 17 sec in block)hugo
container block - (1 min 17 sec in block)
dir - (1 min 16 sec in block)hugo
dir block - (1 min 15 sec in block)
sh - (0.79 sec in self)mkdir -p themes/docsy
sh - (1 min 14 sec in self)hugo -b https://www.eclipse.org/sw360/
stage - (5.4 sec in block)Build staging website with Hugo
stage block (Build staging website with Hugo) - (4.4 sec in block)
stage - (18 sec in block)Push www
stage block (Push www) - (18 sec in block)
sh - (0.92 sec in self)rm -rf www/* && cp -Rvf hugo/public/* www/
dir - (10 sec in block)www
dir block - (10 sec in block)
sshagent - (9.4 sec in block)
sshagent block - (8.1 sec in block)
sh - (7.5 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 changes have been detected since last build, nothing to publish" fi