Add scm checkout

This commit is contained in:
Tom Butcher 2025-06-01 21:56:59 +01:00
parent 8bfb22db0f
commit de1ff1aba7

6
Jenkinsfile vendored
View File

@ -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