ok so I think I was wrong in using gobuild method within the groovy file, 
but I still think this issue is relevant to Jenkins developer group.

This plugin I am developing basically calls and maintains some command line 
instructions that is implemented as a class that extends to Builder and 
implements SimpleBuildStep. So basically I can use this plugin added as a 
buildstep in a  freestyle project:

<https://lh3.googleusercontent.com/-3rLDzH9_9Do/Wk1MbJj2BII/AAAAAAAAAF0/10BQumE-1lollfuosHYggv0gw03SRGiewCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B1.29.52%2BPM.png>

Now I want to extend DSL so that this BuildStep plugin can be called from a 
pipeline script. Please guide me on how to achieve this.

Thanks,
Rijo

On Wednesday, January 3, 2018 at 10:25:43 AM UTC-8, Jesse Glick wrote:
>
> On Wed, Jan 3, 2018 at 1:12 PM, Rijo Simon <[email protected] 
> <javascript:>> wrote: 
> >    gobuild product: "${gobuild_params.product ?: 'copytest64'}", branch: 
> > "${gobuild_params.branch ?: 'stage'}", changeset: 
> > "${gobuild_params.changeset ?: 'latest'}", buildType: 
> > "${gobuild_params.buildType ?: 'beta'}" 
>
> Whatever this `gobuild` method is supposed to be, it is not defined. A 
> question for the users’ list. 
>

-- 
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/2f2b184e-4e21-46c3-8fdb-fd5e7af0327c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to