@@ -88,7 +88,7 @@ withPipeline(type, product, component) {
88
88
env. TEST_URL = " http://rd-user-profile-api-aat.aat.platform.hmcts.net"
89
89
}
90
90
91
- afterSuccess (' sonarscan' ) {
91
+ afterAlways (' sonarscan' ) {
92
92
93
93
publishHTML target : [
94
94
allowMissing : true ,
@@ -109,7 +109,7 @@ withPipeline(type, product, component) {
109
109
]
110
110
}
111
111
112
- afterSuccess (' smoketest:preview' ) {
112
+ afterAlways (' smoketest:preview' ) {
113
113
publishHTML target : [
114
114
allowMissing : true ,
115
115
alwaysLinkToLastBuild : true ,
@@ -120,7 +120,7 @@ withPipeline(type, product, component) {
120
120
]
121
121
}
122
122
123
- afterSuccess (' smoketest:aat' ) {
123
+ afterAlways (' smoketest:aat' ) {
124
124
publishHTML target : [
125
125
allowMissing : true ,
126
126
alwaysLinkToLastBuild : true ,
@@ -131,7 +131,7 @@ withPipeline(type, product, component) {
131
131
]
132
132
}
133
133
134
- afterSuccess (' functionalTest:aat' ) {
134
+ afterAlways (' functionalTest:aat' ) {
135
135
steps. archiveArtifacts allowEmptyArchive : true , artifacts : ' **/site/serenity/**/*'
136
136
publishHTML target : [
137
137
allowMissing : true ,
@@ -143,7 +143,7 @@ withPipeline(type, product, component) {
143
143
]
144
144
}
145
145
146
- afterSuccess (' functionalTest:preview' ) {
146
+ afterAlways (' functionalTest:preview' ) {
147
147
steps. archiveArtifacts allowEmptyArchive : true , artifacts : ' **/site/serenity/**/*'
148
148
publishHTML target : [
149
149
allowMissing : true ,
@@ -155,7 +155,7 @@ withPipeline(type, product, component) {
155
155
]
156
156
}
157
157
158
- afterSuccess (' pact-provider-verification' ) {
158
+ afterAlways (' pact-provider-verification' ) {
159
159
publishHTML target : [
160
160
allowMissing : true ,
161
161
alwaysLinkToLastBuild : true ,
0 commit comments