forked from krishnamoorthyvediyappan/Jenkins-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
74 lines (63 loc) · 1.37 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
pipeline {
agent any
stages {
stage('Development') {
steps {
echo 'This is development'
git(url: 'https://github.com/LeafPages/EyeManage', branch: 'master')
}
}
stage('Smoke Test') {
steps {
echo 'Smoke UI Tests'
echo 'Smoke Tests (API)'
}
}
stage('Deploy to QA') {
steps {
echo 'Deploy to AWS QA Server'
}
}
stage('Integration Test') {
parallel {
stage('Integration Test (UI)') {
steps {
echo 'Run Full Selenium Tests'
}
}
stage('Integration Test (API)') {
steps {
echo 'Run All API Tests'
}
}
stage('Performance Testing') {
steps {
echo 'Run All Performance Tests'
}
}
}
}
stage('Deploy to UAT') {
steps {
echo 'Deploy to UAT AWS Server'
}
}
stage('Certify') {
steps {
echo 'Manual Certification Using Inputs'
input(message: 'Do you like to certify?', id: 'Certify', ok: 'Yes')
}
}
stage('Deploy to Prod') {
post {
always {
echo 'Send Email'
}
}
steps {
echo 'Deploy to AWS Prod'
jiraComment(issueKey: 'SFO-107', body: 'This is a comment regarding the quality of the response.')
}
}
}
}