On Thursday, 20 August 2015 20:04:33 UTC+5:30, Jesse Glick wrote:
>
> On Thu, Aug 20, 2015 at 5:21 AM, Vinodhini Vijay 
> <[email protected] <javascript:>> wrote: 
> > I just now upgraded Workflow plugin to 1.9 version. I could see "General 
> Build Wrapper". 
>
> Progress… 
>
> > But the problem is, my build wrapper plugin is not listed in the Build 
> > Wrapper drop down list. Not sure whats the issue? 
>
> Not sure either. Do you have a `BuildWrapperDescriptor` registered 
> with `@Extension`, as 
>
>
> https://github.com/jenkinsci/workflow-plugin/blob/28c9600d1c623779b62e2e46e187671671501a21/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java#L141-L149
>  
>
> expects? 


This worked!! .. I was using Descriptor<BuildWrapper> instead of 
BuildWrapperDescriptor. I had 
https://github.com/jenkinsci/pre-scm-buildstep-plugin/blob/master/src/main/java/org/jenkinsci/plugins/preSCMbuildstep/PreSCMBuildStepsWrapper.java
 
as reference.

Thank you!
 

> Did you `mvn clean hpi:run`? From `/script` try 
>
> println(ExtensionList.lookup(BuildWrapperDescriptor)); 
> println(Jenkins.instance.getDescriptorByType(org.jenkinsci.plugins.workflow.steps.CoreWrapperStep.DescriptorImpl).applicableDescriptors);
>  
>
>

On Thursday, 20 August 2015 20:04:33 UTC+5:30, Jesse Glick wrote:
>
> On Thu, Aug 20, 2015 at 5:21 AM, Vinodhini Vijay 
> <[email protected] <javascript:>> wrote: 
> > I just now upgraded Workflow plugin to 1.9 version. I could see "General 
> Build Wrapper". 
>
> Progress… 
>
> > But the problem is, my build wrapper plugin is not listed in the Build 
> > Wrapper drop down list. Not sure whats the issue? 
>
> Not sure either. Do you have a `BuildWrapperDescriptor` registered 
> with `@Extension`, as 
>
>
> https://github.com/jenkinsci/workflow-plugin/blob/28c9600d1c623779b62e2e46e187671671501a21/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java#L141-L149
>  
>
> expects? Did you `mvn clean hpi:run`? From `/script` try 
>
> println(ExtensionList.lookup(BuildWrapperDescriptor)); 
> println(Jenkins.instance.getDescriptorByType(org.jenkinsci.plugins.workflow.steps.CoreWrapperStep.DescriptorImpl).applicableDescriptors);
>  
>
>

On Thursday, 20 August 2015 20:04:33 UTC+5:30, Jesse Glick wrote:
>
> On Thu, Aug 20, 2015 at 5:21 AM, Vinodhini Vijay 
> <[email protected] <javascript:>> wrote: 
> > I just now upgraded Workflow plugin to 1.9 version. I could see "General 
> Build Wrapper". 
>
> Progress… 
>
> > But the problem is, my build wrapper plugin is not listed in the Build 
> > Wrapper drop down list. Not sure whats the issue? 
>
> Not sure either. Do you have a `BuildWrapperDescriptor` registered 
> with `@Extension`, as 
>
>
> https://github.com/jenkinsci/workflow-plugin/blob/28c9600d1c623779b62e2e46e187671671501a21/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java#L141-L149
>  
>
> expects? Did you `mvn clean hpi:run`? From `/script` try 
>
> println(ExtensionList.lookup(BuildWrapperDescriptor)); 
> println(Jenkins.instance.getDescriptorByType(org.jenkinsci.plugins.workflow.steps.CoreWrapperStep.DescriptorImpl).applicableDescriptors);
>  
>
>

On Thursday, 20 August 2015 20:04:33 UTC+5:30, Jesse Glick wrote:
>
> On Thu, Aug 20, 2015 at 5:21 AM, Vinodhini Vijay 
> <[email protected] <javascript:>> wrote: 
> > I just now upgraded Workflow plugin to 1.9 version. I could see "General 
> Build Wrapper". 
>
> Progress… 
>
> > But the problem is, my build wrapper plugin is not listed in the Build 
> > Wrapper drop down list. Not sure whats the issue? 
>
> Not sure either. Do you have a `BuildWrapperDescriptor` registered 
> with `@Extension`, as 
>
>
> https://github.com/jenkinsci/workflow-plugin/blob/28c9600d1c623779b62e2e46e187671671501a21/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java#L141-L149
>  
>
> expects? Did you `mvn clean hpi:run`? From `/script` try 
>
> println(ExtensionList.lookup(BuildWrapperDescriptor)); 
> println(Jenkins.instance.getDescriptorByType(org.jenkinsci.plugins.workflow.steps.CoreWrapperStep.DescriptorImpl).applicableDescriptors);
>  
>
>

On Thursday, 20 August 2015 20:04:33 UTC+5:30, Jesse Glick wrote:
>
> On Thu, Aug 20, 2015 at 5:21 AM, Vinodhini Vijay 
> <[email protected] <javascript:>> wrote: 
> > I just now upgraded Workflow plugin to 1.9 version. I could see "General 
> Build Wrapper". 
>
> Progress… 
>
> > But the problem is, my build wrapper plugin is not listed in the Build 
> > Wrapper drop down list. Not sure whats the issue? 
>
> Not sure either. Do you have a `BuildWrapperDescriptor` registered 
> with `@Extension`, as 
>
>
> https://github.com/jenkinsci/workflow-plugin/blob/28c9600d1c623779b62e2e46e187671671501a21/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStep.java#L141-L149
>  
>
> expects? Did you `mvn clean hpi:run`? From `/script` try 
>
> println(ExtensionList.lookup(BuildWrapperDescriptor)); 
> println(Jenkins.instance.getDescriptorByType(org.jenkinsci.plugins.workflow.steps.CoreWrapperStep.DescriptorImpl).applicableDescriptors);
>  
>
>

-- 
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/ca3fa616-32bd-42ed-8b1d-b76937608152%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to