Switch to multiline steps.
This commit is contained in:
parent
cc07b2eb5a
commit
041d823745
|
@ -58,12 +58,13 @@ pipeline {
|
|||
stages {
|
||||
stage('clean up before starting') {
|
||||
steps {
|
||||
script {
|
||||
sh '''
|
||||
echo "Create a fresh local repository"
|
||||
rm -rf $MAVEN_LOCAL_REPO
|
||||
mkdir -p $MAVEN_LOCAL_REPO
|
||||
echo "Done with local repository"
|
||||
}
|
||||
'''
|
||||
|
||||
}
|
||||
}
|
||||
stage('build core components') {
|
||||
|
@ -74,12 +75,10 @@ pipeline {
|
|||
build 'authorization-common-library'
|
||||
build 'gxRest'
|
||||
}
|
||||
script {
|
||||
echo "Done with core components"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// post-build actions
|
||||
post {
|
||||
|
|
Loading…
Reference in New Issue