Reverse Proxy Auth Plugin - LDAP troubles - 404 error
Hi all, I'm using Jenkins 1.625.3 and I'm trying to configure the Reverse Proxy Auth Plugin (1.5) with my LDAP information and encountering issues. When I use the same values to configure pure LDAP, it works fine. However when I configure the Reverse Proxy Auth Plugin I encounter errors as soon as I specify an LDAP hostname. It appears the Reverse Proxy Plugin is trying to verify the LDAP server name using this url: ${rootURL}/securityRealms/LDAPSecurityRealm/serverCheck?field=serverserver='+encodeURIComponent(this.value)+'managerDN='+encodeURIComponent(this.form.elements['managerDN'].value)+'managerPassword='+encodeURIComponent(this.form.elements['managerPassword'].value) When I enter this URL manually I get a 404 error, which is the same error that the plugin gives me. (I get the same error if I use my proxy name or my actual hostname for $rootURL) Any thoughts? Thanks, Terry -- 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/ad0b0a4e2a2b43d68dc9f797d5e7f740%40XCH15-05-11.nw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Naginator plugin support environment variables?
Does the Naginator plugin support reading Jenkins environment variables? I see that Naginator exposes I'd like to define a regular expression as a Jenkins environment variable and then configure Naginator to use it. I can't seem to get this to work (or to set other inputs as environment variables like a max retry value). Is this a supported use case? Thanks, Terry -- 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/cc7f7cf64f0144d3b758ee2d6899e4bc%40XCH15-05-11.nw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Git Client Plugin wiki page missing data?
Nice, thank you! Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Christopher Orr Sent: Wednesday, June 01, 2016 7:07 PM To: jenkinsci-users@googlegroups.com Subject: Re: Git Client Plugin wiki page missing data? Hi there, On 01 Jun 2016, at 18:53, Dunnigan, Terrence J <terrence.j.dunni...@boeing.com<mailto:terrence.j.dunni...@boeing.com>> wrote: Does anyone know why the Git Client Plugin wiki page is missing most of its data? Both of these URLs appear to point to the same page, and both appear to be missing everything save the Plugin Information table. https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=97091701 I’ve fixed it (I think). Confluence, for some odd reason, appears not to understand "+" in a URL like everybody else does, and somebody seems to have added an empty „Git+Client+Plugin“ page a couple of months ago. I’ve deleted that page now, and when accessing that URL (bypassing our wiki cache), it properly displays the existing „Git Client Plugin“ page: https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin?nocache Regards, Chris -- 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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9CC7E58C-AB84-4FAB-A72F-332EDC5BC573%40orr.me.uk<https://groups.google.com/d/msgid/jenkinsci-users/9CC7E58C-AB84-4FAB-A72F-332EDC5BC573%40orr.me.uk?utm_medium=email_source=footer>. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/18be0e0c645d4b8793cfa36a08071d82%40XCH15-05-11.nw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Git Client Plugin wiki page missing data?
Does anyone know why the Git Client Plugin wiki page is missing most of its data? Both of these URLs appear to point to the same page, and both appear to be missing everything save the Plugin Information table. https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=97091701 Thanks, Terry -- 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/443514d9acdb4185853d42e1cda74e5b%40XCH15-05-11.nw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Show non-SCM changes in Jenkins emails?
Hi all, Is there a way to show non-SCM related changes in Jenkins emails? I'm thinking of examples like this: - Changed job configuration o Build step o Node o etc - Wiped workspace Our emails are sent by the Email-Ext plugin and we already use the ${CHANGES} content token. Sometimes our builds are fixed by wiping the workspace or changing the job configuration, and not SCM changes. In those cases, the email merely says "No changes" Is there an existing macro that contains this type of information? Thanks, Terry -- 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/8ee1bf33a6e641d4a2cceb468942353c%40XCH15-05-11.nw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Jenkins Remoting Agent - Expired Certificate
Has anyone else encountered this? We're running Jenkins LTS 1.554.3 and Java Server SDK 7u72 on a Windows 2008 Server, and Java 7u72 on the slave workstations. When we restarted our server yesterday none of our slaves connected via DCOM. They never made it past the first (Connecting to ...) or second (Checking for Java) step. At the same time, I'm now seeing Java security warnings on the slaves when running the Jenkins Remoting Agent. The code signing certificate expired just a few days ago (7/18). Could this be related to my DCOM errors? [cid:image001.png@01D0C480.A1B005F0] Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D1CDB5B%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Jenkins Remoting Agent - Expired Certificate
Thank you! I appreciate the prompt response and assistance. I can confirm I am using slave jar 2.36 when I get the security warning I described below. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kohsuke Kawaguchi Sent: Wednesday, July 22, 2015 1:33 PM To: Jenkins Users Subject: Re: Jenkins Remoting Agent - Expired Certificate Yes, my code signing certificate expired. Up until about 2 years ago, I was signing these bits without including the timestamp. That has the unfortunate side effect of invalidating the signature when my certificate expires, which happens sooner or later. Since then I have modified the signing process to include the timestamp, so that the signed release bits will continue to pass the signature test even when a certificate expires. That happened about 2 years ago. You are running a fairly old version, so I suspect you ae running an affected version. That said, 1.554.3 has slave jar 2.36, which should have the timestamp. Are you sure your slave.jar is up-to-date against the master? Can you look at the slave manifest to see the version number? I recommend you ugprade Jenkins altogether, but to get unblocked quickly, just download the latest slave.jar from herehttp://repo.jenkins-ci.org/releases/org/jenkins-ci/main/remoting/ and use it as the slave.jar. On Wednesday, July 22, 2015 at 11:16:43 AM UTC-7, Dunnigan, Terrence J wrote: Has anyone else encountered this? We’re running Jenkins LTS 1.554.3 and Java Server SDK 7u72 on a Windows 2008 Server, and Java 7u72 on the slave workstations. When we restarted our server yesterday none of our slaves connected via DCOM. They never made it past the first (Connecting to …) or second (Checking for Java) step. At the same time, I’m now seeing Java security warnings on the slaves when running the Jenkins Remoting Agent. The code signing certificate expired just a few days ago (7/18). Could this be related to my DCOM errors? [https://groups.google.com/group/jenkinsci-users/attach/26137d35bd73514f/image001.png?part=0.1authuser=1] Terry -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cd816250-564c-4b33-8937-27db667005dc%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/cd816250-564c-4b33-8937-27db667005dc%40googlegroups.com?utm_medium=emailutm_source=footer. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD8B655B5126D4FAE1397203CDDBF2D1CDED0%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Build Failure Analyzer Plugin - option to rescan all jobs?
So far I like the Build Failure Analyzer (https://wiki.jenkins-ci.org/display/JENKINS/Build+Failure+Analyzer). I've been using it for a few months categorizing errors as we encounter them. Now that I have a decent taxonomy of build failure reasons, is there a way to rescan all jobs? I see how to do it on a per-job basis but I don't see how I can have the plugin rescan all jobs. Thanks, Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D1A6EF9%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Git plugin Additional Behaviors - does order matter?
When specifying the various Additional Behaviors in the Jenkins git plugin, does the order in which they are listed matter? Or is the order predefined in the plugin? Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D1A4B78%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Does Jenkins expose the Current SCM Polling Activities via its REST API?
Does Jenkins expose its Current SCM Polling Activities via its REST API? I'm talking about this page: https://server/descriptor/hudson.triggers.SCMTrigger/https://%3cserver%3e/descriptor/hudson.triggers.SCMTrigger/ I'd like to setup a job to read this data and take action if polling is hung. Thanks, Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D191FD6%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Git polling: could not lock config file .git/config: File exists
Thanks Mark! I had not seen all of those reports. I shall investigate. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Tuesday, May 19, 2015 7:16 PM To: jenkinsci-users@googlegroups.com Subject: Re: Git polling: could not lock config file .git/config: File exists There are a few bug reports which might give you hints of things to try. The bug reports do not mention your specific case (File exists), but the ideas may help you explore the problem further. https://issues.jenkins-ci.org/browse/JENKINS-21914 - matches your error message, but I can't duplicate it https://issues.jenkins-ci.org/browse/JENKINS-21376 - different error message, but related to lock file https://issues.jenkins-ci.org/browse/JENKINS-24179 - different error message https://issues.jenkins-ci.org/browse/JENKINS-25353 - lingering lock file (not likely related to this one) Mark Waite On Tue, May 19, 2015 at 3:46 PM Dunnigan, Terrence J terrence.j.dunni...@boeing.commailto:terrence.j.dunni...@boeing.com wrote: I’ve seen this error more than a few times on some of my machines: Has anyone else seen this? Jenkins 1.554.3, Git plugin 2.2.9, Git client plugin 1.12.0 Windows 7 Slave connected as a service Git 1.9.5.msysgit.1 running on the slave Started on May 19, 2015 4:30:39 PM Polling SCM changes on Basic Using strategy: Default [poll] Last Built Revision: Revision de4fc75113af9b795c2ce1c94e59bf4566c24855 (origin/latest/int, origin/master) C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=120 Fetching changes from the remote Git repositories C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url git@server:repo.gitmailto:git@server:repo.git # timeout=120 FATAL: hudson.plugins.git.GitException: Failed to fetch from git@server:repo.gitmailto:git@server:repo.git hudson.util.IOException2: hudson.plugins.git.GitException: Failed to fetch from git@server:repo.gitmailto:git@server:repo.git at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:496) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1605) at hudson.model.AbstractProject._poll(AbstractProject.java:1575) at hudson.model.AbstractProject.poll(AbstractProject.java:1493) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: hudson.plugins.git.GitException: Failed to fetch from git@server:repo.gitmailto:git@server:repo.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:668) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:575) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:494) ... 13 more Caused by: hudson.plugins.git.GitException: Command C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url git@server:repo.gitmailto:git@server:repo.git returned status code 255: stdout: stderr: error: could not lock config file .git/config: File exists at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1442) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1418) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1414) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1117) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1127) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:839) at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:120) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328
Git polling: could not lock config file .git/config: File exists
I've seen this error more than a few times on some of my machines: Has anyone else seen this? Jenkins 1.554.3, Git plugin 2.2.9, Git client plugin 1.12.0 Windows 7 Slave connected as a service Git 1.9.5.msysgit.1 running on the slave Started on May 19, 2015 4:30:39 PM Polling SCM changes on Basic Using strategy: Default [poll] Last Built Revision: Revision de4fc75113af9b795c2ce1c94e59bf4566c24855 (origin/latest/int, origin/master) C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=120 Fetching changes from the remote Git repositories C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url git@server:repo.git # timeout=120 FATAL: hudson.plugins.git.GitException: Failed to fetch from git@server:repo.git hudson.util.IOException2: hudson.plugins.git.GitException: Failed to fetch from git@server:repo.git at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:496) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1605) at hudson.model.AbstractProject._poll(AbstractProject.java:1575) at hudson.model.AbstractProject.poll(AbstractProject.java:1493) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: hudson.plugins.git.GitException: Failed to fetch from git@server:repo.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:668) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:575) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:494) ... 13 more Caused by: hudson.plugins.git.GitException: Command C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url git@server:repo.git returned status code 255: stdout: stderr: error: could not lock config file .git/config: File exists at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1442) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1418) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1414) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1117) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1127) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:839) at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:120) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Done. Took 0.1 sec No changes Thanks, Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D18A9E5%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Git repository connection times out sometimes
Hi, I’m also encountering that very error. It seems to happen at random on various nodes. Building remotely on Goku in workspace C:\Hudson_remote\workspace\code.git C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=120 Fetching changes from the remote Git repository C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url git@server:code # timeout=120 ERROR: Error fetching remote repo 'origin' ERROR: Error fetching remote repo 'origin' I’m using Jenkins LTS 1.544.3 on a Windows 2008 server running Java 7. Git plugin 2.2.9 Git client plugin 1.12.0 The nodes are all running Windows 7, Java 7, and either 1.8.3 or git 1.9.5. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of web-deploy Sent: Wednesday, May 06, 2015 11:33 AM To: jenkinsci-users@googlegroups.com Cc: jennifer.hofmeis...@younicos.com Subject: Re: Git repository connection times out sometimes Hi, I haven't encountered similar problem starting last week. Our Jenkins master and slaves both run on Linux tho. ... ERROR: Timeout after 10 minutes ERROR: Error cloning remote repo 'origin' ERROR: Error cloning remote repo 'origin' Retrying after 10 seconds ... Anyone has any ideas? On Wednesday, April 22, 2015 at 1:59:32 AM UTC-7, Jennifer Hofmeister wrote: Hi, just to thank everyone for your ideas and to give an update: It was no network issue, everything looked clean on that side. Also, it was no git client issue on the Jenkins master side, I updated it along with the plugin with no effect. (Although on the repository side, it was 1.7.11.8 … so, ancient … no idea if that caused any trouble. Didn’t want to meddle on that system yet, though.) Somehow, the server side didn’t want the master’s Git SSH key anymore. So I tried things out on my own system, where it worked, and copied my keys to the Git/.ssh directory on Jenkins master. That fixed the connection, but the Jenkins job still would not work compared to the command line. Since the only difference between these two is that the Jenkins job, running as a service, starts Git as SYSTEM, and cmd starts it as USER, I reconfigured the Jenkins service to run as USER. Problem solved for me. Thanks for everything, though, it helped me learn a lot! Jennifer From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Dunnigan, Terrence J Sent: Freitag, 17. April 2015 18:09 To: jenkins...@googlegroups.comjavascript: Subject: RE: Git repository connection times out sometimes I noticed the improvement in 1.9.5, but looking at the release notes it appears that the upgrades have been happening for a while. https://github.com/msysgit/msysgit/releases/tag/Git-1.9.5-preview20150319 https://github.com/msysgit/msysgit/releases/tag/Git-1.9.4-preview20140815 On git 1.8.3: $ ssh -v OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 On git 1.9.5: $ ssh -V OpenSSH_6.6.1p1, OpenSSL 1.0.1i 6 Aug 2014 Yay to the git team! Terry From: jenkins...@googlegroups.comjavascript: [mailto:jenk...@googlegroups.comjavascript:] On Behalf Of Mark Waite Sent: Friday, April 17, 2015 10:49 AM To: jenkins...@googlegroups.comjavascript: Subject: Re: Git repository connection times out sometimes I wasn't aware that the msysgit team had been able to upgrade to a newer version of ssh. https://groups.google.com/forum/#!topic/msysgit/EqyLxeHudqc describes the approximately 1 MB/second bandwidth limit when cloning over OpenSSH using msysgit. Cloning with msysgit over PuTTY plink does not have that limitation. Cloning with mssygit over git protocol does not have that limitation. Cloning with msysgit over https or http does not have that limitation. Mark Waite On Fri, Apr 17, 2015 at 7:58 AM, Dunnigan, Terrence J terrence@boeing.comjavascript: wrote: Your job runs on the Jenkins master server. What version of the git client do you have installed on your Jenkins master? I have seen issues where earlier versions of git for Windows (pre-1.9.5) will hang during routine operations like git fetch. I’ve seen this happen both at my desk and in our Jenkins ecosystem. The workaround pre-1.9.5 was to install Putty and set the GIT_SSH environment variable to use Putty’s plink.exe. With git 1.9.5 they have seemingly improved performance such that using Putty is no longer necessary. Terry From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Jennifer Hofmeister Sent: Thursday, April 16, 2015 4:38 AM To: jenkins...@googlegroups.comjavascript: Subject: Git repository connection times out sometimes Hello, I have several build jobs that clone from a remote Git repository. On some of them, the git fetch part of the command fails with the following output: Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\test_123\workspace git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from
RE: Jenkins slave restart
Two thoughts. 1) When running Jenkins as a service, can you run as a user, instead of local system? And can you give that user permissions to your share? 2) From a command window, “shutdown /r /t 0” will restart the machine. If you’re not running as a service you’ll need to log in before the slave reconnects. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of pra...@gmail.com Sent: Wednesday, April 22, 2015 5:09 AM To: jenkinsci-users@googlegroups.com Subject: Jenkins slave restart Hi, We have recently adopted Jenkins to manage performance testing lab which comprises of many performance testing servers. A little background of the problem we have: Lately we have been observing some discrepancy in the readings due to memory consumption of Jenkins slave - memory usage goes up and down. For reliability we need same readings when a single test is executed multiple times. But that doesn't seem to happen now after adopting Jenkins. We have observed that Jenkins slave memory usage increases gradually over a period of time and suspecting that this could be affecting the stability of the performance tests. Question: So now we want to figure out a way to restart Jenkins slave after every performance test we perform on the server. Using Jenkins slave as a service is preventing us to access some network shares so we were forced to start Jenkins slave using the java -jar option. Is there a way we can restart Jenkins slaves after every test run on the slave? I have also attached herewith the list of plugins I have installed. Please advise if any of these plugins could be causing the increasing memory usage of Jenkins slave. I can share more details about my setup if it helps. Thank you for your time and advice. Regards, Praneeth -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/799ea334-37b4-4475-b317-37e8f4d6952c%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/799ea334-37b4-4475-b317-37e8f4d6952c%40googlegroups.com?utm_medium=emailutm_source=footer. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD8B655B5126D4FAE1397203CDDBF2D16A820%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Git repository connection times out sometimes
Your job runs on the Jenkins master server. What version of the git client do you have installed on your Jenkins master? I have seen issues where earlier versions of git for Windows (pre-1.9.5) will hang during routine operations like git fetch. I’ve seen this happen both at my desk and in our Jenkins ecosystem. The workaround pre-1.9.5 was to install Putty and set the GIT_SSH environment variable to use Putty’s plink.exe. With git 1.9.5 they have seemingly improved performance such that using Putty is no longer necessary. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jennifer Hofmeister Sent: Thursday, April 16, 2015 4:38 AM To: jenkinsci-users@googlegroups.com Subject: Git repository connection times out sometimes Hello, I have several build jobs that clone from a remote Git repository. On some of them, the git fetch part of the command fails with the following output: Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\test_123\workspace git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git.exe config remote.origin.url ssh://g...@stash.mycompany.com:port/path/test-project1.git # timeout=10 Fetching upstream changes from ssh://g...@stash.mycompany.com:port/path/test-project1.git git.exe --version # timeout=10 git.exe -c core.askpass=true fetch --tags --progress ssh://g...@stash.mycompany.com:port/path/test-project1.git +refs/heads/*:refs/remotes/origin/* # timeout=10 ERROR: Timeout after 10 minutes ERROR: Error fetching remote repo 'origin' ERROR: Error fetching remote repo 'origin' I get no more information. The process doesn’t get rejected by Stash, it just times out waiting for admission. The odd thing is that at the same time, other builds that do the very same thing will execute. On some builds, the effect even seems to occur arbitrarily, or not. Only one job really never seems to work (the one above). This just started happening on Monday. No changes or updates were made to either Stash or Jenkins (Windows 7 x64, v1.580.1). All connections are going out from this one machine, and the Stash connection has been working fine up until now. I tried upgrading the Git plugin, without effect, so now it is back at 2.3.4. Any ideas are appreciated! (A while ago, I had a similar inexplicable issue with Subversion I never got to solve, which was terribly frustrating. So any help is very much appreciated, really.) All the best, Jennifer -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA587D532C45541B62417404F1D22030E81D7A4%40you-exch1.younicos.localhttps://groups.google.com/d/msgid/jenkinsci-users/CAA587D532C45541B62417404F1D22030E81D7A4%40you-exch1.younicos.local?utm_medium=emailutm_source=footer. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD8B655B5126D4FAE1397203CDDBF2D167B6A%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Git repository connection times out sometimes
I noticed the improvement in 1.9.5, but looking at the release notes it appears that the upgrades have been happening for a while. https://github.com/msysgit/msysgit/releases/tag/Git-1.9.5-preview20150319 https://github.com/msysgit/msysgit/releases/tag/Git-1.9.4-preview20140815 On git 1.8.3: $ ssh -v OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 On git 1.9.5: $ ssh -V OpenSSH_6.6.1p1, OpenSSL 1.0.1i 6 Aug 2014 Yay to the git team! Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Friday, April 17, 2015 10:49 AM To: jenkinsci-users@googlegroups.com Subject: Re: Git repository connection times out sometimes I wasn't aware that the msysgit team had been able to upgrade to a newer version of ssh. https://groups.google.com/forum/#!topic/msysgit/EqyLxeHudqc describes the approximately 1 MB/second bandwidth limit when cloning over OpenSSH using msysgit. Cloning with msysgit over PuTTY plink does not have that limitation. Cloning with mssygit over git protocol does not have that limitation. Cloning with msysgit over https or http does not have that limitation. Mark Waite On Fri, Apr 17, 2015 at 7:58 AM, Dunnigan, Terrence J terrence.j.dunni...@boeing.commailto:terrence.j.dunni...@boeing.com wrote: Your job runs on the Jenkins master server. What version of the git client do you have installed on your Jenkins master? I have seen issues where earlier versions of git for Windows (pre-1.9.5) will hang during routine operations like git fetch. I’ve seen this happen both at my desk and in our Jenkins ecosystem. The workaround pre-1.9.5 was to install Putty and set the GIT_SSH environment variable to use Putty’s plink.exe. With git 1.9.5 they have seemingly improved performance such that using Putty is no longer necessary. Terry From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Jennifer Hofmeister Sent: Thursday, April 16, 2015 4:38 AM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Git repository connection times out sometimes Hello, I have several build jobs that clone from a remote Git repository. On some of them, the git fetch part of the command fails with the following output: Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\test_123\workspace git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git.exe config remote.origin.url ssh://g...@stash.mycompany.com:port/path/test-project1.git # timeout=10 Fetching upstream changes from ssh://g...@stash.mycompany.com:port/path/test-project1.git git.exe --version # timeout=10 git.exe -c core.askpass=true fetch --tags --progress ssh://g...@stash.mycompany.com:port/path/test-project1.git +refs/heads/*:refs/remotes/origin/* # timeout=10 ERROR: Timeout after 10 minutes ERROR: Error fetching remote repo 'origin' ERROR: Error fetching remote repo 'origin' I get no more information. The process doesn’t get rejected by Stash, it just times out waiting for admission. The odd thing is that at the same time, other builds that do the very same thing will execute. On some builds, the effect even seems to occur arbitrarily, or not. Only one job really never seems to work (the one above). This just started happening on Monday. No changes or updates were made to either Stash or Jenkins (Windows 7 x64, v1.580.1). All connections are going out from this one machine, and the Stash connection has been working fine up until now. I tried upgrading the Git plugin, without effect, so now it is back at 2.3.4. Any ideas are appreciated! (A while ago, I had a similar inexplicable issue with Subversion I never got to solve, which was terribly frustrating. So any help is very much appreciated, really.) All the best, Jennifer -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA587D532C45541B62417404F1D22030E81D7A4%40you-exch1.younicos.localhttps://groups.google.com/d/msgid/jenkinsci-users/CAA587D532C45541B62417404F1D22030E81D7A4%40you-exch1.younicos.local?utm_medium=emailutm_source=footer. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users
Remote Communication Service (Windows Slaves running as a service)
Hi all, I'm trying to configure some Windows 7 workstations to connect to our Jenkins server via a Window service. Currently they connect just fine over JNLP but we have traditionally experienced fewer issues when connecting via DCOM. I'm stuck early in the process, when Jenkins uses Remote Communication Service to detect if Java is installed on the system. I've verified that Jenkins copies RemComSvc.exe from the server to the client's C:\Windows directory but then nothing happens. The console output is: Connecting to mwdev05bltsgs Checking if Java exists ERROR: Failed to prepare Java jcifs.smb.SmbException: 0xC205 at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:563) at jcifs.smb.SmbTransport.send(SmbTransport.java:664) System specs: Server: Jenkins v1.544.3 running on Windows 2008 Server and Java JRE 7u72 server. Client: Windows 7 running Java JRE 7u72 64 bit. JAVA_HOME is set to Java install path, and the System PATH contains %JAVA_HOME%\bin. I have numerous other nodes connected successfully using this setup via DCOM but for some reason there's a handful that refuse to advance past the Checking if Java exists... stage. Does anyone have experience troubleshooting this particular issue? Is there a way that I can manually invoke RemComSvc.exe and see the results myself? Thanks, Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D16768F%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: How to disable automatic scheduling of the Git Plugin
We have plenty of parameterized builds that we invoke on-demand, by clicking ‘Build with Parameters’. They use git and build a specific branch. They do not poll and we don’t use any external triggers. I’ve never seen a message like the one you describe. Where do you get this message? On the job configuration page? Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of bl0ck3r Sent: Tuesday, January 27, 2015 6:45 PM To: jenkinsci-users@googlegroups.com Subject: How to disable automatic scheduling of the Git Plugin The Git Plugin tells me that it is Scheduling another build to catch up with project-integration I do not use polling, I do not use any triggers, I have a plain job triggered by hand. How do I turn off any and all of the automatic scheduling performed by the Git Plugin? Thanks, Martin -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/10864b38-38cf-40bb-8f63-b0f5e9196072%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/10864b38-38cf-40bb-8f63-b0f5e9196072%40googlegroups.com?utm_medium=emailutm_source=footer. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD8B655B5126D4FAE1397203CDDBF2D11691F%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Multiple Test Reports Graphs and Links in Job Page
How is your job configured? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Vivek Sent: Wednesday, December 17, 2014 4:04 AM To: jenkinsci-users@googlegroups.com Subject: Multiple Test Reports Graphs and Links in Job Page Hi, I've recently came across this (mentioned in the subject and screenshot attached) problem and created an issue at [ https://issues.jenkins-ci.org/browse/JENKINS-26077 ]. Did anyone else face this problem ? Or anyone with clues ? Thanks, Vivek. -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/084804a6-5744-48d6-86da-dd886d5c6929%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/084804a6-5744-48d6-86da-dd886d5c6929%40googlegroups.com?utm_medium=emailutm_source=footer. 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9AD8B655B5126D4FAE1397203CDDBF2D0EFAE6%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
Plugin to display arbitrary results?
Hi all, I have a job that runs and deletes files. I'd like the job summary page to display the total # of MB that the job deletes every time it runs. Is there a Jenkins plugin or two that can help me do this? Similar to the unit test plugins that chart # of unit tests run over time, I'd like a chart to show the # of MB that the job deletes over time. Any ideas? Thanks, Terry -- 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/9AD8B655B5126D4FAE1397203CDDBF2D0ED1CB%40XCH-PHX-205.sw.nos.boeing.com. For more options, visit https://groups.google.com/d/optout.
RE: Weekly E-mail Reports
Jenkins has a pretty powerful scripting API. I’ve written scripts in python to data mine some good information. For every job, add /api/ to the end of it to see the documentation. For example, https://yoursever/api/json will give you some top level information. Happy metric-ing ☺ Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Smith Sent: Thursday, November 20, 2014 10:56 AM To: jenkinsci-users@googlegroups.com Subject: Weekly E-mail Reports Hi We're looking to use jenkins more at work and we want to increase it's visibility (of things like code coverage, number of tests, etc.). One way I thought to do this was to have a weekly jenkins report. Listing the projects, alongside some graphs and metrics. Are there any projects out there that do this? Or has anyone got any experience whipping up a script to do it? Thanks Andy -- 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.commailto: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: Adding Windows slaves to Jenkins
Hi Patricia, Does this help? https://issues.jenkins-ci.org/browse/JENKINS-12629 There’s a few suggestions on that page, including using the –noCertificateCheck option. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Patricia Mendez Lorenzo Sent: Tuesday, November 18, 2014 5:28 AM To: jenkinsci-users@googlegroups.com Subject: Adding Windows slaves to Jenkins Hello all, just arriving to this forum, nice to be here. I have a quetion, maybe you can help me. I am trying to add a windows slave to my jenkins instance. I am following the instructions included in Launch Java Web Start slave agent via Windows Scheduler. The master node has a proper SSL certificate, however when lauching the command: java -jar slave.jar -jnlpUrl https://master_node:443/computer/slave_windows_hostname/slave-agent.jnlphttps://%3cmaster_node%3e:443/computer/%3cslave_windows_hostname%3e/slave-agent.jnlp -secret long_hex_string (executed inside the windows slave) it tells me: Exception in thread main javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching master server name found would you have an indea about what's going worng and how to solve this issue? Thanks so much! Best Patricia -- 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.commailto: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: Pushing Git tags back to origin
Does the exact same command work when you run it yourself on the build machine, using the same account as the build machine? Terry -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of youhour Sent: Tuesday, November 18, 2014 8:34 AM To: jenkinsci-users@googlegroups.com Subject: Re: Pushing Git tags back to origin I included git push --tags into my script and I still get the same error as git push origin --tags Pushing tags to remote server fatal: Upload denied for project 'bb' fatal: The remote end hung up unexpectedly Any thought how I can find out why remote server rejected? My other option is to use Git publisher. The reason I did not want to try that yet, because my script will return success even it does not do a build because the condition is not met. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728272.html Sent from the Jenkins users mailing list archive at Nabble.com. -- 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.
What might cause Jenkins to become unresponsive for brief periods of time?
Hi All, From time to time our Jenkins will become unresponsive for brief periods of time. The software is still running (per Windows Task Manager) and the PC is otherwise perfectly responsive. CPU utilization does not exceed 10%. Plenty of available RAM. System specs: Windows Server 2008 Java 1.6.0_27 Jenkins LTS 1.554.3 Monitoring plugin 1.49.0 The Monitoring plugin shows these gaps in memory usage. It's as if Jenkins freezes up for 10 minutes at a time every now and then. [cid:image001.png@01D0032A.2F469910] Thanks for any insight. Terry -- 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: What might cause Jenkins to become unresponsive for brief periods of time?
Thanks for the suggestion. It’s a 20+ core machine and we seldom exceed 5% utilization. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jeffrey Parker Sent: Tuesday, November 18, 2014 1:03 PM To: jenkinsci-users@googlegroups.com Subject: Re: What might cause Jenkins to become unresponsive for brief periods of time? What about the CPU usage on a per core basis? I have seen Jenkins push a single core to maximum for periods of time. On Tuesday, November 18, 2014 12:21:41 PM UTC-6, Dunnigan, Terrence J wrote: Hi All, From time to time our Jenkins will become unresponsive for brief periods of time. The software is still running (per Windows Task Manager) and the PC is otherwise perfectly responsive. CPU utilization does not exceed 10%. Plenty of available RAM. System specs: Windows Server 2008 Java 1.6.0_27 Jenkins LTS 1.554.3 Monitoring plugin 1.49.0 The Monitoring plugin shows these gaps in memory usage. It’s as if Jenkins freezes up for 10 minutes at a time every now and then. [https://groups.google.com/group/jenkinsci-users/attach/911c2f9e462729e6/image001.png?part=0.1authuser=0] Thanks for any insight. Terry -- 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.commailto: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: What might cause Jenkins to become unresponsive for brief periods of time?
Thanks for the suggestion. I’ve wondered if it’s a Java thing, maybe garbage collecting? I haven’t ruled out a failing hard drive either, though I would expect the frequency to be increasing were that the case. Java 7 … yikes. Maybe I’ll upgrade the to the latest patch version first ☺ Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Tuesday, November 18, 2014 1:09 PM To: jenkinsci-users@googlegroups.com Subject: Re: What might cause Jenkins to become unresponsive for brief periods of time? You might also consider if you should switch from JDK 6 to JDK 7. The current Java 6 patch version is 1.6.0_45, which is newer than the Java 6 version you're running. On Tue, Nov 18, 2014 at 12:03 PM, Jeffrey Parker thexd...@gmail.commailto:thexd...@gmail.com wrote: What about the CPU usage on a per core basis? I have seen Jenkins push a single core to maximum for periods of time. On Tuesday, November 18, 2014 12:21:41 PM UTC-6, Dunnigan, Terrence J wrote: Hi All, From time to time our Jenkins will become unresponsive for brief periods of time. The software is still running (per Windows Task Manager) and the PC is otherwise perfectly responsive. CPU utilization does not exceed 10%. Plenty of available RAM. System specs: Windows Server 2008 Java 1.6.0_27 Jenkins LTS 1.554.3 Monitoring plugin 1.49.0 The Monitoring plugin shows these gaps in memory usage. It’s as if Jenkins freezes up for 10 minutes at a time every now and then. [https://groups.google.com/group/jenkinsci-users/attach/911c2f9e462729e6/image001.png?part=0.1authuser=0] Thanks for any insight. Terry -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- 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.commailto: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.
Windows JNLP slaves don't recognize git timeout values
Hi all, We have some Windows 7 slaves, connected via JNLP, that don't recognize the git timeout values. Specifically, we are passing the JVM option -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=120. This option works on our slaves that we control via a Windows Service, but for some reason it doesn't do anything for the slaves that we control via JNLP. Has anyone seen this issue before? Jenkins LTS 1.554.3 Git plugin 2.2.2 Git client plugin 1.10.0 Thanks! Terry -- 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: Passing environment variables using the parameterized trigger plugin
Hi, Are you using a recent version of Jenkins and the parameterized plugin? I suspect the problem is that you are defining $PREFIX locally on the machine, and then trying to reference it via a Jenkins job configuration. When I’ve encountered that situation I’ve worked around it by writing the value to a .properties file and then passing that file to the downstream job (using the ‘Parameters from a properties file’) option. As for the other environment variables, passing $JOB_NAME and $BUILD_NUMBER work just fine for me. Upstream job (entitled “zTest Parameters”) configuration: [cid:image003.png@01CFF915.BEF7BD10] Downstream job’s /parameters page: [cid:image004.png@01CFF915.BEF7BD10] Terry -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam Mercer Sent: Wednesday, November 05, 2014 4:14 PM To: jenkinsci-users@googlegroups.com Subject: Passing environment variables using the parameterized trigger plugin Hi According to the documentation for the Parameterized Trigger plugin, specifically for 'Predefined parameters: KEY=value pairs, one per line (Java properties file format). Backslashes are used for escaping, so use \\ for a single backslash. Current build parameters and/or environment variables can be used in form: ${PARAM} or $PARAM I'm trying to use this to pass the contents of an environment variable to the next job in line, but it is not passed. In Job1 is essentially the execution of the following script: #!/bin/bash # display job parameters echo JOB_NAME = $JOB_NAME echo BUILD_NUMBER = $BUILD_NUMBER export PREFIX=/build/$JOB_NAME/$BUILD_NUMBER/lal echo Installing in $PREFIX And in the Predetermined parameters section I have: LAL_JOB_NAME=$JOB_NAME LAL_BUILD_NUMBER=$BUILD_NUMBER LAL_PREFIX=$PREFIX When Job1 completes successfully and outputs: JOB_NAME = LALSuite/LAL/label=sl6 BUILD_NUMBER = 6 Installing in /build/LALSuite/LAL/label=sl6/6/lal Finished: SUCCESS It then triggers Job2 which is essentially the following script: #!/bin/bash # show parameters echo LAL_JOB_NAME = $LAL_JOB_NAME echo LAL_BUILD_NUMBER = $LAL_BUILD_NUMBER echo LAL_PREFIX = $LAL_PREFIX When executed Job2 displays: LAL_JOB_NAME = LALSuite/LAL LAL_BUILD_NUMBER = 6 LAL_PREFIX = ${PREFIX} So the contents of JOB_NAME isn't being passed correctly the value of the PREFIX environment variable is being completely ignored. How can I pass the contents of an environment variable to another job using the parameterized trigger plugin? Or is there another plugin that would be better in this situation? Cheers Adam -- 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.commailto: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.
When did Jenkins remove local links? Sidebar + main page?
My team recently upgraded from an older version of Jenkins (released December 2011) to Jenkins LTS 1.554.3. We were using the Sidebar Links plugin to link to a local file share. In the new version of Jenkins, these links aren't appearing at all. The Link URL is: file:///\\server\share\path Similarly, we had a file URI in the System Message for the Jenkins splash page, and it's not working either: a href=file:///\\server\sharepathOur server /a Are these types of links gone for good? Or is there a new syntax for file:// URIs? Thanks, Terry -- 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: Jenkins Jobs Hang Intermittently
Hi Lew, Just a few thoughts: where are the jobs running – on the server or on a node? When you log into the machine actually running the job, what do you observe? What does the process monitor say? Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Lew Sent: Thursday, October 30, 2014 10:23 AM To: jenkinsci-users@googlegroups.com Subject: Jenkins Jobs Hang Intermittently Hi All, I was curious if anyone else has run into this issue. Our Jenkins server will intermittently get hung jobs where they appear to be executing but the console log displays no output except for the pinwheel and no progress of the job is made. Clicking on the View as plain text link displays the following: No such file: /jenkins/jobs/JOB NAME/builds/DATE/log Going to that directory showed that the log directory in the path above does not exist. (The rest of the directory path exists.) Any thoughts as to what is going on or some way to debug this? Any help would be greatly appreciated. Thanks! Lew -- 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.commailto: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: Jenkins become unresponsive
Are you using the Jenkins Monitoring plugin? https://wiki.jenkins-ci.org/display/JENKINS/Monitoring It might help to provide some context and additional information when Jenkins is not responding. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rupali Sent: Monday, October 20, 2014 6:46 AM To: jenkinsci-users@googlegroups.com Subject: Jenkins become unresponsive Hi, We are facing one weird issue. Intermittently, our Jenkins URL becomes inaccessible. Only restarting Jenkins service resolves the issue. We are using Jenkins 1.565. We tried to analyses memory and CPU usage when such state appears. But CPU usage looked very low around 2% and memory usage by Jenkins Java process also was around 1.7 GB which is the case usually. We have Master-Slave setup containing 8 slave machines of which 2 slaves have dedicated jobs to run. Can you advise on how to analyze this issue to find out the root cause of Jenkins becoming inaccessible? Regards, Rupali -- 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.commailto: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: Question about git polling nonexisting_workspace
Thanks Mark Vincent! Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Wednesday, August 27, 2014 11:57 AM To: jenkinsci-users@googlegroups.com Subject: Re: Question about git polling nonexisting_workspace Vincent is correct. A workspace is required in order to perform the inclusion / exclusion analysis. The plugin knows that dependency is required, and implicitly requires a workspace for the polling. Mark Waite On Wed, Aug 27, 2014 at 9:02 AM, Vincent Latombe vincent.lato...@gmail.commailto:vincent.lato...@gmail.com wrote: Hi Terry, I believe options such as Polling ignores commits in certain paths (path/to/version/file) require you to poll using workspace. Vincent 2014-08-27 16:42 GMT+02:00 Dunnigan, Terrence J terrence.j.dunni...@boeing.commailto:terrence.j.dunni...@boeing.com: Hi all, I have a job that polls for changes. When I wipe the workspace the polling stops working and I see this message: Started on Aug 27, 2014 9:20:22 AM No workspace is available, so can’t check for updates. (nonexisting_workspace) Done. Took 0.21 sec No changes For this job, “Force polling using workspace” is NOT enabled. Since “Force polling using workspace” is not enabled, why does the polling require a workspace? The job is configured as such: -Branches to build has a specific branch listed -Polling ignores commits in certain paths (path/to/version/file) -Check out to a sub-directory -Advanced sub-modules behaviors (recursively update submodules) -Prune stale remote-tracking branches -Check out to a specific local branch -Poll SCM every 10 minutes Here’s my system information: Jenkins LTS 1.554.3 Git plugin 2.2.2 Git client plugin 1.10.0 I appreciate any help or insight that anyone may have. Thanks, Terry -- 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.commailto: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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- 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.commailto: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: Authetication using LDAP and Local User
I don’t know if you can do that. But I do know that you could support both users authenticated through LDAP and anonymous users. Perhaps that would work for you? Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rodrigo Maccari Sent: Thursday, August 28, 2014 4:04 PM To: jenkinsci-users@googlegroups.com Subject: Authetication using LDAP and Local User Hi All, I´m using the LDAP in order to authenticate the users in Jenkins, but I would like to allow an user outside of LDAP, also authenticate in Jenkins. I mean, execute the authentication trough LDAP and Jenkins own user database. Is it possible? Thanks. Rodrigo Maccari -- 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.commailto: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.
Question about git polling nonexisting_workspace
Hi all, I have a job that polls for changes. When I wipe the workspace the polling stops working and I see this message: Started on Aug 27, 2014 9:20:22 AM No workspace is available, so can't check for updates. (nonexisting_workspace) Done. Took 0.21 sec No changes For this job, Force polling using workspace is NOT enabled. Since Force polling using workspace is not enabled, why does the polling require a workspace? The job is configured as such: -Branches to build has a specific branch listed -Polling ignores commits in certain paths (path/to/version/file) -Check out to a sub-directory -Advanced sub-modules behaviors (recursively update submodules) -Prune stale remote-tracking branches -Check out to a specific local branch -Poll SCM every 10 minutes Here's my system information: Jenkins LTS 1.554.3 Git plugin 2.2.2 Git client plugin 1.10.0 I appreciate any help or insight that anyone may have. Thanks, Terry -- 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: Installing Jenkins into a specific directory on Windows using msiexec
Hi Luiz, Have you tried manually deleting or moving the existing C:\Program Files (x86)\Jenkins directory and then installing? Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Dirk Kuypers Sent: Wednesday, August 27, 2014 1:05 AM To: jenkinsci-users@googlegroups.com Subject: Re: Installing Jenkins into a specific directory on Windows using msiexec Hi Luiz, sorry, for the maybe dumb question: Does the user installing the package have admnistrative rights? From the log: MSI (s) (C8:68) [14:47:01:951]: Product: Jenkins 1.577 -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files (x86)\Jenkins. The installation cannot continue. Log on as administrator or contact your system administrator. Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files (x86)\Jenkins. The installation cannot continue. Log on as administrator or contact your system administrator. What's the command line you are using to install? BR Dirk 2014-08-26 20:13 GMT+02:00 Luiz Esmiralha esmira...@gmail.commailto:esmira...@gmail.com: Fails for me on 1.577. I attached the msiexec log file. On Thursday, March 6, 2014 4:15:09 PM UTC-3, Tim Bradt wrote: It works now as of 1.553 using the Windows native package. -- 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.commailto: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.commailto: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: Major Problems after upgrading to 1.532.2 LTS Release
What version were you running previously? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Sumner Sent: Thursday, February 20, 2014 5:47 PM To: jenkinsci-users@googlegroups.com Subject: Major Problems after upgrading to 1.532.2 LTS Release Nearly everything I do gives this error - any assistance will be greatefully accepted! Stack trace com4j.ComException: 80040e14 (Unknown error) : One or more errors occurred during processing of command. : .\invoke.cpp:517 at com4j.Wrapper.invoke(Wrapper.java:166) at $Proxy41.execute(Unknown Source) at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.getDnOfUserOrGroup(ActiveDirectoryAuthenticationProvider.java:188) at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.retrieveUser(ActiveDirectoryAuthenticationProvider.java:77) at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:30) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:584) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:49) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com4j.ComException: 80040e14 (Unknown error) : One or more errors occurred during processing of command. : .\invoke.cpp:517 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:35) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:340) at com4j.Task.invoke(Task.java:51) at com4j.ComThread.run0(ComThread.java:153) at com4j.ComThread.run(ComThread.java:134) -- 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.commailto: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: Windows git plugin / git client plugin problems
Hi everyone, Thanks for the feedback suggestions. I have resolved the issue by setting the Credentials to None in my Jenkins Git plugin configuration. I have credentials on the slave PC along with PuTTY and GIT_SSH set to Putty's plink.exe, and everything works as it should. Why would using my saved credentials cause the Jenkins GIT plugin to ignore the slave PC's GIT_SSH's setting? (As an aside, what am I giving up by not using those stored credentials?) To clarify: - My exact configuration works just fine using the Jenkins GIT plugin for small repos (2 MB or so). But I am encountering my problem when cloning a repo of ~ 20 MB and larger using the Git plugin and credentials. My workgroup has seen issues with cloning failing on larger repos unless we are using PuTTY's plink as our SSH client. When not using credentials, I have no problems. - I think there's a problem with the Jenkins GIT plugins not invoking my GIT_SSH's plink.exe when using Credentials. When the job is hung, and I view the current processes running on my slave machine, I see git's ssh.exe, and not plink.exe, running. The Jenkins console output even says using GIT_SSH to set credentials. - I get the same error when I set the Jenkins GIT plugin timeout values to something obnoxiously large, like 6 hours. My clone operation is consistently stalling out in the same spot. - This is a clean install of the latest LTS release on a test PC. No prior Jenkins was running on it. - I have set GIT_TRACE = 2, which is showing those trace and run_command messages. - We have some repos that approach 1 GB. Based on other comments in this thread it sounds like JGit may not be the best choice for me at the moment. - I get the same error with either C:\Program Files (x86)\git\cmd\git.exe and C:\Program Files (x86)\git\bin\git.exe defined as the git installation. I see a few GIT_SSH related errors on https://issues.jenkins-ci.org/browse/JENKINS/component/17423 .I run Jenkins as a service and I define my repos in the Jenkins GIT configuration page as git@server:repo.gitmailto:git@server:repo.git. For what it's worth, though, I also saw this error when running Jenkins via JNLP. If there is anything that I can do to help troubleshoot the issue further, please let me know. Thanks, Terry From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Tuesday, February 11, 2014 6:21 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Windows git plugin / git client plugin problems My technique is the opposite of Slide's. I always use the git executable in the bin directory. There were issues reported when the git executable in the cmd directory was used instead of using the executable in the bin directory. You might consider a test drive of the JGit implementation in your environment to see if it behaves any differently. The JGit implementation does not have all the features of the command line git implementation, but it may be sufficient for your use case. Was this job upgraded from a previous Git plugin version? If so, have you defined the credentials and configured the job to use those credentials? Is there some environment variable that is causing those unexpected trace: and run_command: strings in the output? I don't see those in my use of command line git on Windows. On Tue, Feb 11, 2014 at 4:59 PM, Slide slide.o@gmail.commailto:slide.o@gmail.com wrote: What is the path to Git? I use the one in ProgramFiles\Git\cmd instead of ProgramFiles\Git\bin. On Tue, Feb 11, 2014 at 4:49 PM, Dunnigan, Terrence J terrence.j.dunni...@boeing.commailto:terrence.j.dunni...@boeing.com wrote: Hi all, I've run into an issue where the latest git plugin / git client plugins time out. It pulls down the files in .git\objects\pack and elsewhere, but nothing beyond the .git folder. Here's my setup: Jenkins server: Jenkins LTS 1.532.1 running on a Windows 7 PC Jenkins GIT client plugin 1.6.2 (also on 1.6.1) Jenkins GIT plugin 2.0.1 Windows 7 slave PC: Jenkins is running as a service using an administrative account Git 1.8.3 is installed, along with PuTTY. GIT_SSH is set to C:\PuTTY\plink.exe Path includes C:\PuTTY Here's the error message once I hit 10 minutes: Started by user Terry Dunnigan Building remotely on slave in workspace C:\hudson_remote\workspace\job name Cloning the remote Git repository Cloning repository g...@myrepo.gitmailto:g...@myrepo.git Fetching upstream changes from g...@myrepo.gitmailto:g...@myrepo.git using GIT_SSH to set credentials Fetching upstream changes from g...@myrepo.gitmailto:g...@myrepo.git using GIT_SSH to set credentials ERROR: Timeout after 10 minutes FATALmailto:FATAL: Failed to fetch from g...@myrepo.gitmailto:g...@myrepo.git hudson.plugins.git.GitExceptionhttp
Windows git plugin / git client plugin problems
Hi all, I've run into an issue where the latest git plugin / git client plugins time out. It pulls down the files in .git\objects\pack and elsewhere, but nothing beyond the .git folder. Here's my setup: Jenkins server: Jenkins LTS 1.532.1 running on a Windows 7 PC Jenkins GIT client plugin 1.6.2 (also on 1.6.1) Jenkins GIT plugin 2.0.1 Windows 7 slave PC: Jenkins is running as a service using an administrative account Git 1.8.3 is installed, along with PuTTY. GIT_SSH is set to C:\PuTTY\plink.exe Path includes C:\PuTTY Here's the error message once I hit 10 minutes: Started by user Terry Dunnigan Building remotely on slave in workspace C:\hudson_remote\workspace\job name Cloning the remote Git repository Cloning repository g...@myrepo.git Fetching upstream changes from g...@myrepo.git using GIT_SSH to set credentials Fetching upstream changes from g...@myrepo.git using GIT_SSH to set credentials ERROR: Timeout after 10 minutes FATALmailto:FATAL: Failed to fetch from g...@myrepo.git hudson.plugins.git.GitExceptionhttp://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException: Failed to fetch from g...@myrepo.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:625)http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFromentity=method at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:847)http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChangesentity=method at hudson.plugins.git.GitSCM.checkout(GitSCM.java:872)http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkoutentity=method at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkoutentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckoutentity=method at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkoutentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method at hudson.model.Run.execute(Run.java:1665)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.runentity=method at hudson.model.ResourceController.execute(ResourceController.java:88)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method at hudson.model.Executor.run(Executor.java:246)http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method Caused by: hudson.plugins.git.GitExceptionhttp://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException: Command git fetch --tags --progress g...@myrepo.git +refs/heads/*:refs/remotes/origin/* returned status code -1: stderr: trace: built-in: git 'fetch' '--tags' '--progress' 'g...@myrepo.git' '+refs/heads/*:refs/remotes/origin/*' trace: run_command: 'C:\Users\me\AppData\Local\Temp\ssh6588671275929067852.bat' 'g...@myrepo.git' 'git-upload-pack '\''myrepo.git'\''' trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet' trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all' Any thoughts? Thanks everyone. Terry Dunnigan -- 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: Cant load up configuration page - Any workaround ?
Have you tried rebooting the server? The configurations should be saved to disk. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Z W Sent: Sunday, March 24, 2013 6:45 AM To: jenkinsci-users@googlegroups.com Subject: Cant load up configuration page - Any workaround ? Hi All We have been using Jenkins for a while; apparently it has a hard time loading up the configuration page of any job, even though no one is using it (traffic very low) what is the best way to recover the configuration page operation of any job ? Any procedural steps for us to follow to recover our jobs and not having to reconfigure from scratch. Thanks all. Greatly appreciated. -- 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.