if the old tests will be deprecated and removed sooner than later, cannot you just use the https://jenkins.io/doc/pipeline/steps/pipeline-build-step/#build-build-a-job step?
Then, the Jenkinsfile will trigger two parallel branches, the first one about the new tests using whatever is part of the jenkinsfile for running the new tests, and the second branch will be to trigger another traditional jenkins job which will run the old test (using the above build step) I don't know if it makes sense in your case, but I guess it might simplify the pipeline tweaking. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2e86b76c-03c2-4fbd-a5b4-365b984e9f14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.