Hi,
I am willing to put three windows batch command option (one in each
optionalblock segment) in custom build step which I have developed.
Please find my config,jelly and java code below. What changes I need to
done to achieve the same.
JAVA File
import
Thanks for suggestions. I am able to build a custom build step now
successfully. Final code looks like this.
JAVA File
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.QueryParameter;
import hudson.Extension;
import hudson.model.AbstractProject;
import
> On 17.10.2016, at 20:07, Kul Bhushan Srivastava wrote:
>
> Please suggest.
I don't know what else is wrong. Compare what you did with the mvn hpi plugin
archetype, it basically does exactly what you're doing, and it works.
mvn -U
Hi Daniel,
I have made my changes as suggested by You. Now my java file looks like.
import hudson.task.Builder;
import org.kohsuke.stapler.DataBoundConstructor;
public class BuildStepCreation extends Builder{
private final String task;
// Fields in config.jelly must match the
Hi Daniel,
I have made my changes as suggested by You. Now my java file looks like.
import hudson.task.Builder;
import org.kohsuke.stapler.DataBoundConstructor;
public class BuildStepCreation extends Builder{
private final String task;
// Fields in config.jelly must match the
Hi Daniel,
I have made my changes as suggested by You. Now my java file looks like.
package com.oracle.siebel.jenkins;
import hudson.task.Builder;
import org.kohsuke.stapler.DataBoundConstructor;
public class BuildStepCreation extends Builder{
private final String task;
// Fields
> On 17.10.2016, at 08:23, Kul Bhushan Srivastava wrote:
>
> public String getTask() {
> @Extension
> public static class Descriptor extends BuildStepDescriptor {
Correction, the descriptor (second listing) is there, but not done correctly.
The static
> On 17.10.2016, at 08:23, Kul Bhushan Srivastava wrote:
>
> The java code looks like
Follow the rest of the instructions. You're not done after the first listing, a
third into the first section of the tutorial.
--
You received this message because you are subscribed to
Hi Daniel,
Thanks for your response.
I am using the sample java code demonstrated in the following link
https://wiki.jenkins-ci.org/display/JENKINS/Create+a+new+Plugin+with+a+custom+build+Step
> On 15.10.2016, at 17:36, Kul Bhushan Srivastava wrote:
>
> the same is not achieved
You need to provide much more information than this.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
--
You received this message because you are subscribed to the Google
10 matches
Mail list logo