diff --git a/Jenkinsfile b/Jenkinsfile index e31dadfca482d13911a9ff5dc755479a15f60a2f..fc0e1da383e4734134d126a605e1c56f245ed63e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,11 +7,17 @@ pipeline { def singlyQuoted='hello' def doublyQuoted="world" - echo 'hello mr. ${singlyQuoted}' - echo "i said hello mr. ${doublyQuoted}" + stages { + stage('echo'){ + steps{ + echo 'hello mr. ${singlyQuoted}' + echo "i said hello mr. ${doublyQuoted}" + } + } + stage('Git Checkout') { steps { checkout([$class: 'GitSCM', branches: [[name: '$Branches']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'a97e0ce1-814b-4e7d-832a-4ac3eed72506', url: 'git@gitlab.schbrain.com:zhangdongdong/test.git']]])