Add scm checkout
This commit is contained in:
parent
8bfb22db0f
commit
de1ff1aba7
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -2,6 +2,10 @@ node {
|
||||
env.NODE_ENV = 'production'
|
||||
|
||||
try {
|
||||
stage('Checkout') {
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage('Setup Node.js') {
|
||||
nodejs(nodeJSInstallationName: 'Node23') {
|
||||
sh 'node -v'
|
||||
@ -26,7 +30,7 @@ node {
|
||||
remote.name = 'printer1'
|
||||
remote.host = 'printer1.tombutcher.local'
|
||||
remote.user = 'ci'
|
||||
romote.password = 'ci'
|
||||
remote.password = 'ci'
|
||||
remote.allowAnyHosts = true
|
||||
|
||||
// Copy the build directory to the remote server
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user