-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove website and update site upload from jenkinsfile (#991)
- Loading branch information
Showing
1 changed file
with
0 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,40 +241,6 @@ spec: | |
} | ||
} | ||
} | ||
|
||
stage('Website') { | ||
steps { | ||
container('hugo') { | ||
dir ('elk/docs') { | ||
sh "hugo" | ||
} | ||
} | ||
} | ||
} | ||
|
||
stage('Publish') { | ||
steps { | ||
// Zip the update site | ||
dir ('elk/build/org.eclipse.elk.repository/target/repository') { | ||
sh "zip -r elk-${params.VERSION}.zip *" | ||
} | ||
|
||
// Zip the website, put the zip file into the update site directory as well | ||
dir ('elk/docs/public') { | ||
sh "zip -r ../../build/org.eclipse.elk.repository/target/repository/elk-${params.VERSION}-docs.zip *" | ||
} | ||
|
||
// Deploy the previously built artifacts | ||
container('jnlp') { | ||
// Deploy update site folder | ||
sshagent(['projects-storage.eclipse.org-bot-ssh']) { | ||
sh "ssh [email protected] rm -rfv ${params.ELK_TARGET_DIR}" | ||
sh "ssh [email protected] mkdir -pv ${params.ELK_TARGET_DIR}" | ||
sh "scp -vr elk/build/org.eclipse.elk.repository/target/repository/* [email protected]:${params.ELK_TARGET_DIR}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
post { | ||
|