From aba8b4fc1ebae08a132feb40b426b59af986b943 Mon Sep 17 00:00:00 2001 From: s444417 Date: Thu, 24 Mar 2022 16:08:04 +0100 Subject: [PATCH] jenkinsfile scm --- Jenkinsfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5cd5fef..bb9385d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,10 @@ -node { - stage('Hello') { - echo "Hello" - } - stage('Goodbye') { - echo 'Time to say goodbye!' +pipeline { + agent any + stages { + stage("Check out from version control") { + steps { + checkout scm + } + } } } \ No newline at end of file