diff --git a/staticweb/pipeline-templates/kde-org-applications.pipeline b/staticweb/pipeline-templates/kde-org-applications.pipeline index 38ecb07..e403014 100644 --- a/staticweb/pipeline-templates/kde-org-applications.pipeline +++ b/staticweb/pipeline-templates/kde-org-applications.pipeline @@ -1,53 +1,52 @@ // Request a node to be allocated to us node( "SUSEWeb" ) { // We want Timestamps on everything timestamps { // We want to catch any errors that occur to allow us to send out notifications (ie. emails) if needed catchError { // First Thing: Checkout Sources stage('Checkout Sources') { // Make sure we have a clean slate to begin with deleteDir() // Appstream Metadata Extractor checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'extractor/']], userRemoteConfigs: [[url: "https://anongit.kde.org/websites/kde-org-applications-extractor"]] ] // Applications subsite code checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'site/']], userRemoteConfigs: [[url: "https://anongit.kde.org/websites/kde-org-applications"]] ] } // Let's build website now stage('Website build') { sh """ export LANG=en_US.UTF-8 cd extractor/ gem install --user -g Gemfile ruby appstream.rb ruby appstream_mkindex.rb cd ../ - composer install --optimize-autoloader mv extractor/appdata-extensions/ site/ mv appdata/ icons/ thumbnails/ index.json site/ """ } // Deploy the website! stage('Publishing Website') { sh """ rsync -Hrlpvc --delete -e "ssh -i $HOME/WebsitePublishing/website-upload.key" site/ sitedeployer@nicoda.kde.org:${deploypath} """ } } } }