I have one repository on git which having two project (folders) Spring Boot,Angular 8 In different folders
So how can I differ a build configuration in Jenkins Eg angular having 'npm build' And spring having its own.
I have one repository on git which having two project (folders) Spring Boot,Angular 8 In different folders
So how can I differ a build configuration in Jenkins Eg angular having 'npm build' And spring having its own.
You can define multiple stages in your Jenkins pipeline:
node{
stage('Spring project'){
    dir('spring'){
        git branch: 'master', changelog: false, poll: false, url: '/url/git/repo'
        sh 'mvn clean install'
    }
}
stage('Angular project'){
    dir('Angular'){
        git branch: 'master', changelog: false, poll: false, url: '/url/git/repo'
        sh 'build command'
    }
  }
}