I want to modify and add some functions, I'd like to have a different UI..
the existing plugins are just not ideal for our needs and the way we use
Jenkins. That's why I'm writing a new one and I would be really grateful
for any kind of tip regarding the ClearCase issue :)
Am Montag, 13. Oktob
Sorry, the message got messed up. Here's a correct version:
I am currently writing a Jenkins plugin, where I have a button that starts
a build.
In the Java code that is executed when the user clicks the button, there
are some cleartool commands.
First, it creates a view:
Runtime.getRuntime()
I am currently writing a Jenkins plugin, where I have a button that starts
a build.
In the Java code that is executed when the user clicks the button, there
are some cleartool commands.
First, it creates a view:
Runtime.getRuntime().exec("cmd.exe /c cleartool mkview -tag " + viewTag + " " +
v
Help :)
In my plugin I have an additional page (extends Action, DescriptorImpl
extends TransientProjectActionFactory). Here, the user can click on a
button to start the execution of a batch script. The output of these
executions is stored in files and I'd like to make it accessible for the
use
I put something together by looking at the code of the Branch API plugin.
It's not yet doing everything I want it to do.. but we're getting there.
Am Montag, 29. September 2014 16:01:14 UTC+2 schrieb jenkin...@gmail.com:
>
> Hello,
>
> in my plugin I created an extra page with a button on it tha
Okay.. I'll try, really.
So, I included the main-panel section of the console.jelly in my own page,
where I want the console output of some batch commands to be shown.
The "Console Output" heading is displayed - so far so good. Now, "it"
points of course to my Java class, while the methods (getLo
Hello,
in my plugin I created an extra page with a button on it that is connected
to a doConfigSubmit method in the java class.
When the button is clicked several batch commands get executed.
Until now I handle the console output like this:
while ((line = bufferedReader.readLine()) != null) {
Hi,
I need help creating a special button for my plugin.
It should be located on the build page (e.g. jenkins/job/test/1/) and when
the user clicks on it a batch script should be executed.
I found out that I can put stuff on the build page with a java class that
extends InvisibleAction, a descr
Sure, thanks for taking a look at it.
Could the problem be due to the newInstance method? I deleted it by
accident and the dropdown menu stayed. Unfortunately the batch file
execution didn't work any more..
I also have other classes in this plugin that make changes to the job's
configuration pag
I wrote my own Builder class (MyClass extends Builder and DescriptorImpl
extends BuildStepDescriptor). In the corresponding config.jelly I have
a dropdown menu where the user can select a string which is then provided as an
argument to a batch file.
Whenever I choose my builder on the config pa
Thanks for replying!
So now the code looks like this, right?
public class JavaClass implements Action {
private AbstractProject ap;
public String selection;
public JavaClass(AbstractProject ap) {
this.ap = ap;
}
@DataBoundConstructor
public JavaClass(String selection) {
this.sele
Hi all,
I am currently developing my first Jenkins plugin.
I need to have a dropdown menu on the job page that is filled via a java
method, but the jelly and the java file don't seem to work properly
together: There is just an empty dropdown list.
What could be wrong?
*jobMain.jelly*
12 matches
Mail list logo