The most reliable check is to run it in a Jenkins job. If you want to iterate through a series of experimental changes without committing them to the source control system, you can define the Jenkinsfile in the Jenkins job, then edit it from the Jenkins job configuration web page.
If you prefer keeping the Jenkinsfile in source control, then you can use the "Replay" button on the Jenkins job user interface to allow you to edit the Jenkinsfile used for a previous run, making changes as needed, then watching them run. Mark Waite On Wed, Dec 28, 2016 at 5:43 AM Atul Sharma <[email protected]> wrote: > Please tell me how can i check the jenkinsfile systax , I am new in > programming please tell me best way to test the jenkins file , > > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/ae78cf45-c3b0-4c64-944e-7c596e2687b3%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ae78cf45-c3b0-4c64-944e-7c596e2687b3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEYRYU9iymGnbYaqy1gqKCZ0oQTc76kSGMG7hheNGAuCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
