Re: Jenkins Plugin cannot get called from the pipeline with new syntax

2019-02-26 Thread prasad.pofali via Jenkins Users
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

Re: Jenkins Plugin cannot get called from the pipeline with new syntax

2019-02-25 Thread prasad.pofali via Jenkins Users
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

Jenkins Plugin cannot get called from the pipeline with new syntax

2019-02-22 Thread prasad.pofali via Jenkins Users
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

Re: How to call jenkins custom plugin from Pipeline

2019-02-22 Thread prasad.pofali via Jenkins Users
, 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

How to call jenkins custom plugin from Pipeline

2019-02-08 Thread prasad.pofali via Jenkins Users
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