Pipeline has run successfully, but does not define any stages

I build the pipeline and it run successfully but the check validation is failed and I get the build status in Jenkins build status dashboard
" This Pipeline has run successfully, but does not define any stages. Please use the stage step to define some stages in this Pipeline."

The issue is at this lab >> “Jenkins Project: Building CI/CD Pipeline for Scalable Web Applications Course | KodeKloud

I will be thankful if anyone suggest me about the issue and how should I troubleshoot the issue.




This appears to be a flaw in the lab setup; essentially none of the plugins you need to run the lab are installed in Jenkins, and looking at solutions tabs for the lab, it looks as if this was not the intention for running the lab as we wanted it to run. I’ve posted a ticket with the lab team to fix it.

In the meantime, you can get the lab to run and validate if you install some of the missing plugins. This is described in this post from the Jenkins community site.

2 Likes

By any chance did you resolve this issue ?

yes, I resolved the issue by installing Pipeline:Declarative module manually

1 Like

Same here, Thanks for the reply :slight_smile:

1 Like