Skip to content

Commit 03c0ceb

Browse files
authored
remove website and update site upload from jenkinsfile (#991)
1 parent c786785 commit 03c0ceb

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

build/Jenkinsfile

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -241,40 +241,6 @@ spec:
241241
}
242242
}
243243
}
244-
245-
stage('Website') {
246-
steps {
247-
container('hugo') {
248-
dir ('elk/docs') {
249-
sh "hugo"
250-
}
251-
}
252-
}
253-
}
254-
255-
stage('Publish') {
256-
steps {
257-
// Zip the update site
258-
dir ('elk/build/org.eclipse.elk.repository/target/repository') {
259-
sh "zip -r elk-${params.VERSION}.zip *"
260-
}
261-
262-
// Zip the website, put the zip file into the update site directory as well
263-
dir ('elk/docs/public') {
264-
sh "zip -r ../../build/org.eclipse.elk.repository/target/repository/elk-${params.VERSION}-docs.zip *"
265-
}
266-
267-
// Deploy the previously built artifacts
268-
container('jnlp') {
269-
// Deploy update site folder
270-
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
271-
sh "ssh genie.elk@projects-storage.eclipse.org rm -rfv ${params.ELK_TARGET_DIR}"
272-
sh "ssh genie.elk@projects-storage.eclipse.org mkdir -pv ${params.ELK_TARGET_DIR}"
273-
sh "scp -vr elk/build/org.eclipse.elk.repository/target/repository/* genie.elk@projects-storage.eclipse.org:${params.ELK_TARGET_DIR}"
274-
}
275-
}
276-
}
277-
}
278244
}
279245

280246
post {

0 commit comments

Comments
 (0)