Accessing Jenkins proxy settings in pipeline script?

2017-03-27 Thread 'Robin Müller' via Jenkins Users
Hi everyone, is there already a way to access the Jenkins proxy settings within a pipeline script? If not I could imagine to have a global variable similar to scm that can be used for this purpose. I think a good place for such a variable would be the workflow-basic-steps-plugin. Regards, Robi

How to connnect jenkins to netcool

2017-03-27 Thread Vk
Hi, I have my application on which I have to perform deployment. I am using jenkins and would like to connect to svn and deploy the files to the netcool application. I am trying to find how to connect to the netcool application and unable to find the same. Could you please suggest how to

Blue Ocean and Performance Plugin: How to make logs and test results visible?

2017-03-27 Thread Craig Rodrigues
Hi, Performance Plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin ) recently received pipeline support. I tried it and it works great in a pipeline. In the old Jenkins UI, after the job completes, there is an icon visible which is labelled "Performance Report". Clicking on

triggering a multi-configuration matrix with Successful=true?

2017-03-27 Thread Max Spring
With the Matrix Combinations Plugin I am able to *manually* trigger all combinations which have been successful previously. Is it possible to do the same trigger by an upstream job via "Trigger/call builds on other project

Re: Converting a string parameter to a List of Maps

2017-03-27 Thread Bill Dennis
I think it is failing on the call to the generateXML() method - is it defined in your job and how is it defined, what parameters does it expect? BTW, be aware that the Groovy 'Eval' will allow anyone to execute whatever Groovy code they would like to put in the input parameter. This line: def i

[declarative pipeline] Variable persistance after Jenkins restart

2017-03-27 Thread Bill Dennis
Hi - I have an issue with variables being restored in a pipeline job after a Jenkins restart. Say I have a pipeline like this: // Local var set to 'env' def localEnv = env // Simple local var def foo = "Bar" pipeline { agent any environment { // You can do it her

Re: swarm plugin: Cannot find tcpSlaveAgentListener

2017-03-27 Thread grayaii
lol. I googled for this and found my own answer after 6 years. lol On Thursday, October 27, 2011 at 10:34:52 AM UTC-4, grayaii wrote: > > Hi, > I'm using 1.6 of the swarm plugin and our jenkins version is 1.432. > > I installed the plugin on the Jenkins master, but when I try to connect the > slav

Jira/Jenkins integration Plugins

2017-03-27 Thread Marlene Cote
I have installed jira plugin for jenkins. I am not able to connect to jira though. Jira connects to this jenkins master. Jenkins 2.52, JIRA v6.4.12 I see this when I click on validate settings. ERROR A problem occurred while processing the request.

Re: How to trigger Jenkins build with parameters from Gitlab webhook?

2017-03-27 Thread vitorarraessantos
Hello There. Any luck with this? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the we

Re: How to trigger Jenkins build with parameters from Gitlab webhook?

2017-03-27 Thread vitorarraessantos
Hello there. Any luck with this issue? Em quinta-feira, 12 de janeiro de 2017 06:33:24 UTC-2, Mark Allison escreveu: > > I don't think that's correct because when I invoke the job manually and > set parameters, then they show up in the echo command. However, when I use > the webhook from gitlab

Re: Iteration over list or map in Pipeline script

2017-03-27 Thread John Mellor
I just did it this morning, doesn't work. You have to instead do: for(int i = 0; i < list.size(); i++) { def elem = list[i]; ... } On Monday, 13 March 2017 10:26:44 UTC-4, Martin Schmude wrote: > > Hello, > > I have a freestyle job with one step of the kind "Execute Groovy Script". > I

Re: QUESTION: labels are not shown in the agent page

2017-03-27 Thread Victor Martinez
I even tried to upgrade all the plugins but same behaviour and also removed the jenkins simple theme plugin... but again after XX seconds then the castexception Caused by: java.lang.ClassCastException: hudson.model.labels.LabelExpression$And cannot be cast to hudson.model.labels.LabelAtom

Re: Jenkins + PowerShell Script that takes screenshot of a remote folder

2017-03-27 Thread Slide
Windows services can't interact with the desktop. This feature went away in Vista. You would need to run the agent as a non-service for the screenshot to work. On Sun, Mar 26, 2017, 22:37 VikS wrote: > We have a build which requires us to replace files to a newer version on > remote computers an