You can validate your Jenkinsfile by sending it to your Jenkinsserver[1]. There is also a VSCode plugin to send it. [2].
[1] https://jenkins.io/doc/book/pipeline/development/ [2] https://jenkins.io/blog/2018/11/07/Validate-Jenkinsfile/ Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Thu, Apr 9, 2020 at 8:21 PM Yeikel <yeike...@gmail.com> wrote: > Besides running the pipeline in a Jenkins instance, is there any other way > to validate Jenkins pipelines? I sometimes see myself running a long > pipeline after a refactor to see a runtime exception (like invalid methods) > > I imagine that setting breakpoints is wishful thinking, but is it possible? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAMMhyA1%2Bt%2BiMWiGN72T%2BWh17SwiDxvq3wrL-brzOYfzVwL511Q%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAMMhyA1%2Bt%2BiMWiGN72T%2BWh17SwiDxvq3wrL-brzOYfzVwL511Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA9S6i4gjzxs871CpGK3qS4wna-9zhmvU%2B_05Kwh%3Dk3FwM7rMw%40mail.gmail.com.