Thanks for the response,

I took a look at your code, but I've not been able to notice any noticeable 
difference.

Here is my code, if you have any idea what's wrong in it:

public class CustomStepExecution extends 
AbstractSynchronousNonBlockingStepExecution<Void> {

    private static final long serialVersionUID = 1L;

    @StepContextParameter
    private transient TaskListener listener;

    @StepContextParameter
    private transient FilePath ws;

    @StepContextParameter
    private transient Run build;

    @StepContextParameter
    private transient Launcher launcher;

    @Inject
    private transient CustomStep step;

    @Override
    protected Void run() {
       //work
        return null;
    }
}



public class CustomStep extends AbstractStepImpl {

    private final String string;

    public String getString() {
        return string;
    }

    @DataBoundConstructor
    public CustomStep(@Nonnull String string) {
        this.string = string
    }

    @Extension
    public static class DescriptorImpl extends AbstractStepDescriptorImpl {

        public DescriptorImpl() {
            super(CustomStepExecution.class);
        }

        @Override
        public String getFunctionName() {
            return "CustomStep";
        }

        @Nonnull
        @Override
        public String getDisplayName() {
            return "Launch Step";
        }        
    }
}




Le lundi 26 septembre 2016 15:53:48 UTC+2, [email protected] a écrit :
>
> If you'd publish some link to your code - I could take a look and see if 
> there's any fix i made that can be relevant for your plugin.
>
> You can also compare here to see if you spot any differences (it's in 
> ongoing work following the comments I got from Jesse but it works)
>
> https://github.com/YafimK/hp-application-automation-tools-plugin/tree/LoadRunnerPipelineStep/src/main/java/com/hp/application/automation/tools/pipelineSteps
>  
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FYafimK%2Fhp-application-automation-tools-plugin%2Ftree%2FLoadRunnerPipelineStep%2Fsrc%2Fmain%2Fjava%2Fcom%2Fhp%2Fapplication%2Fautomation%2Ftools%2FpipelineSteps&sa=D&sntz=1&usg=AFQjCNGWrVTIVdHBkMelZkfjemNU8wMJsQ>
>
> On Monday, September 26, 2016 at 4:13:54 PM UTC+3, Cédric Cousseran wrote:
>>
>> Hi,
>>
>> I've encountered the same issue with my plugin, the syntax of the snippet 
>> generator is not supported.
>> I've tried the solutions you mentioned, without success.
>> Do you have a more precise idea of what caused your issue?
>>
>> Thanks,
>> Cédric Cousseran
>>
>>
>> Le jeudi 1 septembre 2016 14:53:45 UTC+2, Fima a écrit :
>>>
>>> Saw that, but I couldn't find what you've said about the Flow Node... 
>>> I guess I'll look at the code.
>>>
>>>
>>> On Thu, Sep 1, 2016 at 1:54 PM, Jesse Glick <[email protected]> 
>>> wrote:
>>>
>>>>
>>>> https://github.com/jenkinsci/workflow-step-api-plugin/blob/master/README.md
>>>>  
>>>> has some information though it probably needs more. 
>>>> https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md 
>>>> is the landing page.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "Jenkins Developers" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/jenkinsci-dev/34AKdC0SARM/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3c_mY3enmY6jJNFMAiTsOwX55PKxLO6E2vR0Bo4Csf3Q%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3c_mY3enmY6jJNFMAiTsOwX55PKxLO6E2vR0Bo4Csf3Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
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/95eed523-8a96-4595-a995-a0de31e50641%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to