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'
|
env.NODE_ENV = 'production'
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
stage('Checkout') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
|
||||||
stage('Setup Node.js') {
|
stage('Setup Node.js') {
|
||||||
nodejs(nodeJSInstallationName: 'Node23') {
|
nodejs(nodeJSInstallationName: 'Node23') {
|
||||||
sh 'node -v'
|
sh 'node -v'
|
||||||
@ -26,7 +30,7 @@ node {
|
|||||||
remote.name = 'printer1'
|
remote.name = 'printer1'
|
||||||
remote.host = 'printer1.tombutcher.local'
|
remote.host = 'printer1.tombutcher.local'
|
||||||
remote.user = 'ci'
|
remote.user = 'ci'
|
||||||
romote.password = 'ci'
|
remote.password = 'ci'
|
||||||
remote.allowAnyHosts = true
|
remote.allowAnyHosts = true
|
||||||
|
|
||||||
// Copy the build directory to the remote server
|
// Copy the build directory to the remote server
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user