node {
mystep (var: ...) {
...
sh "gradle clean build"
...
}
}
context.setDisposer(new Disposer() {
@Override
public void tearDown(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener)
throws IOException, InterruptedException {
...
}
});
--
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 jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8f8e59ac-2d0e-4391-a4a8-1196ab973639%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.