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>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/F701D8AC-7BC7-4C9F-810D-E05FE0CC060C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to