Cluster not found: amazon-ecs-plugin bug or misconfiguration?
Hello, I'm trying to set up the amazon-ecs-plugin to connect to a ECS cluster. However, after configuring both the cluster itself and the plugin, both apparently correctly, I'm getting an error I don't really understand: INFO: Started provisioning ECS Slave docker from aws-ecs with 1 executors. Remaining excess workload: 0 Sep 26, 2017 12:32:48 PM hudson.slaves.NodeProvisioner$2 run WARNING: Unexpected exception encountered while provisioning agent ECS Slave docker com.amazonaws.services.ecs.model.ClusterNotFoundException: Cluster not found. (Service: AmazonECS; Status Code: 400; Error Code: ClusterNotFoundException; Request ID: f7bc84e2-a2a5-11e7-801f-1bbc4489a697) The error makes no sense as the plugin does autodetect the cluster and fills it in the dropdown in the Manage Jenkins interface (so there's no manual input error possible...). Does anyone have any idea what I should check/debug/investigate? I can provide more info about the setup, just tell me what would help. I was thinking about a workaround of using a "regular" Docker plugin, but I'm not super confident about it after seeing this: https://github.com/jenkinsci/docker-plugin/issues/235#issuecomment-147975445 Is anyone using one of the Docker plugins for agents in production, and if so, are you happy with it/them? When I say production, I mean something preferably with tens if not hundreds of jobs configured :) Kind regards, _ Costin Caraivan -- 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 web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEYw_qmJfQLPqSTZBfNPA8%2BTqc2rUHeimWWY1-7wN24ONmiqzg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
How to get a plugin's configuration from the system Groovy?
Hello, I'm using the https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin to manage Maven settings files. I want to generate Jenkins jobs using the DSL plugin: https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin Unfortunately, the config file provider uses generated IDs in the configuration: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig1408033012483 Short of hardcoding the ID (1408033012483) in the DSL, is there a way to get a plugin's configuration from the system Groovy? Ideally I'd like a way to interrogate Jenkins or the plugin about the configuration it stores based on the names I've given them. Thank you, _ Costin Caraivan -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Where did the maven deploy plugin go?
Oh, nice, I had missed that. You're right, much better to do it directly from Maven. _ Costin Caraivan On Fri, Apr 11, 2014 at 11:43 AM, Baptiste Mathus wrote: > IIUC, I would recommend doing without it actually. > > Now that the standard maven-deploy-plugin supports this feature out of the > box [1], doing this through Jenkins ties your build a bit too much to > Jenkins IMO. > Ideally, for debugging reasons in general, you should try and have > something that would behave outside Jenkins close to as it behaves inside > it. > > Cheers > [1] > https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#deployAtEnd > > > 2014-04-11 10:39 GMT+02:00 Costin Caraivan : > > Ignore that email, I found it. I was looking at the "Post build steps" and >> it actually was in the "Post build actions". Confusing naming :( >> >> This also means that a freestyle project invoking Maven won't have it >> available :( >> >> _ >> Costin Caraivan >> >> >> On Fri, Apr 11, 2014 at 11:35 AM, Costin Caraivan < >> costincarai...@gmail.com> wrote: >> >>> I'm not seeing it, Jenkins 1.534. Is it part of a newer release? >>> >>> _ >>> Costin Caraivan >>> >>> >>> On Thu, Apr 10, 2014 at 10:49 AM, teilo wrote: >>> >>>> It shows up for me as part of the standard maven plugin, under a post >>>> build action >>>> >>>> -- >>>> 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. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >> -- >> 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. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Baptiste MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Where did the maven deploy plugin go?
Ignore that email, I found it. I was looking at the "Post build steps" and it actually was in the "Post build actions". Confusing naming :( This also means that a freestyle project invoking Maven won't have it available :( _ Costin Caraivan On Fri, Apr 11, 2014 at 11:35 AM, Costin Caraivan wrote: > I'm not seeing it, Jenkins 1.534. Is it part of a newer release? > > _ > Costin Caraivan > > > On Thu, Apr 10, 2014 at 10:49 AM, teilo wrote: > >> It shows up for me as part of the standard maven plugin, under a post >> build action >> >> -- >> 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. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Where did the maven deploy plugin go?
I'm not seeing it, Jenkins 1.534. Is it part of a newer release? _ Costin Caraivan On Thu, Apr 10, 2014 at 10:49 AM, teilo wrote: > It shows up for me as part of the standard maven plugin, under a post > build action > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
Where did the maven deploy plugin go?
A long, long time ago I used Hudson/Jenkins with a very nifty plugin called maven deploy plugin. What this plugin did - invaluable for larger Maven projects - was that you could deploy the artifacts built by the project only at the end of the build. 1. No more partially deployed projects (12 built modules uploaded, build fails on module 13 -> failed build is uploaded in the repo even though it shouldn't) 2. No repeated builds (cause Maven cannot run just deploy, separately, if you try to run mvn clean install and mvn clean deploy afterward you will build twice). There's the Artifactory plugin, which was once copied from the maven deploy plugin, but we use Nexus :( Surely such a nifty plugin wouldn't die, would it? :( _____ Costin Caraivan -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Can anyone connect Linux SSH slaves with the latest Jenkins version?
Wow - that was it. Thanks a lot for the pointer. I'm not sure what the ruby-runtime plugin does to crash 3 different connection types, but it' REALLY bad. It definitely helped - saved me hours of debugging ;) _____ Costin Caraivan On Tue, Oct 29, 2013 at 7:54 AM, Pasi wrote: > Hi, > > I struggled with a similar problem for a long time, and in the end it was > ruby-runtime plugin which prevented my SSH connections to work. As I don't > use that plugin I uninstalled it and SSH started to work for some reason. > > Here's the original Google Groups discussion about my issue: > https://groups.google.com/d/topic/jenkinsci-users/x8uML3W2NQ0/discussion > > Hope this helps! > > Cheers, > -Pasi > > torstai, 24. lokakuuta 2013 17.02.30 UTC+3 Constantin Caraivan kirjoitti: > >> Hello, >> >> I'm trying to connect an Ubuntu 12.04 64 bit master running on Oracle's >> 1.6 JDK to a slave with an identical configuration, through SSH or through >> executing an SSH command on the master. >> >> And I'm getting nowhere. Just a death throbber in the Jenkins slave >> interface, no log entries on the master, no log entries on the slaves. It >> seems very similar to this issue but this is supposed to be fixed: >> https://issues.jenkins-ci.org/**browse/JENKINS-19758<https://issues.jenkins-ci.org/browse/JENKINS-19758> >> >> This is a critical part of Jenkins and it doesn't seem to be working. >> Anyone else hitting this issue? >> _ >> Costin Caraivan >> > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can anyone connect Linux SSH slaves with the latest Jenkins version?
Hello, We're hitting this with Windows slaves as well - with the Windows service type of connection. No slave log, local or remote, just the throbber again. Basically only JNLP connections are working right now :/ _ Costin Caraivan On Thu, Oct 24, 2013 at 7:35 PM, Costin Caraivan wrote: > I will try to revert the Jenkins version, but this might take a while. I > don't want to do it in production (to prevent other breakage) and setting > up a test instance will take a while. > > Meanwhile, this bug also happens when trying to use the "Run command on > master" as the connection. I've tried to connect using the OpenSSH binary > and I still get the "throbber of death"... > > _ > Costin Caraivan > > > On Thu, Oct 24, 2013 at 7:04 PM, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > >> Just for laughs, could you try the same with Jenkins 1.480 using the >> stock versions of the plugins bundled in that version of Jenkins (I am >> picking that version as it should have reasonably old stock versions and so >> if there are significant regressions it should help us narrow down where >> things are going wrong) >> >> >> On 24 October 2013 16:37, Costin Caraivan wrote: >> >>> No SSH keys, just username + password. >>> Credentials 1.9.1 >>> SSH-slaves 1.5 >>> SSH credentials 1.5.1 >>> >>> _ >>> Costin Caraivan >>> >>> >>> On Thu, Oct 24, 2013 at 5:41 PM, Stephen Connolly < >>> stephen.alan.conno...@gmail.com> wrote: >>> >>>> what kind of ssh key are you using. Beware the JCE export restrictions >>>> which can make using keys longer than 2048 a no-no. Also are you 100% >>>> certain you are using the latest ssh-slaves, ssh-credentials, and >>>> credentials plugins? >>>> >>>> >>>> On 24 October 2013 15:02, Costin Caraivan wrote: >>>> >>>>> Hello, >>>>> >>>>> I'm trying to connect an Ubuntu 12.04 64 bit master running on >>>>> Oracle's 1.6 JDK to a slave with an identical configuration, through SSH >>>>> or >>>>> through executing an SSH command on the master. >>>>> >>>>> And I'm getting nowhere. Just a death throbber in the Jenkins slave >>>>> interface, no log entries on the master, no log entries on the slaves. It >>>>> seems very similar to this issue but this is supposed to be fixed: >>>>> https://issues.jenkins-ci.org/browse/JENKINS-19758 >>>>> >>>>> This is a critical part of Jenkins and it doesn't seem to be working. >>>>> Anyone else hitting this issue? >>>>> _ >>>>> Costin Caraivan >>>>> >>>>> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can anyone connect Linux SSH slaves with the latest Jenkins version?
I will try to revert the Jenkins version, but this might take a while. I don't want to do it in production (to prevent other breakage) and setting up a test instance will take a while. Meanwhile, this bug also happens when trying to use the "Run command on master" as the connection. I've tried to connect using the OpenSSH binary and I still get the "throbber of death"... _ Costin Caraivan On Thu, Oct 24, 2013 at 7:04 PM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Just for laughs, could you try the same with Jenkins 1.480 using the stock > versions of the plugins bundled in that version of Jenkins (I am picking > that version as it should have reasonably old stock versions and so if > there are significant regressions it should help us narrow down where > things are going wrong) > > > On 24 October 2013 16:37, Costin Caraivan wrote: > >> No SSH keys, just username + password. >> Credentials 1.9.1 >> SSH-slaves 1.5 >> SSH credentials 1.5.1 >> >> _ >> Costin Caraivan >> >> >> On Thu, Oct 24, 2013 at 5:41 PM, Stephen Connolly < >> stephen.alan.conno...@gmail.com> wrote: >> >>> what kind of ssh key are you using. Beware the JCE export restrictions >>> which can make using keys longer than 2048 a no-no. Also are you 100% >>> certain you are using the latest ssh-slaves, ssh-credentials, and >>> credentials plugins? >>> >>> >>> On 24 October 2013 15:02, Costin Caraivan wrote: >>> >>>> Hello, >>>> >>>> I'm trying to connect an Ubuntu 12.04 64 bit master running on Oracle's >>>> 1.6 JDK to a slave with an identical configuration, through SSH or through >>>> executing an SSH command on the master. >>>> >>>> And I'm getting nowhere. Just a death throbber in the Jenkins slave >>>> interface, no log entries on the master, no log entries on the slaves. It >>>> seems very similar to this issue but this is supposed to be fixed: >>>> https://issues.jenkins-ci.org/browse/JENKINS-19758 >>>> >>>> This is a critical part of Jenkins and it doesn't seem to be working. >>>> Anyone else hitting this issue? >>>> _ >>>> Costin Caraivan >>>> >>>> -- >>>> 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. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can anyone connect Linux SSH slaves with the latest Jenkins version?
No SSH keys, just username + password. Credentials 1.9.1 SSH-slaves 1.5 SSH credentials 1.5.1 _ Costin Caraivan On Thu, Oct 24, 2013 at 5:41 PM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > what kind of ssh key are you using. Beware the JCE export restrictions > which can make using keys longer than 2048 a no-no. Also are you 100% > certain you are using the latest ssh-slaves, ssh-credentials, and > credentials plugins? > > > On 24 October 2013 15:02, Costin Caraivan wrote: > >> Hello, >> >> I'm trying to connect an Ubuntu 12.04 64 bit master running on Oracle's >> 1.6 JDK to a slave with an identical configuration, through SSH or through >> executing an SSH command on the master. >> >> And I'm getting nowhere. Just a death throbber in the Jenkins slave >> interface, no log entries on the master, no log entries on the slaves. It >> seems very similar to this issue but this is supposed to be fixed: >> https://issues.jenkins-ci.org/browse/JENKINS-19758 >> >> This is a critical part of Jenkins and it doesn't seem to be working. >> Anyone else hitting this issue? >> _ >> Costin Caraivan >> >> -- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can anyone connect Linux SSH slaves with the latest Jenkins version?
BTW, I can ssh from the machine, directly, just fine. So the connection is good, SSH is ok, just Jenkins is acting up :( _ Costin Caraivan On Thu, Oct 24, 2013 at 5:02 PM, Costin Caraivan wrote: > Hello, > > I'm trying to connect an Ubuntu 12.04 64 bit master running on Oracle's > 1.6 JDK to a slave with an identical configuration, through SSH or through > executing an SSH command on the master. > > And I'm getting nowhere. Just a death throbber in the Jenkins slave > interface, no log entries on the master, no log entries on the slaves. It > seems very similar to this issue but this is supposed to be fixed: > https://issues.jenkins-ci.org/browse/JENKINS-19758 > > This is a critical part of Jenkins and it doesn't seem to be working. > Anyone else hitting this issue? > _ > Costin Caraivan > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Can anyone connect Linux SSH slaves with the latest Jenkins version?
Hello, I'm trying to connect an Ubuntu 12.04 64 bit master running on Oracle's 1.6 JDK to a slave with an identical configuration, through SSH or through executing an SSH command on the master. And I'm getting nowhere. Just a death throbber in the Jenkins slave interface, no log entries on the master, no log entries on the slaves. It seems very similar to this issue but this is supposed to be fixed: https://issues.jenkins-ci.org/browse/JENKINS-19758 This is a critical part of Jenkins and it doesn't seem to be working. Anyone else hitting this issue? _ Costin Caraivan -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Anyone having Jenkins slaves on Windows 8?
Hello, I've got it going using Startup + a batch script, but does it work when installed as a service? I don't want to babysit the slaves and using Startup is a gross hack for this (the user needs to be logged in, there's a console window anyone connecting to the slave might close by accident, etc). I've been through basically all the bug reports on Jira and done everything they recommended and still have no result. Now the service is failing without logging anything - either to disk or to the Event Viewer :( Regards, _ Costin Caraivan On Fri, Jul 26, 2013 at 2:16 PM, Mark Waite wrote: > Java Web Start has worked fine for me on two different Windows 8 64 bit > machines. Unfortunately, I suspect that won't really help you, since the > real question you're trying to answer is why it doesn't work on your > computer. > > Mark Waite > > > From: Costin Caraivan > To: jenkinsci-users@googlegroups.com > Sent: Friday, July 26, 2013 1:34 AM > Subject: Anyone having Jenkins slaves on Windows 8? > > Hello, > > Is Jenkins functional on Windows 8? Out of the 4 slave connection > possibilities: > 1. WMI + Windows service is very unreliable and even deprecated by the > developers > 2. Java Web Start fails with this: > java.io.IOException: Remote call on slave failed > at hudson.remoting.Channel.call(Channel.java:674) > at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:348) > at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:316) > at > jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:116) > at > jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:99) > at > jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44) > at > hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150) > Caused by: java.lang.OutOfMemoryError: PermGen space > 3. Command execution on the master does not work (I've tried > Powershell remoting and psexec, they both fail). > 4. SSH usually requires Cygwin which requires hacks + I'm not sure it > works for UI testing. > basically none of them works. > > Has anyone successfully connected a Win 8 slave to Jenkins? > I'd really love to hear your success stories :) > > Thank you, > _ > Costin Caraivan > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Anyone having Jenkins slaves on Windows 8?
Hello, Is Jenkins functional on Windows 8? Out of the 4 slave connection possibilities: 1. WMI + Windows service is very unreliable and even deprecated by the developers 2. Java Web Start fails with this: java.io.IOException: Remote call on slave failed at hudson.remoting.Channel.call(Channel.java:674) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:348) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:316) at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:116) at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:99) at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150) Caused by: java.lang.OutOfMemoryError: PermGen space 3. Command execution on the master does not work (I've tried Powershell remoting and psexec, they both fail). 4. SSH usually requires Cygwin which requires hacks + I'm not sure it works for UI testing. basically none of them works. Has anyone successfully connected a Win 8 slave to Jenkins? I'd really love to hear your success stories :) Thank you, _____ Costin Caraivan -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Github (enterprise) service hooks and Jenkins
Ok, got it, thanks! _ Costin Caraivan On Thu, Jul 18, 2013 at 5:19 PM, Vincent Latombe wrote: > Read [1], and you'll understand why ;) > > [1] > http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/ > Vincent > > > 2013/7/18 Costin Caraivan : >> Very, very strange. Why doesn't it just POST http://jenkins/job/myjob/build? >> :-? >> _ >> Costin Caraivan >> >> >> On Thu, Jul 18, 2013 at 1:04 PM, Vincent Latombe >> wrote: >>> Hi >>> >>> The git hook actually triggers the polling, not directly a build. >>> >>> Vincent >>> >>> >>> 2013/7/18 Costin Caraivan : >>>> Hello, >>>> >>>> We're trying to reconfigure our Jenkins instance (Jenkins ver. 1.522, >>>> Linux master) to use Git hooks instead of Git polling. >>>> >>>> We've configured the Github repo to trigger our builds, but there's >>>> this note that seems kind of... strange in the Github configuration: >>>> >>>> Requires Git Plugin v1.1.18, released 2012-04-27, and the "Poll SCM" >>>> build trigger needs to be __enabled__. (Though you can have it poll >>>> very infrequently, I recommend something like 0 */3 * * *) >>>> >>>> Does anyone know why both polling AND the Git hook need to be enabled? >>>> This seems redundant. >>>> >>>> Has anyone configured the service hooks only, without enabling Git >>>> polling? Does it work correctly/reliably? >>>> >>>> Thank you, >>>> _ >>>> Costin Caraivan >>>> >>>> -- >>>> 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. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >> >> -- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Github (enterprise) service hooks and Jenkins
Very, very strange. Why doesn't it just POST http://jenkins/job/myjob/build? :-? _ Costin Caraivan On Thu, Jul 18, 2013 at 1:04 PM, Vincent Latombe wrote: > Hi > > The git hook actually triggers the polling, not directly a build. > > Vincent > > > 2013/7/18 Costin Caraivan : >> Hello, >> >> We're trying to reconfigure our Jenkins instance (Jenkins ver. 1.522, >> Linux master) to use Git hooks instead of Git polling. >> >> We've configured the Github repo to trigger our builds, but there's >> this note that seems kind of... strange in the Github configuration: >> >> Requires Git Plugin v1.1.18, released 2012-04-27, and the "Poll SCM" >> build trigger needs to be __enabled__. (Though you can have it poll >> very infrequently, I recommend something like 0 */3 * * *) >> >> Does anyone know why both polling AND the Git hook need to be enabled? >> This seems redundant. >> >> Has anyone configured the service hooks only, without enabling Git >> polling? Does it work correctly/reliably? >> >> Thank you, >> _ >> Costin Caraivan >> >> -- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Github (enterprise) service hooks and Jenkins
Hello, We're trying to reconfigure our Jenkins instance (Jenkins ver. 1.522, Linux master) to use Git hooks instead of Git polling. We've configured the Github repo to trigger our builds, but there's this note that seems kind of... strange in the Github configuration: Requires Git Plugin v1.1.18, released 2012-04-27, and the "Poll SCM" build trigger needs to be __enabled__. (Though you can have it poll very infrequently, I recommend something like 0 */3 * * *) Does anyone know why both polling AND the Git hook need to be enabled? This seems redundant. Has anyone configured the service hooks only, without enabling Git polling? Does it work correctly/reliably? Thank you, _ Costin Caraivan -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins master-slave connection through Java Web Start - security concerns
Thanks! _ Costin Caraivan On Mon, Jul 1, 2013 at 6:26 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) < kpflem...@bloomberg.net> wrote: > The connection between the slave and the master, when using JNLP to start > slaves, is not a secure channel. > > > - Original Message - > From: jenkinsci-users@googlegroups.com > To: jenkinsci-users@googlegroups.com > At: Jul 1 2013 07:51:55 > > Hello, > > I'm not sure I understand entirely the Jenkins slave connection process > for Java Web Start. > When connecting slaves through Java Web Start the slave connects initially > to the Jenkins HTTP/HTTPS port, to get the JNLP file. > After that, the actual slave connection is on a different port. > > First of all, I'm not sure I understand the initial connection process - > is the secret used for the connection a sort of public key? > Secondly, is the actual slave connection secure? Is it actually over HTTPS > or SSH or another secure channel? > > Thank you, > _ > Costin Caraivan > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Jenkins master-slave connection through Java Web Start - security concerns
Hello, I'm not sure I understand entirely the Jenkins slave connection process for Java Web Start. When connecting slaves through Java Web Start the slave connects initially to the Jenkins HTTP/HTTPS port, to get the JNLP file. After that, the actual slave connection is on a different port. First of all, I'm not sure I understand the initial connection process - is the secret used for the connection a sort of public key? Secondly, is the actual slave connection secure? Is it actually over HTTPS or SSH or another secure channel? Thank you, _____ Costin Caraivan -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to install Windows JNLP service when Jenkins security is on?
Hello, AD integration, logged in users can do anything. When I created the node the node page gave me a java command with -jar/-jnlpUrl/-security as the headless option and the some other options available for JNLP. Once security was turned on those options were gone and the only option left was the headless one. I think I should file this as a feature request since it's not very intuitive to create a JNLP slave when you have no security, install it as a Windows service, and then copy its folder around when you have security turned on. It might be even considered a bug since you cannot install a Windows service for a JNLP slave once you have turned on security. You will only have the option to run the command Jenkins gave you, presumably at start up, or create/use a Java service wrapper from somewhere. Doable, but definitely newbie-unfriendly :) As a side topic - on what is the node secret key based? If the VM hosting the slave changes but its IP and hostname remain the same, can the key be reused? Regards, Costin. On Mon, May 13, 2013 at 7:23 PM, Eric Pyle wrote: > How did you configure security? If it is matrix-based or project-based > matrix, check your user permissions for slaves. Do you have all permissions? > > Eric > > > On 5/13/2013 10:29 AM, Costin Caraivan wrote: > >> Hello, >> >> After configuring security for the master Jenkins only offers the >> headless command as an options. This means that the window which offers the >> service installation menu is not available. >> >> How can the Windows service be installed in this setup? >> (jenkins-service.exe --install, copied from another slave? - sounds like a >> hack if that's the only option :( ). >> >> Thank you, >> _ >> Costin Caraivan >> -- >> 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+unsubscribe@**googlegroups.com >> . >> For more options, visit >> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >> . >> >> >> > -- > 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+unsubscribe@**googlegroups.com > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > > > -- _ Costin Caraivan -- 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. For more options, visit https://groups.google.com/groups/opt_out.
How to install Windows JNLP service when Jenkins security is on?
Hello, After configuring security for the master Jenkins only offers the headless command as an options. This means that the window which offers the service installation menu is not available. How can the Windows service be installed in this setup? (jenkins-service.exe --install, copied from another slave? - sounds like a hack if that's the only option :( ). Thank you, _ Costin Caraivan -- 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. For more options, visit https://groups.google.com/groups/opt_out.
A question about the upcoming change: Added a new hook to enable matrix project axes to change its values per build.
Hello, I saw this in the change log: "Added a new hook to enable matrix project axes to change its values per build. " Does this mean that we will be able to use environment variables and/or parameters (i.e.${MY_VAR}) to change the axes before launching the build? This would be awesome in situations where you want to launch the same configuration on different sets of machines. Thank you, _____ Costin Caraivan
Re: Execute job on all the nodes with a certain label
Hello, Woohoo. I misread a part of the configuration and thought that it couldn't run concurrent builds. Apparently it can :) Thanks a lot! On Mon, May 14, 2012 at 5:53 PM, domi wrote: > Have a look at this plugin: > https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin > I think this should do what you want… > regards Domi > > On 14.05.2012, at 16:48, Costin Caraivan wrote: > > > Hello, > > > > I'm trying to use Jenkins as a remote execution tool. In case you're > wondering why I'm using Jenkins and not some other tool, it's because I > haven't found a tool for remote execution that provides: > > - multiple options for connecting to a machine > > - a web interface > > - easy configuration (very important from an administrative point of > view) > > - no client/slave/agent install on the machines (you just need Java and > you're all set from Jenkins' point of view) > > - dozens of notification systems > > - tons of useful plugins > > > > Anyway, back on track. I want to execute a command on all the nodes with > a certain label. Is this possible? I'm not sure it is, but I'm missing > something. > > > > I don't want to configure the matrix jobs to use individual labels since > I'll have dozens of jobs, and lots of duplicated configuration. Plus the > list will have to be updated periodically. > > > > Any pointers will be greatly appreciated :) > > _ > > Costin Caraivan > > > > -- _ Costin Caraivan
Execute job on all the nodes with a certain label
Hello, I'm trying to use Jenkins as a remote execution tool. In case you're wondering why I'm using Jenkins and not some other tool, it's because I haven't found a tool for remote execution that provides: - multiple options for connecting to a machine - a web interface - easy configuration (very important from an administrative point of view) - no client/slave/agent install on the machines (you just need Java and you're all set from Jenkins' point of view) - dozens of notification systems - tons of useful plugins Anyway, back on track. I want to execute a command on all the nodes with a certain label. Is this possible? I'm not sure it is, but I'm missing something. I don't want to configure the matrix jobs to use individual labels since I'll have dozens of jobs, and lots of duplicated configuration. Plus the list will have to be updated periodically. Any pointers will be greatly appreciated :) _ Costin Caraivan