Re: Multijob out of memory issues

2017-08-28 Thread Mark Waite
Git plugin has known issues with keeping and reading too much build data. Limiting the amount of history had been my best work around to date. Mark Waite On Mon, Aug 28, 2017, 7:21 PM Shashank Bhargav wrote: > 8192m is the value for XMX we have currently set. But the

Re: sample jelly script

2017-08-28 Thread Shashank Bhargav
The implementation which is working for us atleast is with a groovy file. Groovy file can be written and called in the default content as : ${SCRIPT, template="test.groovy"} test.groovy file has to be places in email-templates folder of Jenkins root. Hope this works :) On Monday, 28 August

Re: MSTest plugin poll

2017-08-28 Thread pg . smink66
The new setup is more flexible and looks fine for me. Op donderdag 24 augustus 2017 20:59:35 UTC+2 schreef Ivo Bellin Salarin: > > Hello everyone, > > I have implemented a couple of blueprints (i.e. modification requests) of > the MSTest plugin for Jenkins. Since I haven't any other way to

Re: Github multibranch filtering

2017-08-28 Thread Steven Foster
This workaround is a good idea, unfortunately it wouldn't work for us because of the amount of PRs. I ended up extending the github branch source plugin to let me filter based on this property. Not sure how to go about contributing this back, or if it's even a feature that would be welcomed.

Re: Scoping of a groovy variable inside a closure in try() to access from catch()

2017-08-28 Thread niristotle okram
thanks, that seems to make sense with what i am noticing. Seems like the root cause is that, the variable is not assigned if the 'shell' step fails / non 0 exit status. i am trying to assign the variable with the shell scripts stdout. I would like to capture the stacktract so that it prints the

Re: Scoping of a groovy variable inside a closure in try() to access from catch()

2017-08-28 Thread Slide
You don't need to initialize to null outside the try, just "def val_log" is fine. I've used this in my pipeline and it works fine. Can you verify that your pipeline is getting to the point where val_log is assigned, and also verify it's not assigned anywhere else? On Mon, Aug 28, 2017 at 12:23 PM

Scoping of a groovy variable inside a closure in try() to access from catch()

2017-08-28 Thread niristotle okram
down votefavorite how do i access the value of a variable assigned inside a closure within a try() in the catch() statement. here is what i am trying to achieve but i keep

Re: Method names for getters/setters in pipeline shared libraries

2017-08-28 Thread Baptiste Mathus
I'd say you're trying to use JavaBean on something that's not. Also, see my previous answer earlier, it somehow smells a bit too programmatic. Ideally try not do only *very* basic programming in Pipeline, do like most if not all magical/nice Groovy features don't exist. Le 25 août 2017 11:46,

Re: How to safe guard against broken jenkinsfiles causing pipelines to run indefinitely?

2017-08-28 Thread Baptiste Mathus
Yes and no. No, nothing specific to pipeline springs to my mind for this. But yes, is very easy to use system Groovy script to, for instance, find the recent builds that failed in less than 5 seconds. Something like (untested, on the phone): Jenkins.instance.allItems .findAll { it instanceof

Re: AW: Blue Ocean Pipeline Activity View: empty column 'COMMIT'

2017-08-28 Thread Baptiste Mathus
Hi Reinhold, Sorry for the ignore in IRC. That often happens if you post when there's no a lot of people, or too many :), or simply because nobody understands or has a clue to help you. As for the bug report, yes please do. Just keep in mind that making it as precise as possible will raise your

Re: Github multibranch filtering

2017-08-28 Thread Baptiste Mathus
Didn't find it after a 30 seconds look, but possibly there's an env var for the target branch. Then, you could simply add a condition in your pipeline to stop the build immediately if this is not the branch you want. 2017-08-23 13:47 GMT+02:00 Steven Foster : > Ok, so

Re: Multijob out of memory issues

2017-08-28 Thread Baptiste Mathus
+1 with Michael, in addition to this I would probably try some 'diff-debugging' by using/removing some parts of that thing and try and narrow down more precisely what caused the memory peak. BTW, what is your Xmx value? Le 24 août 2017 01:02, "Michael Pailloncy" a

Re: slaves not using all available cpus

2017-08-28 Thread Santiago Baldassin
Hi, On Saturday, August 26, 2017 at 4:15:09 PM UTC-3, Slava Dubrovskiy wrote: > > 25.08.2017 21:36, Santiago Baldassin пишет: > > Hi guys, > I'm writing to you because we are having issues making our jenkins slaves > to use all available resources when running a build. > > We have a

Re: How to fix this error " Fix this plugin first."

2017-08-28 Thread Daniel Beck
> On 27. Aug 2017, at 23:07, mortenricklo...@gmail.com wrote: > > After updating to 2.75 from 2.75 I got all this errors. > All my plugins are up to date. > How do I fix this Build a directed acyclic graph from the messages and find the root(s). >From a quick look, it seems you need to enable

Scripted pipeline - how to run groovy post build script

2017-08-28 Thread Shiran
Hi, I created a pipeline job and I want to run a groovy script as a post build action. It was easily done in a multijob project using the Groovy Postbuild Plugin, but in a pipeline job this option doesn't exist. Please assist. Thanks! :) -- You received this message because you are

sample jelly script

2017-08-28 Thread rodda . nagarjuna
Hi Im new to jenkins Could anyone of you pls explain me how to change the body in jelly script while giving the Editable Email notification in jenkins,cause im getting mails but not i was expected,pls share me some sample scripts for this Thank you -- You received this message because you

Unable to get login page

2017-08-28 Thread phanikumar
Hello team, I have developed a custom plugin and uploaded it to my Jenkins server. Now I am unable to get the login page for Jenkins server. I even restarted my entire physical machine. But it didn't work. Can some one help me out on this? -- View this message in context:

ConcurrentModificationException when gerrit-trigger-plugin tries to expand parameters

2017-08-28 Thread Daniel Belenky
Hey, I've encountered an issue that happens in cases where I configure more than one job for a certain Gerrit event and the first job that was triggered failed, Jenkins throws ConcurrentModificationException while trying to expand gerrit-trigger-plugin parameters. Here is the exception I was

Re: Is it possible to apply several pipeline to one github repository ?

2017-08-28 Thread Sowlène
If my question isn't understandable, don't hesitate to ask me questions :) I need this answer :) Le lundi 28 août 2017 14:08:02 UTC+2, Sowlène a écrit : > > Hi there ! > > I've just one question for you : > > Is it possible to apply several pipeline to one github repository ? > > If yes,

Is it possible to apply several pipeline to one github repository ?

2017-08-28 Thread Sowlène
Hi there ! I've just one question for you : Is it possible to apply several pipeline to one github repository ? If yes, someone can help me with tutorial our documents or other things ? I've tryed to do this with the BlueOcean plugin but this seems impossible ... I would like to apply 6

Track docker images usage

2017-08-28 Thread ncosta
Hi Is there any tips on how to be able to track the overall docker image usage in a Jenkins server? Like X image is being used by Y or Y and Z projects. Tried using the CloudBees Docker Traceability plugin but the link