From 33557e56cf53cbb2395dfcff3dc4e77e3a741198 Mon Sep 17 00:00:00 2001 From: zhangdd <86431843@qq.com> Date: Thu, 1 Apr 2021 16:49:57 +0800 Subject: [PATCH] test Signed-off-by: zhangdd <86431843@qq.com> --- Jenkinsfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e31dadf..fc0e1da 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']]]) -- GitLab