Dependency to which workflow plugin to get a Freestyle Recorder?

8 views
Skip to first unread message

Ullrich Hafner

unread,
Sep 8, 2018, 4:57:16 PM9/8/18
to Jenkins Developers
I have written an integration test that uses my Freestyle Recorder (SimpleBuildStep) as a step in a pipeline. When I start the tests then the pipeline symbol ist not available in the integration test. Seems that I’m missing a dependency for the tests (in Jenkins everything works fine).

Currently I’m using the following deps, which plugin is missing that provides the Freestyle to Step adapter?

<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>2.13</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
<version>2.16</version>
<scope>test</scope>
</dependency>
<!-- Groovy -->
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-cps</artifactId>
<version>2.42</version>
<scope>test</scope>
</dependency>
<!-- stage -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>pipeline-stage-step</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<!-- node -->
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-durable-task-step</artifactId>
<version>2.16</version>
<scope>test</scope>
</dependency>

signature.asc

Jesse Glick

unread,
Sep 10, 2018, 12:54:38 PM9/10/18
to Jenkins Dev
On Sat, Sep 8, 2018 at 4:57 PM Ullrich Hafner <ullrich...@gmail.com> wrote:
> Currently I’m using the following deps, which plugin is missing that provides the Freestyle to Step adapter?

`workflow-basic-steps`
Reply all
Reply to author
Forward
0 new messages