On Monday, February 25, 2019 at 11:29:25 PM UTC+5:30, Richard Bywater wrote:
>
> You'll need to provide some idea of what error/behaviour you are seeing as
> otherwise it's hard to help point you in the right direction.
>
> Richard
>
> On Tue, 26 Feb 2019, 1:17 AM prasa
Richard
>
> On Sat, 23 Feb 2019, 11:25 AM prasad.pofali via Jenkins Users, <
> jenkins...@googlegroups.com > wrote:
>
>> I have developed a custom Jenkins plugin which extends *Recorder *and
>> implements *SimpleBuildStep*. I was calling this plugin using the syntax
I have developed a custom Jenkins plugin which extends *Recorder *and
implements *SimpleBuildStep*. I was calling this plugin using the syntax:
pipeline {
agent any
stages {
stage('Build and Run Tests') {
steps {
step([$class : 'TestClass', name: 'admin
, the one that I mentioned first will work for both freestyle and
> pipeline jobs. In addition, you can add an @Symbol annotation to your
> descriptor and make a shorthand for calling your step instead of having to
> use `step()`
>
> On Fri, Feb 8, 2019, 04:27 prasad.pofali via Jenkins Us
I am referring a custom Jenkins plugin from here
(https://github.com/pritic/testExample)
This plugin is working fine with the traditional approach of building
jenkins jobs.
When I tried to call this plugin using a declarative pipeline, it caused an
exception. The following is the pipeline code