Jenkinsfile parsing/testing/manipulating - Does it work? #4559
-
I need to modify some Jenkinsfile and started out with a test similar to this and impl code that uses your rewriteRun(
//language=groovy
groovy(
"""
@Library('hello')_
somePipeline {
}
""",
"""
@Library('hello')_
somePipeline {
defaults = someDefaults()
}
""",
spec -> spec.path("Jenkinsfile")
)
); When I run this via JUnit, I get:
I assume this is happening because it's using your
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Currently, I'm omitting Jenkinsfile DSL stuff like |
Beta Was this translation helpful? Give feedback.
I do wish github would link these like it does with issues/prs.