File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments