@@ -88,7 +88,7 @@ withPipeline(type, product, component) {
8888 env. TEST_URL = " http://rd-user-profile-api-aat.aat.platform.hmcts.net"
8989 }
9090
91- afterSuccess (' sonarscan' ) {
91+ afterAlways (' sonarscan' ) {
9292
9393 publishHTML target : [
9494 allowMissing : true ,
@@ -109,7 +109,7 @@ withPipeline(type, product, component) {
109109 ]
110110 }
111111
112- afterSuccess (' smoketest:preview' ) {
112+ afterAlways (' smoketest:preview' ) {
113113 publishHTML target : [
114114 allowMissing : true ,
115115 alwaysLinkToLastBuild : true ,
@@ -120,7 +120,7 @@ withPipeline(type, product, component) {
120120 ]
121121 }
122122
123- afterSuccess (' smoketest:aat' ) {
123+ afterAlways (' smoketest:aat' ) {
124124 publishHTML target : [
125125 allowMissing : true ,
126126 alwaysLinkToLastBuild : true ,
@@ -131,7 +131,7 @@ withPipeline(type, product, component) {
131131 ]
132132 }
133133
134- afterSuccess (' functionalTest:aat' ) {
134+ afterAlways (' functionalTest:aat' ) {
135135 steps. archiveArtifacts allowEmptyArchive : true , artifacts : ' **/site/serenity/**/*'
136136 publishHTML target : [
137137 allowMissing : true ,
@@ -143,7 +143,7 @@ withPipeline(type, product, component) {
143143 ]
144144 }
145145
146- afterSuccess (' functionalTest:preview' ) {
146+ afterAlways (' functionalTest:preview' ) {
147147 steps. archiveArtifacts allowEmptyArchive : true , artifacts : ' **/site/serenity/**/*'
148148 publishHTML target : [
149149 allowMissing : true ,
@@ -155,7 +155,7 @@ withPipeline(type, product, component) {
155155 ]
156156 }
157157
158- afterSuccess (' pact-provider-verification' ) {
158+ afterAlways (' pact-provider-verification' ) {
159159 publishHTML target : [
160160 allowMissing : true ,
161161 alwaysLinkToLastBuild : true ,
0 commit comments