aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/jenkins/build.groovy
blob: 317051015044ba7fc8bbc7dad80c8a9dbaafd422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def buildProject() {
	stage 'Build Git Project'
	wrap([$class: 'ConfigFileBuildWrapper', managedFiles: [[fileId: 'eb0c7cc1-e851-4bc2-9401-2680c225f88c', targetLocation: '', variable: 'MAVEN_SETTINGS']]]) {
	mvn '-s $MAVEN_SETTINGS -f pom.xml'
}
}

def mvn(args) {
    sh "${tool 'maven3'}/bin/mvn ${args} ${MAVEN_GOALS}"
}

return this