While running a regression FT suite, which worked perfectly earlier through 'Pipeline Script from SCM', I am facing the CI job failure recently as "No such DSL method 'lastSuccessful' found among steps".
Asked
Active
Viewed 105 times
0
-
Please share your Pipeline code. – ycr Oct 11 '22 at 03:42
-
stage (“Post Build”) { // lastSuccessful println(“lastSuccessful” + pwd()) lastSuccessful() } – Divya A Oct 11 '22 at 04:15
-
@DivyaA ycr meant to edit your question with the code and indent it properly so that it is readable. – M B Oct 11 '22 at 06:26