Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit befe93dd authored by Ben Cooksley's avatar Ben Cooksley

Allow the deployment path for Symfony Encore resources to be customised from the jobs.json file.

This will allow us to support multiple jobs in the future without having to duplicate the template.

Also, adapt the Pipeline template to match what we expect to run in production
parent 0681c673
......@@ -156,6 +156,7 @@
"repository": "websites/aether-sass",
"branch" :"master",
"cron": "",
"type": "symfonyencore"
"type": "symfonyencore",
"deploypath": "/srv/www/"
// Request a node to be allocated to us
node( "SUSEWeb" ) {
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
......@@ -17,7 +17,7 @@ timestamps {
// Let's build website now
stage('Build sass and js') {
stage('Build SASS and Javascript') {
sh """
export LANG=en_US.UTF-8
yarn install
......@@ -28,7 +28,7 @@ timestamps {
// Deploy the website!
stage('Publishing to CDN') {
sh """
rsync -Hav --delete -e "ssh -i $HOME/WebsitePublishing/website-upload.key" build/
rsync -Hav --delete -e "ssh -i $HOME/WebsitePublishing/cdn-upload.key" build/${deploypath}
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