On Tue, Apr 23, 2019 at 5:47 AM Ullrich Hafner <
ullrich...@gmail.com> wrote:
> Is it possible, to specify a different minimum Jenkins version in a plugin for the runtime and the tests?
Unfortunately it is not.
> Currently my plugin is compatible with Jenkins 2.89.1 (from an API point of view).
>
> However, due to some dependencies in my integration tests (declarative pipeline, etc.) the tests that use Jenkins test harness and the injected tests fail since they want a dependency to a Jenkins version >= 2.150.1.
Then you need to choose. Either update your `jenkins.version` to
something less ancient, which is what I recommend; or adjust your
integration tests to use older versions of dependencies which are
still compatible with 2.89.1.