From de1ff1aba7718ed58e40ab1ef6cb08eca9adfca0 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 1 Jun 2025 21:56:59 +0100 Subject: [PATCH] Add scm checkout --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d2197d9..7b37b8c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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