Sorry for the delay, I've been on vacation. With tracing I understood adding output to the code that helps you understanding what happens e.g. variable content,.... For sure that's not the most efficient way and in case your pipeline runs for a time it might get boring....
Am Donnerstag, 9. April 2020 20:55:10 UTC+2 schrieb Yeikel: > > What do you mean with "tracing" ? Running it on an instance? > > On Thu, Apr 9, 2020, 2:48 PM ch.fetzer <[email protected] <javascript:>> > wrote: > >> In jenkinsfile editor of eclipse I noticed some function to give a >> jenkinsfile to Jenkins for validation but I did not get this working up to >> now. >> >> My method to make it work is tracing currently. >> >> -------- Ursprüngliche Nachricht -------- >> Von: Yeikel <[email protected] <javascript:>> >> Datum: 09.04.20 20:21 (GMT+01:00) >> An: [email protected] <javascript:> >> Betreff: How do you debug Jenkins pipelines? >> >> 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 [email protected] <javascript:>. >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/1MGhuU-1jZF4g48HK-00DlcT%40mail.gmx.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/1MGhuU-1jZF4g48HK-00DlcT%40mail.gmx.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/342997a3-17de-4546-a710-4674294258d0%40googlegroups.com.
