Hey Everyone,
This has worked great for the various pure docker projects I work on.
I'm looking to expand the library so I could do some before/after steps, which really just include running tests and calling junit(). I'm looking to do it in a nice declarative way though.
So far I came up with passing in a Closure, and calling it as needed inside scripts {} section
```
stage("Extra Steps") {
steps {
script {
if (body) {
body()
}
}
}
}
```
Is there a way to merge in an external jenkinsfile? maybe a load or something? Ideally I'd like to just have body() or something being called instead of stage so I can just add whatever I want.
Anyone have any ideas/solutions?
Gavin