Switch to multiline steps.
This commit is contained in:
parent
cc07b2eb5a
commit
041d823745
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue