Skip to content
StepArgumentsStatus
Start of Pipeline - (5 min 38 sec in block)
echo - (2 ms in self)[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
podTemplate - (5 min 35 sec in block)
podTemplate block - (5 min 35 sec in block)
node - (5 min 33 sec in block)hugo-agent
node block - (4 min 52 sec in block)
dir - (1 min 28 sec in block)hugo
dir block - (1 min 27 sec in block)
stage - (1 min 26 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (1 min 25 sec in block)
checkout - (1 min 25 sec in self)
withEnv - (3 min 22 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (3 min 22 sec in block)
withEnv - (3 min 19 sec in block)PROJECT_BOT_NAME, BRANCH_NAME, PROJECT_NAME
withEnv block - (3 min 18 sec in block)
stage - (52 sec in block)Checkout www repo
stage block (Checkout www repo) - (51 sec in block)
dir - (46 sec in block)www
dir block - (45 sec in block)
sshagent - (44 sec in block)
sshagent block - (41 sec in block)
sh - (40 sec in self) git clone git@github.com:eclipse-sw360/sw360.website.published.git . git checkout ${BRANCH_NAME}
stage - (1 min 50 sec in block)Build main website with Hugo
stage block (Build main website with Hugo) - (1 min 49 sec in block)
container - (1 min 42 sec in block)hugo
container block - (1 min 42 sec in block)
dir - (1 min 41 sec in block)hugo
dir block - (1 min 41 sec in block)
sh - (0.84 sec in self)mkdir -p themes/docsy
sh - (1 min 39 sec in self)hugo --minify -b https://www.eclipse.org/sw360/
stage - (5.5 sec in block)Build staging website with Hugo
stage block (Build staging website with Hugo) - (4.4 sec in block)
stage - (27 sec in block)Push www
stage block (Push www) - (27 sec in block)
sh - (1.2 sec in self)rm -rf www/* && cp -Rvf hugo/public/* www/
dir - (19 sec in block)www
dir block - (18 sec in block)
sshagent - (17 sec in block)
sshagent block - (16 sec in block)
sh - (15 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