diff --git a/staticweb/hig-kde-org.pipeline b/staticweb/hig-kde-org.pipeline index 2d9d514..ce8ba4f 100644 --- a/staticweb/hig-kde-org.pipeline +++ b/staticweb/hig-kde-org.pipeline @@ -1,35 +1,35 @@ // Request a node to be allocated to us node( "StaticWeb" ) { // 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() // Code checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: gitBranch]], userRemoteConfigs: [[url: gitUrl]] ] } // Let's build website now stage('Website build') { sh """ mkdir \$WORKSPACE/_site/ - sphinx-build -a \$WORKSPACE/HIG \$WORKSPACE/_site/ + sphinx-build -a \$WORKSPACE/HIG/source \$WORKSPACE/_site/ """ } // Deploy the website! stage('Publishing Website') { sh """ rsync -Hav --delete -e "ssh -i $HOME/WebsitePublishing/website-upload.key" _site/ sitedeployer@olios.kde.org:${deploypath} """ } } } }