Switch to multiline steps.

This commit is contained in:
Manuele Simi 2019-05-29 23:25:00 -04:00
parent cc07b2eb5a
commit 041d823745
1 changed files with 8 additions and 9 deletions

17
Jenkinsfile vendored
View File

@ -58,12 +58,13 @@ pipeline {
stages { stages {
stage('clean up before starting') { stage('clean up before starting') {
steps { steps {
script { sh '''
echo "Create a fresh local repository" echo "Create a fresh local repository"
rm -rf $MAVEN_LOCAL_REPO rm -rf $MAVEN_LOCAL_REPO
mkdir -p $MAVEN_LOCAL_REPO mkdir -p $MAVEN_LOCAL_REPO
echo "Done with local repository" echo "Done with local repository"
} '''
} }
} }
stage('build core components') { stage('build core components') {
@ -74,9 +75,7 @@ pipeline {
build 'authorization-common-library' build 'authorization-common-library'
build 'gxRest' build 'gxRest'
} }
script { echo "Done with core components"
echo "Done with core components"
}
} }
} }
} }