-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathJenkinsfile
46 lines (40 loc) · 1.01 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pipeline {
agent any
stages {
stage('Dev Build') {
steps {
echo 'Dev Build to Start'
git(url: 'https://github.com/LeafPages/EyeManage', branch: 'master', poll: true)
bat(script: 'mvn install', label: 'Dev')
}
}
stage('Smoke Test') {
steps {
echo 'Smoke test is going to start'
git(url: 'https://github.com/LeafPages/EyeAutomation', branch: 'master', poll: true)
bat(script: 'mvn test -DEnvironment=Dev', label: 'Dev Smoke')
}
}
stage('Deploy in QA') {
steps {
echo 'SSH into AWS and Move the build'
}
}
stage('Sanity Test in QA') {
steps {
echo 'About to run Sanity in QA'
bat(script: 'mvn test -DEnvironment=QA', label: 'Maven QA')
}
}
stage('Ceritication') {
steps {
input(message: 'Are you sure to certify this?', ok: 'Yes')
}
}
stage('Deploy into UAT') {
steps {
echo 'Deployed in UAT (SSH into UAT AWS)'
}
}
}
}