Hi, I followed the nice guide on refactoring my Jenkins plugin to pipeline compatibility given at Jenkins.io. I've stumbled on a strange issue - the snippet generator creates the groovy syntax but without parenthesis and without brackets, which is ok since groovy does support it.
But once i paste in at my job DSL he writes "Unexpected token: "one of the tags" ", if i add the brackets manually - it works! another small issue i've noticed while debugging is that it calls the Class extending "AbstractStepImpl" twice - but I'm not sure it's related... the code is here: https://github.com/YafimK/hp-application-automation-tools-plugin/tree/LoadRunnerPipelineStep/src/main/java/com/hp/application/automation/tools/pipelineSteps that's my current dependency list: <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-step-api</artifactId> <version>${workflow.version}</version> </dependency> <dependency> <!-- Test framework --> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-step-api</artifactId> <version>${workflow.version}</version> <classifier>tests</classifier> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-aggregator</artifactId> <version>${workflow.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-cps</artifactId> <version>${workflow.version}</version> </dependency> and I'm building with 1.642.4 as baseline and parent POM... Is there any known issue or any solution that i've missed (i tried to look at HTML publisher, junit archiver and artifict archiver as reference) ? Thanks ahead, Fima. -- 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/00d6b7f4-58f9-4054-8ddd-0913c08bb407%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
