Re: Build Parameters in Plugin not working

2018-01-24 Thread Jean-Karlo Accetta
18 at 12:10 PM, Jean-Karlo Accetta > > wrote: > > I tried using System.getProperty() but that didn't really work either > > Certainly not—that would be a system property global to the master JVM! > > Try: > > > http://javadoc.jenkins.io/hudson/model/

Build Parameters in Plugin not working

2018-01-24 Thread Jean-Karlo Accetta
Hi all, I created a plugin which adds a build step with a simple textbox to any job. Whenever the job is built, I print out the value of that textbox to the console. The problem is that whenever I set that value to be a parameter of the build (see image), the console simply prints the paramet

Re: How to add a jelly/groovy file to a job's page?

2018-01-10 Thread Jean-Karlo Accetta
*ProjectAction. > > Do you already show something in a build? This class should implement > SimpleBuildstep.LastBuildAction and return the ProjectAction. > > > Am 09.01.2018 um 23:32 schrieb Jean-Karlo Accetta >: > > Hi, > > I'm pretty new to developing plug

How to add a jelly/groovy file to a job's page?

2018-01-09 Thread Jean-Karlo Accetta
Hi, I'm pretty new to developing plugins for Jenkins and can't figure out how to add a script to a job's page (or its builds' summary pages). I tried creating a script and implementing hudson.tasks.Action and creating a src/main/resources/[package]/Foo/summary.jelly file, but doing that doesn'

Re: Errors on plugin development setup

2017-12-28 Thread Jean-Karlo Accetta
> it. > > Hope that helps > Bruno > > Sent from Yahoo Mail on Android > <https://overview.mail.yahoo.com/mobile/?.src=Android> > > On Fri, 29 Dec 2017 at 6:31, Jean-Karlo Accetta > > wrote: > I'm trying to start development of a Jenkins plugin but I can

Errors on plugin development setup

2017-12-28 Thread Jean-Karlo Accetta
I'm trying to start development of a Jenkins plugin but I can't seem to get it started. I've tried following several of the tutorials on the Jenkins pages but the HPI ones end up with the console saying its deprecated and that I should use the archetypes. Those, in turn, end up giving me an e

Re: mvn hpi:run fails with NullPointerException

2017-11-01 Thread Jean-Karlo Accetta
17 at 7:27:33 AM UTC-4, Jesse Glick wrote: > > On Tue, Oct 31, 2017 at 2:47 PM, Jean-Karlo Accetta > > wrote: > > I even tried simply creating a project from > > the hello-world archetype and trying to run that without making any > changes, > > but it also threw

Re: mvn hpi:run fails with NullPointerException

2017-10-31 Thread Jean-Karlo Accetta
17 at 2:39:54 PM UTC-4, Carlos Sanchez wrote: > > Try running mvn package hpi:run > There is a filled issue about that if you have run clean before hpi:run > > On Tue, Oct 31, 2017, 21:18 Jean-Karlo Accetta > wrote: > >> Hi all, >> >> I am new to developing pl

mvn hpi:run fails with NullPointerException

2017-10-31 Thread Jean-Karlo Accetta
Hi all, I am new to developing plugins for Jenkins, and I was reading several of the related pages on getting started. The problem is that whenever I try to run any build step or goal, it fails. I tried first with the hpi:run command they say to use for debugging, but any goal will result in