Thanks Guys for helping. I am able to crack it now. After creating below
two files it works.
*First Java File*
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.DataBoundSetter;
import
com.oracle.siebel.jenkins.BuildStepCommandInterpreter.OptionalTextBlock1;
import
Agree with your point.
I have change the code accordingly. Compiles properly through Maven. But
now Jenkins at Runtime throwing exception when saving the job
configuration, saying -
Caused by: java.lang.IllegalArgumentException: Failed to instantiate class
com.oracle.siebel.jenkins.ABC from
Agree with your point. Can you help me with the exact code change.
On Wednesday, 16 November 2016 23:00:36 UTC+5:30, Robert Sandell wrote:
>
> Abstract classes cannot be instanciated, so you can't annotate the
> constructor with DataBoundConstructor since the class can't be directly
>
Thanks Robert.
I am facing maven compilation issue. Saying @DataBoundConstructor cannot be
used inside abstract class.
Please suggest.
My Java File:
import org.kohsuke.stapler.DataBoundConstructor;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import
Here are the classes involved in "execute script" step.
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/tasks/BatchFile.java
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/tasks/Shell.java
If anyone can guide how the windows bactch command execution are handled
from backend JAVA API. Then I may create one of my own.
On Monday, 14 November 2016 13:37:49 UTC+5:30, Kul Bhushan Srivastava wrote:
>
>
--
You received this message because you are subscribed to the Google Groups
--
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit