|  I am using Jenkins ver. 2.176.3 I have not found "pipeline-model-definition" and "workflow-aggregator" plugins The git repo has multiple branches and below is the Jenkinsfile pileline { agent any stages { stage ('Prepare'){ steps { sh 'rm -rf $JENKINS_HOME/.m2/2.0.0/jars/*' sh 'rm -rf $JENKINS_HOME/.m2/2.0.0/thirdpartyjars/*' } } stage ('Compile stage'){ steps{ withMaven(maven : 'maven305') { sh 'cd xms-server' sh 'mvn -f ci_pom.xml clean install' } } } stage ('Post install'){ steps { sh 'cd ..' sh 'mkdir -p $WORKSPACE/deploy_ready' sh '$WORKSPACE/scripts/artifact_setup.sh $OpcoName' } } } } |