Re: Amazon slaves automatically disconnect from Master on longer builds

2019-09-30 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-30 Thread George Cimpoies
2.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/> <https://ww

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:

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

2018-10-09 Thread George Cimpoies
('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 dsl plugin on my Jenkins instance along with

plugin 'workflow-aggregator' needs to be installed

2018-10-09 Thread George Cimpoies
get the same error when running the tests locally. Any help/clue is appreciated! -- George Cimpoies R • Itiviti Software Engineer Mobile: +40 751 048 489 george.cimpo...@ullink.com 1 Victor Deleu Street | Cluj-Napoca, Cluj 400112 -- Visit: itiviti.com <https://www.itiviti.com/> /

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

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

2018-09-13 Thread George Cimpoies
> "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/d/msgid/jenkinsci-dev/AB035A83-4BAF-4342-96

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) {

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 >

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

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

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

2018-09-03 Thread George Cimpoies
nkinsci-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. > -- G

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

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