Update Jenkinsfile

This commit is contained in:
2025-05-01 21:21:25 +01:00
parent 3fe4659377
commit 624cf64c3b

6
Jenkinsfile vendored
View File

@@ -30,7 +30,7 @@ pipeline {
} }
steps { steps {
git branch: 'master', git branch: 'master',
credentialsId: 'jenkins', credentialsId: 'Git',
url: 'git@git.jakecharman.co.uk:jake/jc-ng.git' url: 'git@git.jakecharman.co.uk:jake/jc-ng.git'
sh "./build.sh registry.jakecharman.co.uk/jakecharman.co.uk $BUILD_NUMBER" sh "./build.sh registry.jakecharman.co.uk/jakecharman.co.uk $BUILD_NUMBER"
@@ -74,7 +74,7 @@ pipeline {
steps { steps {
node('web-staging') { node('web-staging') {
git branch: 'master', git branch: 'master',
credentialsId: 'jenkins', credentialsId: 'Git',
url: 'git@git.jakecharman.co.uk:jake/jc-content.git' url: 'git@git.jakecharman.co.uk:jake/jc-content.git'
sh "rsync -rv --delete ./ /opt/containers/jc/projects/" sh "rsync -rv --delete ./ /opt/containers/jc/projects/"
} }
@@ -115,7 +115,7 @@ pipeline {
steps { steps {
node('web-server') { node('web-server') {
git branch: 'master', git branch: 'master',
credentialsId: 'jenkins', credentialsId: 'Git',
url: 'git@git.jakecharman.co.uk:jake/jc-content.git' url: 'git@git.jakecharman.co.uk:jake/jc-content.git'
sh "rsync -rv --delete ./ /opt/containers/jc/projects/" sh "rsync -rv --delete ./ /opt/containers/jc/projects/"
} }