Update Jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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/"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user