diff --git a/staticweb/pipeline-templates/static-git-cdn.pipeline b/staticweb/pipeline-templates/static-git-cdn.pipeline index 097bbe2..f23828f 100644 --- a/staticweb/pipeline-templates/static-git-cdn.pipeline +++ b/staticweb/pipeline-templates/static-git-cdn.pipeline @@ -1,34 +1,34 @@ // 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: repositoryUrl]] ] } // Let's build website now stage('Content Build') { sh """ rm -rf .git/ """ } // Deploy the website! stage('Publishing Website') { sh """ - rsync -Hav --delete -e "ssh -i $HOME/WebsitePublishing/cdn-upload.key" build/ contentdeployer@milonia.kde.org:${deploypath} + rsync -Hav --delete -e "ssh -i $HOME/WebsitePublishing/cdn-upload.key" ./ contentdeployer@milonia.kde.org:${deploypath} """ } } } }