forked from secure-device-onboard/all-in-one-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile.yml
26 lines (24 loc) · 922 Bytes
/
Jenkinsfile.yml
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
// This job will be restricted to run only on 'ubuntu18.04-OnDemand' Build machine
node('ubuntu18.04-OnDemand'){
withEnv([
'REPO_PRI=https://github.com/secure-device-onboard/pri',
'REPO_SCT=https://github.com/secure-device-onboard/supply-chain-tools',
'REPO_IOT=https://github.com/secure-device-onboard/iot-platform-sdk',
'REPO_AIO=https://github.com/secure-device-onboard/all-in-one-demo',
])
{
stage('Clone all-in-one-demo'){
cleanWs()
sh 'git clone "${REPO_PRI}"'
sh 'git clone "${REPO_SCT}"'
sh 'git clone "${REPO_IOT}"'
sh 'git clone "${REPO_AIO}"'
}
stage('Build all-in-one-demo'){
sh 'cd $WORKSPACE/pri; mvn clean install'
sh 'cd $WORKSPACE/iot-platform-sdk; mvn clean install'
sh 'cd $WORKSPACE/supply-chain-tools; mvn clean install'
sh 'cd $WORKSPACE/all-in-one-demo; mvn clean install'
}
}
}