-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
43 lines (43 loc) · 996 Bytes
/
Jenkinsfile
File metadata and controls
43 lines (43 loc) · 996 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pipeline {
agent any
tools {
maven 'default'
dockerTool 'default'
allure 'allure'
}
stages {
stage ('Pre-Build Info') {
steps {
sh 'mvn --version'
sh 'java --version'
sh 'docker --version'
sh 'docker-compose --version'
}
}
stage ('Web Application'){
steps {
build job: 'job-build-web-app'
}
}
stage ('User') {
steps {
build job: 'job-build-user-service'
}
}
stage ('Customer') {
steps {
build job: 'job-build-customer-service'
}
}
stage ('Product') {
steps {
build job: 'job-build-product-service'
}
}
stage ('Order') {
steps {
build job: 'job-build-order-service'
}
}
}
}