Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ab1aba87 authored by Ben Cooksley's avatar Ben Cooksley

Remove syntax Groovy doesn't like

parent f140832b
......@@ -15,22 +15,17 @@ timestamps {
userRemoteConfigs: [[url: 'https://anongit.kde.org/websites/plasma-mobile-org.git']]
]
}
// Let's build website now
stage('Website build') {
sh """
cd plasma-mobile-org/
#pluto update planet.ini
#ruby -r 'jekyll/planet' -e 'JekyllPlanet.main'
# Workaround for non-complete image urls in Bhushan Shah's blog
#for post in _posts/*; do
# if grep "author:" $post | grep "Bhushan Shah" >/dev/null; then
# sed -i -e 's_/images_http://blog.bshah.in/images_g' $post
# fi
#done
jekyll build
cd _site; tar cvzf ../plasma-mobile-org.tar.gz .
cd _site
tar cvzf ../plasma-mobile-org.tar.gz .
"""
}
// Grab the website repository (for later deployment)
stage('Capturing Artifacts') {
archiveArtifacts artifacts: '*.tar.gz', onlyIfSuccessful: true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment