Re: Vulnerability analysis question

2016-08-05 Thread Daniel Beck
Jenkins does not allow transferring these classes over the remoting channel, and refuses to load these classes from XML configuration (e.g. POST to /job/foo/config.xml, or just load from disk). https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/ClassFilter.java#L59

Re: API access to update pipeline stages

2016-08-05 Thread Jesse Glick
On Fri, Aug 5, 2016 at 5:19 PM, Daniel Watrous wrote: > That might work, but what isn't clear is how I can trigger that with an HTTP > call. `UnprotectedRootAction` generally. Without writing a custom plugin, and without waiting for JENKINS-27127, the usual approach is

Re: Automate recommended plugin unittest run against latest Jenkins core

2016-08-05 Thread Jesse Glick
On Fri, Aug 5, 2016 at 4:52 PM, Mark Waite wrote: > - change jenkins.MasterToSlaveFileCallable to > FileCallable Vice-versa I guess you mean. > - add checkRoles(RoleChecker) to HudsonTestCase Probably basically the same change: SECURITY-144. > My recollection (when

Re: API access to update pipeline stages

2016-08-05 Thread Daniel Watrous
That might work, but what isn't clear is how I can trigger that with an HTTP call. I need an external deploy agent to ask Jenkins for any pipelines that are ready to deploy, update the deploy step and then come back and update that the deploy was successful. On Thursday, August 4, 2016 at

Re: Automate recommended plugin unittest run against latest Jenkins core

2016-08-05 Thread Mark Waite
On Fri, Aug 5, 2016 at 2:04 PM Jesse Glick wrote: > On Fri, Aug 5, 2016 at 7:57 AM, Mark Waite > wrote: > > The git client plugin (1.19.7 and > > it predecessors) matches the situation you describe (old Jenkins > baseline, > > not recent release,

Re: Automate recommended plugin unittest run against latest Jenkins core

2016-08-05 Thread Jesse Glick
On Fri, Aug 5, 2016 at 7:57 AM, Mark Waite wrote: > The git client plugin (1.19.7 and > it predecessors) matches the situation you describe (old Jenkins baseline, > not recent release, does not compile without changes against current core). Why exactly does it not

Re: WorkflowMultiBranchProject getLastBuild

2016-08-05 Thread Jesse Glick
On Fri, Aug 5, 2016 at 4:02 AM, Sverre Moe wrote: > Variable currentBuild irefers to the currently running build. What I needed > was the last build of a upstream dependency. Like JENKINS-31576 you mean? -- You received this message because you are subscribed to the

Re: [GSoC2016] External Workspace Manager plugin development

2016-08-05 Thread Alexandru Somai
Hello everyone, I'd like to make a new announcement: a beta version of the External Workspace Manager Plugin has been released. A summary of the features added to the previous alpha version: - Support for the Run

Vulnerability analysis question

2016-08-05 Thread Paxton, Darren
Hi I'm standing up a jenkins instance within a docker image for a use case we have. Our security teams require us to scan our systems regularly for vulnerabilities and we've been evaluating a product that scans container images, one of the things it has identified from the image i'm using is

Re: Automate recommended plugin unittest run against latest Jenkins core

2016-08-05 Thread Slide
+1 to Mark's comments. On Fri, Aug 5, 2016 at 4:57 AM Mark Waite wrote: > Replies inline > > > On Fri, Aug 5, 2016 at 1:51 AM Manuel Jesús Recena Soto > wrote: > >> Hello Mark, >> >> In advance, thanks for your feedback. >> >> (replies inline) >> >>

Re: Automate recommended plugin unittest run against latest Jenkins core

2016-08-05 Thread Mark Waite
Replies inline On Fri, Aug 5, 2016 at 1:51 AM Manuel Jesús Recena Soto wrote: > Hello Mark, > > In advance, thanks for your feedback. > > (replies inline) > > 2016-08-04 21:27 GMT+02:00 Mark Waite : > > > > On Thu, Aug 4, 2016 at 12:46 PM Manuel

Re: Job parameters in Jenkins 2.X

2016-08-05 Thread Nick Grealy
The fix - for anyone who's interested... https://github.com/jenkinsci/poll-mailbox-trigger-plugin/commit/d0154dab63dc3a5978ebcbcd6aaa6d98212009cf Kind regards, Nick On Thursday, 4 August 2016 10:11:37 UTC+10, Nick Grealy wrote: > > Thanks Daniel, I'll give that a go. > > > On Thursday, 4

How to update ProminentProjectAction informations?

2016-08-05 Thread Lennart Siefke
Hey there, I've written a plugin which is doing some post build action using Recorder and displaying its information on the Job Page using ProminentProjectAction. As descripted in BuildSteps lifecycle, Build steps are instantiated when the user saves the job configuration, and sticks around in

Re: WorkflowMultiBranchProject getLastBuild

2016-08-05 Thread Sverre Moe
Pipeline Syntax -> Global Variables Reference Variable currentBuild irefers to the currently running build. What I needed was the last build of a upstream dependency. org.jenkinsci.plugins.workflow.job.WorkflowJob job = anotherUpstreamProject. getAllJobs().first()

Re: Automate recommended plugin unittest run against latest Jenkins core

2016-08-05 Thread Manuel Jesús Recena Soto
Hello Mark, In advance, thanks for your feedback. (replies inline) 2016-08-04 21:27 GMT+02:00 Mark Waite : > > On Thu, Aug 4, 2016 at 12:46 PM Manuel Jesús Recena Soto > wrote: >> >> Hello Oliver, >> >> I like the idea. >> >> General speaking, ATH