Re: Amazon slaves automatically disconnect from Master on longer builds

2019-09-29 Thread George Cimpoies
:41 AM George Cimpoies wrote: > Environment: Jenkins 2.187 Amazon EC2 1.44.1 Swarm 3.13 > > I have set up the connection between Jenkins and AWS via Amazon EC2 > plugin. Jenkins master cloud config: > > [image: enter image description here] > <https://i.stack.imgur.com/1hYR

Amazon slaves automatically disconnect from Master on longer builds

2019-09-29 Thread George Cimpoies
dson.plugins.ec2.win.winrm.WindowsProcess$2.run(WindowsProcess.java:134) Any help is much appreciated! -- *George Cimpoies* Research & Development, Itiviti Software engineer george.cimpo...@itiviti.com -- __ itiviti.com <https://www.itiviti.com/>

Parameterized Scheduler Plugin & Matrix Combinations Plugin

2018-12-18 Thread george . cimpoies
I have a job that respawn my jenkins nodes and I use Matrix Combinations Plugin to be able to choose which nodes to respawn, like so: [image: mcp.PNG] I would like to use Parameterized Scheduler Plugin to respawn only some nodes at a time, as in: Respawn photon-01 & photon-02 every day at 8AM,

JobDSL - Intercept call to cron(String cronExpression) method

2018-10-26 Thread george . cimpoies
I'm trying to intercept all the calls to the cron() method (from ItemTriggerContext) inside my project(where I define my Jenkins jobs that are generated via JobDSL plugin) because I want to make some custom validations on the cron expression. More details available on stackoverflow: https://s

Re: plugin 'workflow-aggregator' needs to be installed

2018-10-09 Thread George Cimpoies
[] new File('jobs').eachFile(FileType.FILES) { if (it.name.endsWith('ul_middle.groovy')) { files << it } } files } } On Tue, Oct 9, 2018 at 1:24 PM George Cimpoies wrote: > Hi! > > I'm using job

plugin 'workflow-aggregator' needs to be installed

2018-10-09 Thread George Cimpoies
r', version: '2.5'* this line in my build.gradle file but I get the same error when running the tests locally. Any help/clue is appreciated! -- George Cimpoies R&D • Itiviti Software Engineer Mobile: +40 751 048 489 george.cimpo...@ullink.com 1 Victor Deleu Street | Cluj-Nap

Jenkins pipeline - how to log some text to build log

2018-09-20 Thread george . cimpoies
I have a s try/catch block inside one of my Jenkins pipeline scripts. I would like to print the exception inside the build log if anything goes wrong. How would I go about that? Thanks! -- Visit: itiviti.com / ullink.com » Read the lates

Re: Jelly - Can't find method on call from validate button

2018-09-13 Thread George Cimpoies
e you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/

Jelly - Can't find method on call from validate button

2018-09-13 Thread george . cimpoies
I've written a very simple form validation method inside my GerritTrigger class. (via this guide https://wiki.eclipse.org/Jelly_form_controls#Validation_Button) public FormValidation doSaveBuildStartedValue(@QueryParameter("buildStartedVoteValue") final String buildStartedVoteValue) { ret

Re: tag throws Uncaught TypeError: Cannot read property 'hasClassName' of undefined in browser console

2018-09-10 Thread george . cimpoies
Thanks for the suggestion! I'll check them out asap. On Monday, September 10, 2018 at 7:45:46 AM UTC+3, Björn Pedersen wrote: > > Hi, > > you probably should take a look at the dynamic parameter plugins like: > > Extended Choice, Extensible Choice, Git Parameter, Activce Choices or > Autocomplete

Re: tag throws Uncaught TypeError: Cannot read property 'hasClassName' of undefined in browser console

2018-09-07 Thread george . cimpoies
Thank you very much, Jesse. I've took up the task to add support for custom gerrit labels on gerrit-trigger-plugin, and for someone that never contributed to jenkins or jenkins plugins before, it's quite hard to make sense of how it should be done. The use case: Considering a list of labels (wh

Re: tag throws Uncaught TypeError: Cannot read property 'hasClassName' of undefined in browser console

2018-09-07 Thread george . cimpoies
Answer: It's because you can't have entries inside On Friday, September 7, 2018 at 11:43:42 AM UTC+3, george@ullink.com wrote: > > I'm trying to display a list of labels inside the job configuration page > of Jenkins using the tag like so: > > > > > > >

tag throws Uncaught TypeError: Cannot read property 'hasClassName' of undefined in browser console

2018-09-07 Thread george . cimpoies
I'm trying to display a list of labels inside the job configuration page of Jenkins using the tag like so: ${p.labelName} where I've declared custom labels in my java class: private List customLabels; When I bu

Developing custom label support on Gerrit trigger plugin

2018-09-04 Thread George Cimpoies
s much appreciated! P.S. Keep in mind that there can be an indefinite number of custom labels that you can add. -- George Cimpoies R&D • Itiviti Software Engineer Mobile: +40 751 048 489 george.cimpo...@ullink.com 1 Victor Deleu Street | Cluj-Napoca, Cluj 400112 -- Visit: it

Re: Jelly: how to call java method with parameters from jelly tag

2018-09-02 Thread George Cimpoies
mail to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1jkHRhhhP1t86waS%2B2Ye2mWoVeLPRqsQOLMVkV8j93cg%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. >

Jelly: how to call java method with parameters from jelly tag

2018-08-31 Thread george . cimpoies
Hi! I would really appreciate if someone could answer my question here: https://stackoverflow.com/questions/52109603/jelly-how-to-call-java-method-with-parameters-from-jelly-tag or in this thread. Thanks! -- Visit: itiviti.com / ullink.com

Re: Gerrit Trigger Plugin - custom label support

2018-08-24 Thread George Cimpoies
b visit > https://groups.google.com/d/msgid/jenkinsci-dev/ff57f325-2fb5-4661-98a3-ed442cf1503e%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/ff57f325-2fb5-4661-98a3-ed442cf1503e%40googlegroups.com?utm_medium=email&utm_source=footer> > . >

Gerrit Trigger Plugin - custom label support

2018-08-23 Thread george . cimpoies
Hi! I'm relying on gerrit trigger plugin as the connecting layer between my Jenkins & Gerrit infrastructure. Recently, a need came up to introduce a third label in gerrit, besides Code-Review and Verified. But so far I saw that GTP doesn't support posting votes on custom labels... so I was thi