-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
53 lines (51 loc) · 1.34 KB
/
Jenkinsfile
File metadata and controls
53 lines (51 loc) · 1.34 KB
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
44
45
46
47
48
49
50
51
52
53
pipeline {
agent any
stages {
stage('Checkout') {
steps {
// Checkout the source code
git url: 'https://github.com/philipdaquin/java_microservices.git'
}
}
stage('Build discovery service') {
steps {
build '1-discovery-service-pipeline'
}
}
stage('Build Config Service') {
steps {
build '2-config-service-pipeline'
}
}
stage('Build Auth Service') {
steps {
build '3-auth-service-pipeline'
}
}
stage('Build API Gateway') {
steps {
build '3-api-gateway-pipeline'
}
}
stage('Build order service') {
steps {
build '4-order-service-pipeline'
}
}
stage('Build product service') {
steps {
build '5-product-service-pipeline'
}
}
/*
Ansible to deploy new changes to current instance of EKS cluster
*/
stage('Deploy to EKS Cluster') {
steps {
script {
sh 'ansible-playbook ./ansible-server/deployment-playbook.yaml'
}
}
}
}
}