Jenkinsfile parsing/testing/manipulating - Does it work? #4559
Unanswered
crankydillo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Currently, I'm omitting Jenkinsfile DSL stuff like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to modify some Jenkinsfile and started out with a test similar to this and impl code that uses your
TreeVisitingPrinter
:When I run this via JUnit, I get:
I assume this is happening because it's using your
GroovyParser
, and that understandably doesn't handle this Jenkins DSL thing (I think there's a question somewhere about this).. However, when I use my recipe via the MavenPlugin, the tree printer does seem to walk the statements. So 2 questions.GroovyBuilder
, where I'm overridingservice
...Beta Was this translation helpful? Give feedback.
All reactions