Subject | Hash | Author | Date (UTC) |
---|---|---|---|
[AP] Adding sanity test in dev & prod | ceeabd906af4e2cf2266fa6429fb6a0cef916dce | Pai, Ashwin | 2019-01-31 20:14:35 |
[AP] Check runList exist before accessing it. | 182194ab3988dbd0049005dc97be0cfbdbf16fd0 | Pai, Ashwin | 2019-01-31 17:34:03 |
[AP] Get runList var from the -P command line | 5b6699ca61da8597ba3a7900ab0d14e1b9f35a44 | Pai, Ashwin | 2019-01-31 17:26:19 |
[AP] Fix the credential id for gitlab | 9bba45b10eb93688e11435219a7cdffafbbee8d7 | Pai, Ashwin | 2019-01-31 17:18:45 |
Refactor Jenkins cred | 36acd3adbb192d251ccdc83802fc6a54798d3493 | mandas04 | 2019-01-31 15:55:35 |
Update test cases | 351a1f00250e293ff49fd66c852a3bced9c296be | mandas04 | 2019-01-31 15:21:06 |
Skipped testing during gradle build | 37352f5b876e311a19a8b2aea5759c9c1be8f037 | mandas04 | 2019-01-31 13:29:27 |
Adjust JaCoCo test coverage | 3eca68000e279756223fc5d27accf3a12988ad1d | mandas04 | 2019-01-31 13:17:55 |
update resttemplate configurations | bd1da0c99a2f97c0f7ac1537121a093b7229cba5 | mandas04 | 2019-01-31 13:10:04 |
Refactor test packages | ddc3aae04e4ebceb21b5a421813be6e0cc7733ad | mandas04 | 2019-01-31 11:46:57 |
Refactoring Test packages | e916b5f3f15beb28f5a7373bc046cc81fb2b7630 | mandas04 | 2019-01-31 04:36:10 |
Refactor DockerFile | 90de083d4cb6128977b761994a02b244c8d3cf6c | mandas04 | 2019-01-30 14:31:54 |
Refactor DockerFile | cbf36a94f7e3d7cd6ca2c36279ec5d28886afc54 | mandas04 | 2019-01-30 12:52:25 |
Liquibase setup for dev and prod separately | 93cb8265755e2ceb14c45b1f99e8581aa93155fc | mandas04 | 2019-01-30 12:41:48 |
Sanity test in dev: correct env variable name | f0ecedb119b83f313b5a04e1affb4e1584790ce4 | mandas04 | 2019-01-30 09:47:33 |
Refactor Jenkinsfile | c853f0d754b0c4086e4fb02a0d4776e9865f77f5 | mandas04 | 2019-01-30 09:16:41 |
Put hyphen in place of empty version | c45822e737f1fc38a9498f5c3600de374762c588 | mandas04 | 2019-01-30 09:14:51 |
Plot all applications (reference + reporting) in report | 2c37a8767f97d63ac8c347f33fcc765d08ce1998 | mandas04 | 2019-01-30 06:09:22 |
Setup liquibase for dev and prod separately | 49dc85a8404833ebb7193a396a1ede16dafa32e5 | mandas04 | 2019-01-30 05:44:31 |
Jenkins secret variable udpate | 23ef9bc048d411e15da152aba1d87616bc7c0b97 | mandas04 | 2019-01-30 05:03:31 |
File | Lines added | Lines deleted |
---|---|---|
Jenkinsfile | 51 | 6 |
File Jenkinsfile changed (mode: 100644) (index 60c012d..743ed5c) | |||
... | ... | pipeline{ | |
76 | 76 | } | } |
77 | 77 | } | } |
78 | 78 | ||
79 | /*stage("Sanity test in dev") { | ||
79 | stage("Sanity test in dev") { | ||
80 | 80 | steps { | steps { |
81 | 81 | script | script |
82 | 82 | { | { |
83 | sleep (2*60) // Sleep for 2 mins, waiting the application to be booted up in dev | ||
84 | currentGitCommit = sh(script: 'curl http://int-hos-intapps-nonprod-01.iaas.gha.kfplc.com:9090/v1/currentGitCommit', returnStdout: true) | ||
85 | if ( currentGitCommit != GIT_COMMIT ){ | ||
86 | sh "exit 1" | ||
83 | count=120 | ||
84 | currentGitCommit='' | ||
85 | while(count-- > 0) | ||
86 | { | ||
87 | sleep (5) // Sleep for 5 seconds mins, waiting the application to be booted up in dev. | ||
88 | try { | ||
89 | currentGitCommit = sh(script: 'curl http://int-hos-intapps-nonprod-01.iaas.gha.kfplc.com:9090/v1/currentGitCommit', returnStdout: true) | ||
90 | } | ||
91 | catch(Exception ex) | ||
92 | { | ||
93 | println ex.getMessage() | ||
94 | currentGitCommit='ERROR' | ||
95 | } | ||
96 | if ( currentGitCommit == GIT_COMMIT ){ | ||
97 | break; | ||
98 | } | ||
99 | else if (currentGitCommit.length()==40) | ||
100 | { | ||
101 | error('Commit Mismatch') | ||
102 | } | ||
87 | 103 | } | } |
88 | 104 | } | } |
89 | 105 | } | } |
90 | }*/ | ||
106 | } | ||
91 | 107 | ||
92 | 108 | stage('Setup prod DB instance') { | stage('Setup prod DB instance') { |
93 | 109 | steps{ | steps{ |
... | ... | pipeline{ | |
102 | 118 | ||
103 | 119 | } | } |
104 | 120 | } | } |
121 | |||
122 | stage("Sanity test in Prod") { | ||
123 | steps { | ||
124 | script | ||
125 | { | ||
126 | count=120 | ||
127 | currentGitCommit='' | ||
128 | while(count-- > 0) | ||
129 | { | ||
130 | sleep (5) // Sleep for 5 seconds, waiting the application to be booted up in Prod | ||
131 | try { | ||
132 | currentGitCommit = sh(script: 'curl http://int-hos-intapps-nonprod-01.iaas.gha.kfplc.com:9090/v1/currentGitCommit', returnStdout: true) | ||
133 | } | ||
134 | catch(Exception ex) | ||
135 | { | ||
136 | println ex.getMessage() | ||
137 | currentGitCommit='ERROR' | ||
138 | } | ||
139 | if ( currentGitCommit == GIT_COMMIT ){ | ||
140 | break; | ||
141 | } | ||
142 | else if (currentGitCommit.length()==40) | ||
143 | { | ||
144 | error('Commit Mismatch') | ||
145 | } | ||
146 | } | ||
147 | } | ||
148 | } | ||
149 | } | ||
105 | 150 | } | } |
106 | 151 | } | } |