-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathJenkinsfile
27 lines (22 loc) · 997 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
node {
// Get the maven tool.
// ** NOTE: This 'M3' maven tool must be configured
// ** in the Jenkins global configuration.
def mvnHome = tool 'M3'
sh "echo ${mvnHome}"
// Mark the code checkout 'stage'....
stage 'Checkout'
// Get some code from a GitHub repository
checkout scm
// Mark the code build 'stage'....
stage 'Build ajsc5'
// Run the maven build
//sh for unix bat for windows
//sh "${mvnHome}/bin/mvn -f att-camel-dme2-servlet/pom.xml clean deploy"
//sh "${mvnHome}/bin/mvn -f ajsc5/pom.xml clean deploy"
sh "${mvnHome}/bin/mvn -f cdp-pal/cdp-pal/pom.xml clean deploy"
sh "${mvnHome}/bin/mvn -f cdp-pal/cdp-pal-common/pom.xml clean deploy"
sh "${mvnHome}/bin/mvn -f cdp-pal/cdp-pal-openstack/pom.xml clean deploy"
//sh "${mvnHome}/bin/mvn -f Camunda/sdk-java-camunda-core/pom.xml clean deploy"
//sh "${mvnHome}/bin/mvn -f Camunda/sdk-camunda-archetype/pom.xml clean deploy"
}