Skip to content

Commit 6ccdbfb

Browse files
committed
fix: Debugging Jenkins pipeline
1 parent bab05d7 commit 6ccdbfb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ spec:
6969
container('hugo') {
7070
dir('hugo') {
7171
sh 'mkdir -p themes/docsy'
72-
sh 'hugo --minify -b https://www.eclipse.org/sw360/'
72+
sh 'hugo version'
73+
sh 'hugo build --ignoreCache --gc --enableGitInfo --cleanDestinationDir --minify -b https://www.eclipse.org/sw360/'
7374
}
7475
}
7576
}
@@ -83,7 +84,8 @@ spec:
8384
container('hugo') {
8485
dir('hugo') {
8586
sh 'mkdir -p themes/docsy'
86-
sh 'hugo --minify -b https://www.eclipse.org/${PROJECT_NAME}/'
87+
sh 'hugo version'
88+
sh 'hugo build --ignoreCache --gc --enableGitInfo --cleanDestinationDir --minify -b https://www.eclipse.org/${PROJECT_NAME}/'
8789
}
8890
}
8991
}

0 commit comments

Comments
 (0)