Re: Custom metrics
On Friday, June 10, 2016 at 5:42:14 PM UTC-5, Matt Stave wrote: > > You can add build parameters while the build's in flight, with > [jenkinsURL]/cli/command/set-build-parameter > You should be able to refer to those in subsequent builds > > See also https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin (though > I've never used it) > This works great! Thanks. > > --- Matt > > On Sunday, May 22, 2016 at 9:22:27 PM UTC-7, Andrew Melo wrote: >> >> Hello, >> >> I had two short questions about what was possible with pipeline jobs: >> >> 1) Suppose I want to track some arbitrary values between builds and >> fail if they have decreased. Is there a way to stash integers/values >> between builds? For example, let's say I want to enforce that the lint >> of the codebase gets better with each commit or github pull request. >> Is there a step/command that could be used within groovy to extract >> the previous value to make the comparison? Or, am I stuck basically >> manually copying results to "magic" places on the master that later >> builds can suck down. >> >> 2) Let's suppose that I want to publish a trend of these values as a >> graph on the main job page. I know there's the HTML publisher that can >> publish arbitrary pages, but that's buried another click down. Is >> there a way to have custom charts/HTML show up on the job/build pages >> themselves? >> >> Thanks! >> Andrew >> >> -- >> -- >> Andrew Melo >> > -- 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/a16c28fc-3037-4e10-b9de-8643e486d35c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
New NPE with ghprb?
Hello all, I have a repository that is configured to have GH send webhooks for PRs, which trigger builds of a multibranch configuration. The most recent updates I pulled causes the following to fire after the job runs: Jul 11, 2016 8:31:59 PM SEVERE org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener returnEnvironmentVars Unable to connect to GitHub repo java.lang.NullPointerException at org.kohsuke.github.GitHub.getRepository(GitHub.java:337) at org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener.returnEnvironmentVars(GhprbUpstreamStatusListener.java:52) at org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener.onCompleted(GhprbUpstreamStatusListener.java:115) at org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener.onCompleted(GhprbUpstreamStatusListener.java:33) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) this causes the status on GH to never get updated, which prevents any merging of code. What can be done to get more information about this? Everything else works up until that point, so I assume there's not a connectivity problem between my host and GH, so I'm unsure of where to start searching. Thanks! Andrew -- -- Andrew Melo -- 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/CAJY4aWFy1JbyFPLGaR3wqs3mx0tct5H%3DwSz-MFCKo0WBczuHaQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Custom metrics
Hello, I had two short questions about what was possible with pipeline jobs: 1) Suppose I want to track some arbitrary values between builds and fail if they have decreased. Is there a way to stash integers/values between builds? For example, let's say I want to enforce that the lint of the codebase gets better with each commit or github pull request. Is there a step/command that could be used within groovy to extract the previous value to make the comparison? Or, am I stuck basically manually copying results to "magic" places on the master that later builds can suck down. 2) Let's suppose that I want to publish a trend of these values as a graph on the main job page. I know there's the HTML publisher that can publish arbitrary pages, but that's buried another click down. Is there a way to have custom charts/HTML show up on the job/build pages themselves? Thanks! Andrew -- -- Andrew Melo -- 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/CAJY4aWHCpRWdaigvsBSJnobD2MEE3%3DgJNB57C5Ftr3dHGc6aqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Pipeline: "Branch not mergable"
Hi- It appears to be an issue with the GH webhook firing before the mergeability is computed. When that happens, GH gives "null" to the mergeability field, when Jenkins is expecting true/false. Then Jenkins treats the branch as unmergeable and refuses to build it. I posted a comment to GH for the branch source and the GH Api plugins -- hopefully that will close the loop. Thanks, Andrew On Monday, April 25, 2016 at 12:40:36 PM UTC-5, Andrew Melo wrote: > > Hi all, > > Fairly often (~50% of the time), when I push a feature branch up to > GH, my multibranch configuration job will get the notification, poll > GH, then bomb with: > > Checking pull request #PR-47 > Not mergeable, skipping > > Even though the branch is mergable. If I force a build manually, it bombs > with: > > ERROR: Could not determine exact tip revision of PR-47; falling back > to nondeterministic checkout > > java.io.IOException: Cannot retrieve Git metadata for the build > at > org.jenkinsci.plugins.github.util.BuildDataHelper.getCommitSHA1(BuildDataHelper.java:34) > > > at > com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:132) > > > > This happens until I repeatedly force the branch indexing. Eventually > something clicks over, and jenkins is aware of the proper commit. > > Now, I've seen JENKINS-34120, but this appears to be different. The > commit is mergeable against master (I'm the only one commiting to > master currently, no rebases of the feature branch, etc..), and > there's no other status tests that would be keeping it from building. > It seems like the actual commit notification is getting scrambled. > > Has anyone else seen this? > Cheers, > Andrew > > -- > -- > Andrew Melo > -- 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/928cbf90-05fe-4a8d-9e5f-ef5e6179d1a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Trigger arbitrary build/post-build steps from pipeline
ping? Is the shiny new pipeline functionality simply incompatible with all of the existing plugins? On Thursday, April 21, 2016 at 2:34:00 PM UTC-5, Andrew Melo wrote: > > Hi, > > I've dug a bit more, perhaps that will help find a solution. It appears > the "step" groovy function wants a class that implements SimpleBuildStep, > but the plugins I'm looking at implements/extends hudson.tasks.Recorder. > I'm confused about the issue. If I look at the javadoc: > > http://javadoc.jenkins-ci.org/hudson/tasks/Recorder.html > > I see that Recorder implements BuildStep, but not SimpleBuildStep. But > (and my java is rusty, so forgive the terminology), since BuildStep is a > superinterface of SimpleBuild step, shouldn't it "count" for when step() > searches for a class implementing the interface? > > Thanks > Andrew > > On Sunday, April 17, 2016 at 8:24:43 PM UTC-5, Andrew Melo wrote: >> >> Hi again, >> >> I poked at it some more and it appears I'll have to explicitly change the >> plugins I want to use in a pipeline. The following: >> >> step([$class: 'TapPublisher', testResults: 'tap.log']) >> >> yields the following error: >> >> no known implementation of interface jenkins.tasks.SimpleBuildStep is >> named TapPublisher >> >> Or, perhaps a new groovy step that consumes classes of type 'Recorder' is >> the better idea? >> >> Thanks again! >> Andrew >> >> On Sunday, April 17, 2016 at 1:40:28 PM UTC-5, Andrew Melo wrote: >>> >>> Hello all, >>> >>> I would like to trigger build/post-build steps that don't appear in the >>> snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way >>> to trigger arbitrary build/post-build steps that don't appear in the >>> snippet browser, or will the plugin need to be updated to explicitly >>> support being triggered from pipelines? >>> >>> Thanks! >>> Andrew >>> >> -- 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/cbb83db6-22f6-4d8a-be19-1fb33fe05bf7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Pipeline: "Branch not mergable"
Hi all, Fairly often (~50% of the time), when I push a feature branch up to GH, my multibranch configuration job will get the notification, poll GH, then bomb with: Checking pull request #PR-47 Not mergeable, skipping Even though the branch is mergable. If I force a build manually, it bombs with: ERROR: Could not determine exact tip revision of PR-47; falling back to nondeterministic checkout java.io.IOException: Cannot retrieve Git metadata for the build at org.jenkinsci.plugins.github.util.BuildDataHelper.getCommitSHA1(BuildDataHelper.java:34) at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:132) This happens until I repeatedly force the branch indexing. Eventually something clicks over, and jenkins is aware of the proper commit. Now, I've seen JENKINS-34120, but this appears to be different. The commit is mergeable against master (I'm the only one commiting to master currently, no rebases of the feature branch, etc..), and there's no other status tests that would be keeping it from building. It seems like the actual commit notification is getting scrambled. Has anyone else seen this? Cheers, Andrew -- -- Andrew Melo -- 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/CAJY4aWHmAscJ4gPkMcjuOB9Zbw3za6ro4owMdrTtB31%3DossjZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Trigger arbitrary build/post-build steps from pipeline
Hi, I've dug a bit more, perhaps that will help find a solution. It appears the "step" groovy function wants a class that implements SimpleBuildStep, but the plugins I'm looking at implements/extends hudson.tasks.Recorder. I'm confused about the issue. If I look at the javadoc: http://javadoc.jenkins-ci.org/hudson/tasks/Recorder.html I see that Recorder implements BuildStep, but not SimpleBuildStep. But (and my java is rusty, so forgive the terminology), since BuildStep is a superinterface of SimpleBuild step, shouldn't it "count" for when step() searches for a class implementing the interface? Thanks Andrew On Sunday, April 17, 2016 at 8:24:43 PM UTC-5, Andrew Melo wrote: > > Hi again, > > I poked at it some more and it appears I'll have to explicitly change the > plugins I want to use in a pipeline. The following: > > step([$class: 'TapPublisher', testResults: 'tap.log']) > > yields the following error: > > no known implementation of interface jenkins.tasks.SimpleBuildStep is > named TapPublisher > > Or, perhaps a new groovy step that consumes classes of type 'Recorder' is > the better idea? > > Thanks again! > Andrew > > On Sunday, April 17, 2016 at 1:40:28 PM UTC-5, Andrew Melo wrote: >> >> Hello all, >> >> I would like to trigger build/post-build steps that don't appear in the >> snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way >> to trigger arbitrary build/post-build steps that don't appear in the >> snippet browser, or will the plugin need to be updated to explicitly >> support being triggered from pipelines? >> >> Thanks! >> Andrew >> > -- 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/cc9add83-2b68-4e4c-9a13-cc0b1920bb3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Trigger arbitrary build/post-build steps from pipeline
Hi again, I poked at it some more and it appears I'll have to explicitly change the plugins I want to use in a pipeline. The following: step([$class: 'TapPublisher', testResults: 'tap.log']) yields the following error: no known implementation of interface jenkins.tasks.SimpleBuildStep is named TapPublisher Or, perhaps a new groovy step that consumes classes of type 'Recorder' is the better idea? Thanks again! Andrew On Sunday, April 17, 2016 at 1:40:28 PM UTC-5, Andrew Melo wrote: > > Hello all, > > I would like to trigger build/post-build steps that don't appear in the > snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way > to trigger arbitrary build/post-build steps that don't appear in the > snippet browser, or will the plugin need to be updated to explicitly > support being triggered from pipelines? > > Thanks! > Andrew > -- 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/d6e040b8-d207-409d-b3cd-5aa0f6c8f985%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Trigger arbitrary build/post-build steps from pipeline
Hello all, I would like to trigger build/post-build steps that don't appear in the snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way to trigger arbitrary build/post-build steps that don't appear in the snippet browser, or will the plugin need to be updated to explicitly support being triggered from pipelines? Thanks! Andrew -- 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/5f309810-2ee4-4a4d-8b8f-4d93c846720c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Multi-configuration plugin missing branch
Hi all, I have a project in github with a Jenkinsfile in the project root. For some reason, even if I re-trigger branch indexing, Jenkins thinks the master branch has no Jenkinsfile (though it does): Checking branch master Jenkinsfile does not exist in this branch Does not meet criteria 0 branches were processed Getting remote pull requests... Checking pull request #PR-38 Jenkinsfile exists in this pull request Met criteria Scheduling build for branch: PR-38 1 pull requests were processed Is there some sort of caching involved, or perhaps a more aggressive "reindex branches" button I can use, or have I triggered a legitimate bug? I'm using the 2.0-rc1 docker image with all of the plugins updated. Cheers, Andrew -- 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/86246b09-1949-4098-bc21-c7c20e0b61f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Can't get Git access (stash) with credentials to work
it, send an email to jenkinsci-use...@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-use...@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-use...@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-use...@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-use...@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. -- -- Andrew Melo -- 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't get Git access (stash) with credentials to work
*shrug* The checkouts are anonymous and the two machines are on the same rack. Sure, in an ideal world, I'd have it fixed, but I've got bigger fish to fry On Fri, Nov 8, 2013 at 10:01 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: So one can put a man in the middle between jenkins and your git repo, sniff you password and start hacking away at your system then interesting! On 8 November 2013 15:45, Andrew Melo andrew.m...@gmail.com wrote: In my case (as one of the stupid people), I have the CA in the rest of the stack set up properly, but Jenkins is the only bit of software I use that's java, so I never bothered trying to figure out the incantations to get the CA added. It's everywhere else though, so I'm not too concerned with someone somehow managing to own the git repo without another bit of software complaining loudly. On Fri, Nov 8, 2013 at 9:41 AM, nicolas de loof nicolas.del...@gmail.com wrote: Right. So looks secure but actually unsecured. Le 8 nov. 2013 16:39, Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpflem...@bloomberg.net a écrit : It does make things secure if you also use client-side certificates and check them on the server side (so that a client-side certificate is mandatory to establish a connection). It also encrypts the traffic on the wire, but of course does not protect against man-in-the-middle attacks. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com Cc: Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpflem...@bloomberg.net At: Nov 8 2013 10:36:47 I don't understand why people host git over https with self-signed certificate. This don't make things secure, so why not just use http ? I only have used self-signed certificate for development/test of https webapps. Le 8 nov. 2013 16:33, nicolas de loof nicolas.del...@gmail.com a écrit : Add this as a java system property to your java command line. Le 8 nov. 2013 15:49, Саша Щербаков sashasat...@gmail.com a écrit : Could anybody explain how to run Jenkins with org.jenkinsci.plugins.gitclient.GitClient.untrustedSSL=true ? Thanks Пʼятниця, 8 листопада 2013 р. 16:41:48 UTC+2 користувач Kevin Fleming написав: I am starting to think that the new credentials system may be just a bit over-engineered :-) - Original Message - From: jenkins...@googlegroups.com To: jenkins...@googlegroups.com At: Nov 8 2013 07:50:15 Ahhh did you not add any specifications to the domain? You need to provide the domain with some specifications to match against. The domain's name is only used by humans... the specifications are used by Jenkins. If there is at least 1 specification, then the credentials in that domain will be available unless there is a specification that is *not* matched... On 8 November 2013 11:45, Robert Krüger kru...@lesspain.de wrote: On Fri, Nov 8, 2013 at 12:18 PM, Robert Krüger kru...@lesspain.de wrote: Thanks, that works now with credentials in the URL. Is there any way I can use the credentials mechanism instead? Shouldn't I have the credentials for that domain in the list? It does work if I enter global credentials. I guess I misunderstood the domain concept in that context. On Fri, Nov 8, 2013 at 11:00 AM, nicolas de loof nicolas...@gmail.com wrote: run jenkins with org.jenkinsci.plugins.gitclient.GitClient.untrustedSSL=true Anyway I recommend ssh Just out of curiosity, why? Is the HTTP(S) support not mature? 2013/11/8 Robert Krüger kru...@lesspain.de On Fri, Nov 8, 2013 at 10:41 AM, nicolas de loof nicolas...@gmail.com wrote: does your git repo use sef-signed certificates ? Yes ist does. Is there no way to specify something like GIT_SSL_NO_VERIFY=true or specify/import the CA cert somewhere? can't you use ssh to access it ? I have to check with our sysad. 2013/11/8 Robert Krüger kru...@lesspain.de Hi, I just installed a fresh Jenkins 1.538 on Mac OS 10.8.5 and am trying to configure a Job that checks out from a Git repository hosted on a Stash server. The git/stash access is via https and protected using http credentials. I Installed the Git plugin but when I enter the repository URL (e.g. https://git.mydomain.com/scm/PROJ/myproject.git), I get the red error message Failed to connect to repository : Failed to connect to https://git.mydomain.com/scm/PROJ/myproject.git;. I tried with and without credentials in the URL with the same result. Then I created a domain (under credentials), named it git.mydomain.com and added a set of credentials to that domain for my build user. Then I returned to the job configuration page but in the credentials section of the Git settings I still only have the - none - option in the drop-down. What am I doing wrong? Is there a log file where I can look for clues? Thanks in advance, Robert
Re: Most---Urgently---Need ! SAP HCM ! in Chicago IL.***Direct---Client---Requirement***
This same company shows up every few months, spams the list, gets banned, then signs up with a new mail. We'll have to wait for one of the admins to reban this guy :/ On Tue, Oct 29, 2013 at 8:59 AM, Ginga, Dick dick.gi...@perkinelmer.comwrote: This is not a “help wanted” group. ** ** *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Sai Kanth *Sent:* Tuesday, October 29, 2013 9:52 AM *To:* sai kanth *Subject:* Most---Urgently---Need ! SAP HCM ! in Chicago IL.***Direct---Client---Requirement*** ** ** Hello Friend’s, Hope you’re doing well and good. We have an urgent requirement below, if you have any consultant available with you please revert back to me with your latest profile ASAP. *Job Title : SAP HCM* *Location : Chicago IL* *Duration : 6 to 12 month's* *Job Description:* · 10 years of experience as SAP HCM Consultant and should have worked on minimum 2 end to end implementations of SAP-HR-Enterprise compensation management (ECM). · Strong knowledge and hands-on experience on customizations in SAP-HCM module- ECM · In depth understanding Budgeting, Compensation Planning process, Long Term Incentives and Job Pricing. · Hands on experience in configuring Compensation Eligibilities, Guidelines, Compensation Approval workflows. Thanks Regards Sai Kanth Technical Recruiter *TekisHub Consulting Services * 1000 N West Street, Suite 1200, Wilmington, DE, 19801 (D) 302 613 2500 Ext 204 (F) 617 830 0525 -- 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. -- -- Andrew Melo -- 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: Overlook the exit code as part of a shell or batch script
If you want to unconditionally return zero, do set +e command exit 0 Cheers, Andrew On Tuesday, September 17, 2013, alok kumar wrote: Hi All, I have a requirement in which I am executing some executable from the shell or batch command build step. Now, there is a known bug due to which the exit code of that shell or batch command build step is non-zero, due, to which the build is getting terminated as a failure. I do not want this behaviour as we are aware of this issue and hence would like to overlook it and go ahead with the next set of build steps. Is there any way to accomplish this? If so, whats the best way to do it? Thanks, Alok -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com javascript:_e({}, 'cvml', 'jenkinsci-dev%2bunsubscr...@googlegroups.com');. For more options, visit https://groups.google.com/groups/opt_out. -- -- Andrew Melo -- 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 configure a jenkins slave node
Does your svn repository require authentication of some kind? I'm not an expert, but the stack trace makes it seem like svn is balking when it tries to do a checkout. It's possible the user on your slave doesn't have the right credentials On Wed, Aug 28, 2013 at 2:13 AM, ycollet jean.kanni...@gmail.com wrote: Thanks for the answer. I am able to connect to the node, but the project doesn't work. The only project I am able to start is a project which is based on ssh commands: - svn performed via a post_build ssh command - build performed via a ssh command. The jenkins / svn command fails and the shell command fails too. YC -- 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. -- -- Andrew Melo -- 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: Set limit on number of threads
Hello, Under linux, each thread is not individually using the full amount of memory that shows up in ps or top. There are a significant number of shared memory pages involved, so the total memory usage isn't simply sum( RSS_thread1, RSS_thread2 ... RSS_threadN ) HTH Andrew On Mon, Aug 12, 2013 at 1:04 AM, Justinas Urbanavicius justin...@gmail.com wrote: Hi, I was wondering, if there is a way to limit the number of threads that jenkins uses, at start-up i see that there are ~28 threads running jenkins.war, and they use a lot of memory. Don't know why there should be a need for that much threads Platform Linux debian x64 Java version 1.6.0_27 OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) Jenkins v1.526 any help or info would be 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. -- -- Andrew Melo -- 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: Detect nodes
On Thu, Jun 27, 2013 at 10:09 AM, Tânia Magalhães taniamagalh...@gmail.com wrote: I am configuring jenkins to perform tests on our product. I have a master and severall slaves. Before performing the tests we have to checkout the code and building it. We do it through python scripts. Our idea was to do this only on the fastest slave machine and then copy all the binaries and executable files (...) to the others slaves. Then we also need to have all the script test files in each slave. Question: How to copy the binaries and executable files (...) after building the code to the others slaves without having to do it for each one? I mean is there a way to say do it for every slave machine? Lets say that the slave where the code is build is named X, that we have others slaves named A, B and C and that we want to copy a folder named folder_to_copy. What I am doing on X is: xcopy C:\folder_to_copy \\A\c$\folder_to_copy /E /I /Y xcopy C:\folder_to_copy \\B\c$\folder_to_copy /E /I /Y xcopy C:\folder_to_copy \\C\c$\folder_to_copy /E /I /Y Now, imagine that I have much more slaves. How can I do exactly the same thing but without the need to write a line for each machine? By the way, if during the process some of them failed, can we ensure that the others end successfully? I would recommend having one job that does the build, then using the using the artifact plugin to have jenkins handle moving the build products to the downstream builds that need your files. best, Andrew Thanks! -- 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. -- -- Andrew Melo -- 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: Permission to posto in mail list
On Wed, Jun 26, 2013 at 9:15 AM, Nayana ABREU holanda.nay...@gmail.com wrote: Hi, my name is Nayana Holanda I am trying to learn Jenkins, but I so far I had loads of problem to install and use it, I researched many web pages, but I don't what is wrong, I need help of more experienced users. You never replied for someone's earlier response asking you for more information. Without that, it's impossible for people to guess what your issue is. best, Andrew -- Nayana Holanda de Abreu holanda.nay...@gmail.com Phone: 662-801-6349 Skype: nayanexbourdon -- 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. -- -- Andrew Melo -- 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:
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. -- Nayana Holanda de Abreu holanda.nay...@gmail.com Phone: 662-801-6349 Skype: nayanexbourdon -- 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. -- Nayana Holanda de Abreu holanda.nay...@gmail.com Phone: 662-801-6349 Skype: nayanexbourdon -- Nayana Holanda de Abreu holanda.nay...@gmail.com Phone: 662-801-6349 Skype: nayanexbourdon -- 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. -- -- Andrew Melo -- 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.
Retrying on (git) checkout fail?
Hello, I've been getting more and more the error below [1], It appears for whatever reason my slaves aren't able to checkout from github. FWIW, I'm using the multi-SCM plugin with several git repos along with the local object directory. Is there some way to tell jenkins if the checkout doesn't succeed in X seconds, retry or something similar? Cheers, Andrew -- -- Andrew Melo -- 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: test to check whether i am subscribed
pong On Wed, Apr 24, 2013 at 3:19 AM, Ceco cvetomir.todo...@gmail.com wrote: -- 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. -- -- Andrew Melo -- 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: GIT stopped working after upgrading the plugin to version 1.3.0
Maybe (implementation would be hard) plugins can tag their highest allowed release. That way, whatever plugin could say, if you're on LTS, this is the auto installed version Andrew Melo Sent from my secret fortress. On Mar 21, 2013, at 12:29, Slide slide.o@gmail.com wrote: I've often wished there was a way to do this though. On Thu, Mar 21, 2013 at 10:22 AM, nicolas de loof nicolas.del...@gmail.com wrote: right, there is no LTS concept for plugins 2013/3/21 Aldo Brucale bruc...@gmail.com So also the LTS version of Jenkins pulls the latest version of the plugins. I thought it was safe to keep them updated... On Thursday, 21 March 2013 17:03:29 UTC+1, Nicolas De loof wrote: There is a bunch of them in bugtracker. I've just released git-client 1.0.5, that will use git-cli by default. will still maintain a JGit implementation, and try to get unit test to reproduce those various issues, but probably will have to wait for next major JGit version - JGit for sample don't support symlinks, cause they only require java 6 :'( 2013/3/21 Aldo Brucale bru...@gmail.com Thank you, I've added -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true for all the slaves end now everything works fine. Is the issue with the git Client Plugin already on the bugtracker? On Thursday, 21 March 2013 16:06:50 UTC+1, Peter Miklosko wrote: Not issue of Git Plugin but git Client Plugin. This been upgraded to 1.0.4 and is messing up as I discovered few days ago http://goo.gl/QKP0H Peter On 21 March 2013 14:54, Aldo Brucale bru...@gmail.com wrote: Hi, I'm running Jenkins LTS (1.480.3) and after upgrading the plugins today Jenkins has stopped downloading the changes from my git server. It seems that jenkins is not accepting the self-signed certificate from the server any more. Any ideas on how to resolve this? I've tried to downgrade the plugin back to version 1.2.0 but nothing has changed. Maybe some dependency has been updated and downgrading the plugin is not sufficient to revert to the previous situation? Thank you in advance, Aldo here is the stacktrace: Building remotely on Montavista in workspace /mnt/montavista/hudson/workspace/Megapixel_04.07.00 Checkout:Megapixel_04.07.00 / /mnt/montavista/hudson/workspace/Megapixel_04.07.00 - hudson.remoting.Channel@61df092e:Montavista Using strategy: Default Last Built Revision: Revision bd975b4d348b588ce3862f91dcd37e109193e799 (origin/04.07.00) Cloning the remote Git repository Cloning repository https://git.example.com/megapixel/my_build_tools.git git --version git version 1.7.2.3 ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway. hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: https://git.example.com/megapixel/my_build_tools.git: cannot open git-upload-pack at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:212) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:230) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1023) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:941) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2246) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.eclipse.jgit.api.errors.TransportException: https://git.example.com/megapixel/my_build_tools.git: cannot open git-upload-pack at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:208) ... 13 more Caused by: org.eclipse.jgit.errors.TransportException: https://git.example.com/megapixel/my_build_tools.git: cannot open git-upload-pack at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:496) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:305) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) ... 14 more Caused by: javax.net.ssl.SSLHandshakeException
Re: Server usage pegged at 99%
I just see these: Feb 6, 2013 9:50:10 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Reconnect failed. Next connection attempt in 16 minutes Feb 6, 2013 9:51:40 PM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect dmwm-agent-int-old Feb 6, 2013 10:01:53 PM winstone.Logger logInternal WARNING: Called getInputStream after getParameter ... error Feb 6, 2013 10:02:19 PM winstone.Logger logInternal WARNING: Called getInputStream after getParameter ... error Feb 6, 2013 10:02:21 PM winstone.Logger logInternal WARNING: Called getInputStream after getParameter ... error (UTC timestamps) While running a 3 matrix jobs with 10 configurations each and 10 slaves (with the web browser open), I get the following utilization PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 15209 jenkins 18 0 3366m 690m 18m S 177.2 22.9 203:51.39 java and the web interface is painfully slow. thanks, Andrew On Wed, Feb 6, 2013 at 2:57 PM, Sami Tikka sjti...@gmail.com wrote: Are there any errors/exceptions in Jenkins log files or stdout/stderr? -- Sami Andrew Melo andrew.m...@gmail.com kirjoitti 6.2.2013 kello 22.13: Hey everyone, Sorry for resurrecting that thread, but are there any solutions for this problem? It's basically killing our instance often. best, Andrew On Wed, Aug 1, 2012 at 11:47 AM, Andrew Melo andrew.m...@gmail.com wrote: Oh, wow, I didn't notice, but jenkins has autopopulated a user for everyone that ever committed on the project. There's like 30 people, ~4000 commits, so I could see why that would take a while :) On Wed, Aug 1, 2012 at 11:42 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:37 AM, Slide slide.o@gmail.com wrote: Can you gist your global config.xml and something from one of your jobs as well? Please remember to sanitize it. We actually keep it stored in SCM. https://github.com/dmwm/jenkins/ And the following is the gist for the job we run each commit (didn't make it in for some reason...) https://gist.github.com/3228599 On Wed, Aug 1, 2012 at 9:34 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:26 AM, Slide slide.o@gmail.com wrote: No, because its only looking for the email address because it wants to send an email to that user. I don't know who's getting emailed. I don't remember setting it up for anything, and we actually wrote some scripts that turn jenkins success/failures into Github issues, so having jenkins also send emails would be redundant. I don't supposed there's a global flag to disable email? (I don't see one at manage jenkins) -Andrew On Wed, Aug 1, 2012 at 9:24 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:22 AM, Slide slide.o@gmail.com wrote: This is a huge issue with the email-ext plugin as well when it does email address resolution. Quite a number of people have complained about how long it takes. I have yet to come up with a good solution. The perforce plugin has a similar issue. If I just stick a dummy address in every user's profile, will that work? slide On Wed, Aug 1, 2012 at 9:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins
Re: Beta Build Environment
On Fri, Feb 8, 2013 at 2:42 PM, J Arrizza cppge...@gmail.com wrote: Has anyone tried to put the Jenkins configuration directory tree (less the workspace sub-directory) under SCM control? (Similar to William Soula's suggestion) Creating a second Jenkins instance could be as simple as: - install Jenkins from scratch - configure it to put the workspace somewhere else - go command line and replace the existing Jenkins config tree by cloning the repository - in Jenkins: reload the config from disk I haven't done this (yet), but it seems plausible. It works okay, the obnoxious problem is that reloading from disk bring down the whole agent for however long it takes to load your configs. Without the lazy-loading stuff (which isn't in LTS), it can take a significant amount of time. best, Andrew John On Wed, Feb 6, 2013 at 1:22 PM, Andrew Melo andrew.m...@gmail.com wrote: You could also go the other way around and use whatever configuration management tool you use (like puppet) to provision your jenkins instances. On Wed, Feb 6, 2013 at 3:21 PM, William Soula william.so...@drillinginfo.com wrote: Also can look into Jenkins Job Builder to put your job configuration under version control. And I second the cli for plugin loading, can load them all with one command you could put in version control. Then you just need the war and the global config. https://github.com/openstack-infra/jenkins-job-builder Will From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of Sami Tikka [sjti...@gmail.com] Sent: Wednesday, February 06, 2013 3:16 PM To: jenkinsci-users@googlegroups.com Subject: Re: Beta Build Environment I have developed instructions on how to set up Jenkins from scratch if our Jenkins would catch fire and burn to the ground. I have also used the instructions to set up a 2nd Jenkins to run a newer version of Jenkins before upgrading. You need the jenkins.war, the plugins, the global config.xml and config.xml files for every job. If you want to try your hand at automating, remember that the Jenkins cli can be used to upload plugins and job configurations. -- Sami Mandeville, Rob rmandevi...@litle.com kirjoitti 5.2.2013 kello 21.09: I work for an agile development group, so we like to test everything, including our build environment. I have been challenged to figure out how my team can create a second build environment to test enhancements on. This would also involve creating a beta copy of our Jenkins instance. We need to be able to test changes to (in order of importance) job configurations, slave configurations, and (possibly) plugin configurations. Is there any way to do this? Has anyone ever tried? Thanks in advance, --Rob Mandeville The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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. -- -- Andrew Melo -- 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
Re: Re: Re: Re: Server usage pegged at 99%
On Thu, Feb 7, 2013 at 4:10 AM, oliver gondža ogon...@gmail.com wrote: On Wed, 06 Feb 2013 21:13:42 +0100, Andrew Melo andrew.m...@gmail.com wrote: Hey everyone, Sorry for resurrecting that thread, but are there any solutions for this problem? It's basically killing our instance often. best, Andrew Hi, subversion-plugin in version 1.45 does not longer have MailAddressResolver implemented. It should not try to resolve your mail addresses. Could you confirm there is any difference four you after the upgrade? For more details see: https://issues.jenkins-ci.org/browse/JENKINS-16437. I'm upgrading now, then I'll report back. FWIW, is the git repository plugin also patched in the same way? That's the one with the most commits for us. thanks, Andrew -- oliver -- -- Andrew Melo -- 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: Re: Re: Re: Server usage pegged at 99%
Hi Oliver, It doesn't appear to have helped. Hitting the asyncPeople link pegs the CPU and just stalls. FWIW, I'm on the LTS release and have updated all the plugins to their latest versions. -Andrew On Thu, Feb 7, 2013 at 10:46 AM, Andrew Melo andrew.m...@gmail.com wrote: On Thu, Feb 7, 2013 at 4:10 AM, oliver gondža ogon...@gmail.com wrote: On Wed, 06 Feb 2013 21:13:42 +0100, Andrew Melo andrew.m...@gmail.com wrote: Hey everyone, Sorry for resurrecting that thread, but are there any solutions for this problem? It's basically killing our instance often. best, Andrew Hi, subversion-plugin in version 1.45 does not longer have MailAddressResolver implemented. It should not try to resolve your mail addresses. Could you confirm there is any difference four you after the upgrade? For more details see: https://issues.jenkins-ci.org/browse/JENKINS-16437. I'm upgrading now, then I'll report back. FWIW, is the git repository plugin also patched in the same way? That's the one with the most commits for us. thanks, Andrew -- oliver -- -- Andrew Melo -- -- Andrew Melo -- 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: Building on 8 Operating Systems with 2 Systems
I would just roll 8 virtual machines Andrew Melo Sent from my secret fortress. On Feb 7, 2013, at 22:57, Raghavendra Achar achar...@gmail.com wrote: Hello, I need to build my visual studio applications on 8 OS configurations using Jenkins.But i have a constraint on the System resource. I have only 2 systems to use. Is this possible easily?What is the best approach to do this. PC1 (32 bit): - partition0: Windows XP – 32bit – English - partition1: Windows XP – 32bit – Korean - partition2: Windows7 – 32bit – English - partition3: Windows7 – 32bit – Korean PC2 (64 bit): - partition0: Windows XP – 64bit – English - partition1: Windows XP – 64bit – Korean - partition2: Windows7 – 64bit – English - partition3: Windows7 – 64bit – Korean Regards raghavendra -- 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: Re: Re: Re: Server usage pegged at 99%
Hey everyone, Sorry for resurrecting that thread, but are there any solutions for this problem? It's basically killing our instance often. best, Andrew On Wed, Aug 1, 2012 at 11:47 AM, Andrew Melo andrew.m...@gmail.com wrote: Oh, wow, I didn't notice, but jenkins has autopopulated a user for everyone that ever committed on the project. There's like 30 people, ~4000 commits, so I could see why that would take a while :) On Wed, Aug 1, 2012 at 11:42 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:37 AM, Slide slide.o@gmail.com wrote: Can you gist your global config.xml and something from one of your jobs as well? Please remember to sanitize it. We actually keep it stored in SCM. https://github.com/dmwm/jenkins/ And the following is the gist for the job we run each commit (didn't make it in for some reason...) https://gist.github.com/3228599 On Wed, Aug 1, 2012 at 9:34 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:26 AM, Slide slide.o@gmail.com wrote: No, because its only looking for the email address because it wants to send an email to that user. I don't know who's getting emailed. I don't remember setting it up for anything, and we actually wrote some scripts that turn jenkins success/failures into Github issues, so having jenkins also send emails would be redundant. I don't supposed there's a global flag to disable email? (I don't see one at manage jenkins) -Andrew On Wed, Aug 1, 2012 at 9:24 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:22 AM, Slide slide.o@gmail.com wrote: This is a huge issue with the email-ext plugin as well when it does email address resolution. Quite a number of people have complained about how long it takes. I have yet to come up with a good solution. The perforce plugin has a similar issue. If I just stick a dummy address in every user's profile, will that work? slide On Wed, Aug 1, 2012 at 9:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8
Re: Beta Build Environment
You could also go the other way around and use whatever configuration management tool you use (like puppet) to provision your jenkins instances. On Wed, Feb 6, 2013 at 3:21 PM, William Soula william.so...@drillinginfo.com wrote: Also can look into Jenkins Job Builder to put your job configuration under version control. And I second the cli for plugin loading, can load them all with one command you could put in version control. Then you just need the war and the global config. https://github.com/openstack-infra/jenkins-job-builder Will From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of Sami Tikka [sjti...@gmail.com] Sent: Wednesday, February 06, 2013 3:16 PM To: jenkinsci-users@googlegroups.com Subject: Re: Beta Build Environment I have developed instructions on how to set up Jenkins from scratch if our Jenkins would catch fire and burn to the ground. I have also used the instructions to set up a 2nd Jenkins to run a newer version of Jenkins before upgrading. You need the jenkins.war, the plugins, the global config.xml and config.xml files for every job. If you want to try your hand at automating, remember that the Jenkins cli can be used to upload plugins and job configurations. -- Sami Mandeville, Rob rmandevi...@litle.com kirjoitti 5.2.2013 kello 21.09: I work for an agile development group, so we like to test everything, including our build environment. I have been challenged to figure out how my team can create a second build environment to test enhancements on. This would also involve creating a beta copy of our Jenkins instance. We need to be able to test changes to (in order of importance) job configurations, slave configurations, and (possibly) plugin configurations. Is there any way to do this? Has anyone ever tried? Thanks in advance, --Rob Mandeville The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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. -- -- Andrew Melo -- 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.
Stuck SSH slave?
Hello all, After being negligent on maintaining my jenkins install over the break (no developers committing meant nothing to look at), I started to get tons of job failures from matrix jobs that were trying to land their master job on an SSH slave that had locked hard. Once I told the master to disconnect the slave, it chose a different slave for the flyweight process and everything started working again. I think there might be a bug here though. I actually have two cloned matrix jobs. One of them was working just fine, and I suspect that's because it was putting its master job on a different node that was reachable, and jobs tend to run on the slave they used to run on. FWIW, this is the error I was getting on the failing jobs [1] thanks, Andrew Started by user Andrew Melo (autobot user) http://dmwm.cern.ch:8080/user/melo Building remotely on dmwm-slave01 http://dmwm.cern.ch:8080/computer/dmwm-slave01 in workspace /jenkins/workspace/WMCore-UnitTests-try hudson.util.IOException2: remote file operation failed: /jenkins/workspace/WMCore-UnitTests-try at hudson.remoting.Channel@19119a16:dmwm-slave01 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.mkdirs(FilePath.java:890) at hudson.model.AbstractProject.checkout(AbstractProject.java:1254) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:289) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:493) at hudson.remoting.Request.call(Request.java:129) at hudson.remoting.Channel.call(Channel.java:664) at hudson.FilePath.act(FilePath.java:831) ... 11 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:902) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:110) at hudson.remoting.PingThread.ping(PingThread.java:120) at hudson.remoting.PingThread.run(PingThread.java:81) Caused by: java.util.concurrent.TimeoutException: Ping started on 1358215532943 hasn't completed at 1358215772996 ... 2 more Finished: FAILURE -- -- Andrew Melo
Re: Jenkins Git suddenly stopped working
I mean, presumably the machine you work on day to day isn't the machine your Jenkins slaves run on (since it seems like you have a larger install) If you SSH to your Jenkins master/slaves, can you clone from them? Andrew Melo Sent from my secret fortress. On Dec 14, 2012, at 0:17, mwpowellhtx mwpowell...@gmail.com wrote: How do you mean, connect to your slaves, clone manually? From a command line or Git Bash? Yes, I can clone manually with the same (copy and paste) SSH URI. On Thursday, December 13, 2012 4:33:12 PM UTC-6, Andrew Melo wrote: On Thu, Dec 13, 2012 at 11:24 PM, mwpowellhtx mwpow...@gmail.com wrote: And I can assure you it's not. I copy and paste the exact same address on the command line, and I can clone from the command line. Only Jenkins is now consistently failing across the board for jobs that were previously succeeding. We're speculating whether repositoryhosting.com (our host) has some limits set on SSH. This seems to look like your DNS isnt resolving the host name right, it's not (necessarily) a matter of you fumbling the hostname... stderr: ssh: repo-host/: no address associated with name fatal: Could not read from remote repository. If you connect to your slaves, can you do a git clone manually? On Thursday, December 13, 2012 3:59:42 PM UTC-6, SA Evans wrote: The error would indicate to me that it can't find the host where your repo is, whether a typo in that variable setting that's not getting resolved through your nameserver, or some sort of network issue, most likely. On Thu, Dec 13, 2012 at 3:47 PM, mwpowellhtx mwpow...@gmail.com wrote: To clarify, I've edited the actual names out. The names are there, it was working earlier. Now suddenly it has stopped working. A colleague of mine and I are wondering whether it's a SSH thing, or perhaps there's a limit set by our host, or something. On Thursday, December 13, 2012 3:43:44 PM UTC-6, mwpowellhtx wrote: I'm not sure what you mean. Can you be more specific? It's possible something got unset, but like I said, it was working all day until just now. On Thursday, December 13, 2012 3:38:27 PM UTC-6, SA Evans wrote: Looks like you're missing an environment setting for repo-host Scott On Thu, Dec 13, 2012 at 3:35 PM, mwpowellhtx mwpow...@gmail.com wrote: stderr: ssh: repo-host/: no address associated with name -- -- Andrew Melo
Restarting/cleaning a slave VM after build?
Hey all, I seem to remember mails about this, but I can't seem to gmail-foo the right words to get the conversation back up. Is there a good way to have a slave restart/load a checkpoint after a job is executed? I'd like to run some tests that involve provisioning a blank machine, so I'm looking for a way to get that connected up in Jenkins. Thanks, Andrew -- -- Andrew Melo
Re: Restarting/cleaning a slave VM after build?
The place I work with made the silly choice of using SCVMM for our private VMM provisioning service (which is weird because we're nearly a 100% linux shop). It doesn't seem like there's a lot of an open-source glue ecosystem built around it. Either way, what could be done is have the script that runs the slaves execute the rollback command (there's a SOAP API for it), but to get that scripted together, I think I need to somehow tell the slave to execute only one job then terminate, so I could have something like this: #!/bin/bash make-checkpoint.sh execute-jenkins-slave.sh # executes one job then terminates rollback-to-checkpoint.sh Is that somehow possible? Thanks, Andrew On Mon, Dec 10, 2012 at 11:29 AM, Neerenberg, Aaron aaron.neerenb...@fei.com wrote: One option if you are using VMWare slaves is to have them revert back to snapshot after the build completes. -Aaron -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Melo Sent: Monday, December 10, 2012 9:28 AM To: jenkinsci-users@googlegroups.com Subject: Restarting/cleaning a slave VM after build? Hey all, I seem to remember mails about this, but I can't seem to gmail-foo the right words to get the conversation back up. Is there a good way to have a slave restart/load a checkpoint after a job is executed? I'd like to run some tests that involve provisioning a blank machine, so I'm looking for a way to get that connected up in Jenkins. Thanks, Andrew -- -- Andrew Melo -- -- Andrew Melo
Re: IMMEDIATE NEED------Project Manager @ Philadelphia, PA
future SLDS projects and procure necessary funding sources. This long range plan should be broken down into manageable phases that would align with the State budget process or the availability of Federal funding. The document should include examples from other States, best practices and lessons learned from each as well as examples of how those solutions would be implemented in Nevada. It should also identify data sets that may exist in other State or Federal agencies that could be used to expand the capacity of the SLDS. Goal-In compliance with State law (Nevada Revised Statute 386.650) create a matching hub for the purpose of assigning individuals a Unique State Personal Identifier. Action-Create a project plan to develop the infrastructure to match individuals within the three agencies, assign a USPI to each P-20W individual, and ensure that the USPI is available for use by each agency. Achieve a minimum 95% match rate of USPI to the three agency identifiers. Action-Create a data hub that connects the three agencies together and to hash the keys necessary to determine a record match and cleanse the result to omit personal identity information. Action-Based on the recommendations of the feasibility study, develop the business rules necessary to design a work flow application that will allow the NDE, NSHE and DETR to submit a data query request, receive approval from the data source agency, construct the database query, execute the query and deliver the results securely. Goal-Develop standards for agency data sharing. Action-Establish a formal data sharing protocol including standards and requirements. Research the Common Education Data Standards and deploy those standards across agencies where appropriate. Identify and quantify training requirements. Action-Requests for new projects and contracts for data sharing will be reviewed by a central committee (possibly P-16), to insure the standards are met and that data security and student privacy is ensured. Provide a written analysis of the NDE, NSHE and DETR policies necessary to implement standards and governance plan. --- Thanks and Best Regards, Thomas Brown | Technical Recruiter Email: thomas.br...@panzersolutions.com Work:203-652-1444 Ex No : 105 Fax: 203-286-1457 -- -- Andrew Melo
Re: IMMEDIATE NEED------Project Manager @ Philadelphia, PA
That was easy enough, looks like there's a few more addresses to add to the blacklist. On Thu, Nov 29, 2012 at 11:38 PM, Adolfo Rodriguez pellyado...@yahoo.es wrote: looks like a consulting project for US government http://nces.ed.gov/programs/slds/index.asp De: Andrew Melo andrew.m...@gmail.com Para: jenkinsci-users@googlegroups.com Enviado: Viernes 30 de noviembre de 2012 1:56 Asunto: Re: IMMEDIATE NEED--Project Manager @ Philadelphia, PA I'm very interested in this position On Thu, Nov 29, 2012 at 9:42 PM, Thomas Brown thomas.panzersoluti...@gmail.com wrote: Dear Associates, Wishes for the Day !!! We Need consultant for Project Manager Please share suitable profiles to thomas.br...@panzersolutions.com Job Title : Project Manager Location : Philadelphia, PA Duration : 9+ months Contract Job Description: Longitudinal Data Systems experience key. 10-15 yrs exp. The consultant must be well rounded in the development of projects and more specifically in developing or implementing educational longitudinal databases or cross agency state systems that facilitate the secure exchange of data. The consultant will need to possess good verbal and written communication skills; be a proactive, hands-on leader and motivator who is timely in the delivery of products; can anticipate customer needs; and can run meetings and teams of diverse groups of employees. The consultant must be proficient at evaluating systems and operations; developing improvements; and implementing effective programs to improve quality, reduce costs, and enhance productivity in the context of the data management. The consultant must have a strong mix of project delivery/project management skills coupled with business and analysis skills Knowledge/Expertise Knowledge and experience with longitudinal data management projects and data integration on both the technical and administrative levels, including experience in developing and implementing a data matching system; Strong experience-base and knowledge of Project Management; Past experience managing an educational data centric project; and. Experience coordinating work between multiple State agencies and disparate systems. Methodology/Governance; Ability to follow methodologies and help improve/evolve a matching hub and ultimately develop Statewide SLDS capability; and Participate in knowledge sharing and the continuous refinement/development of internal processes and systems for the evolution of the matching hub and Statewide Longitudinal Data Systems. Project Management Certification (PMP/PRINCE2) is required. DELIVERABLES Consultant must provide the following based on the agreed upon project plan/schedule. Prepare reports that document budget and timeline deliverables. Project plans using the PMBOK methodologies for the following across agencies: P-20W SLDS feasibility study; Data Standards; Development of a data matching hub; Definitions and Procedures for Data Stewards; and CEDS or other data standards. Implement with a cross department team: P-20W SLDS feasibility study; Data Standards; Data matching hub; and Definitions and Procedures for Data Stewards, and permissions. Refine and define a work breakdown structure for the current action items listed below: SLDS Feasibility Study Goal-Conduct an in-depth technical Needs Assessment at the NDE, NSHE, and DETR to determine current system configurations and platforms, data elements to be exchanged or linked, barriers that may need to be removed to establish a statewide SLDS and facilitate the exchange of data necessary to assign individuals a unique state personal identifier. Action-Assist the project team in the hiring process of the Systems Analyst to conduct an in depth system analysis at each agency. The purpose of this study is two-fold. First, the study will focus on the data systems currently in use in the NDE, NSHE and DETR to determine the platforms in use, software and versions, identification of databases, database schemas, data retention standards, data collection and reporting requirements, security schemas, internal agency governance policies, and communication structures in use. Standards will include but are not limited to normalization structure, table and column naming, data types and length. A data dictionary providing all master data element names, descriptions, size and owner (i.e., steward), should be developed and used for all future development. The deliverable associated with this action will be to develop a formal systems requirement document to be used to draft the Request for Proposal to design and construct the data exchange system. This would include but is not limited to such items as an entity relationship diagram (ERD) to show how the systems and tables interact with each other, a dataflow diagram to show how data moves through the systems, and data mapping
Re: /usr/bin/prove: Cannot find blib
: /usr/coderyte/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/coderyte/lib/perl5/site_perl/5.8.8 /usr/coderyte/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/coderyte/lib/perl5/5.8.8 .) at ./test_log4p.pl line 4. BEGIN failed--compilation aborted at ./test_log4p.pl line 4. more test_log4p.pl #!/usr/bin/env perl use strict; use warnings; use feature qw(say); use Log::Log4Perl say Perl \@INC: . join \n, @INC; for my $module (sort keys %INC) { say qq(\$INC{$module} = $INC{$module}); } From: David Weintraub qazw...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Thursday, November 1, 2012 12:27 PM Subject: Re: /usr/bin/prove: Cannot find blib Perl CPAN modules can be installed via user or via machine. Normally, if you can't get root access on the machine, you install it for that user. Maybe the Log::Log4perl module is installed as a user module. Thus, if you're running it as another user, you simply can't find the module. Another possibility is that the module wasn't installed, and is located in a different directory than expected. The Perl @INC shows you the directories where modules are searched. The %INC hash shows the module loaded and the directory where found. Try a simple program: use strict; use warnings; use feature qw(say); use Log::Log4Perl say Perl \@INC: . join \n, @INC; for my $module (sort keys %INC) { say qq(\$INC{$module} = $INC{$module}); } Do this via SSH where you can execute run_prove.sh and it works. This will show you where this program is searching for the module and where it finds it. That will give you an idea why Jenkins can't find it. If you do find that Log::Log4Perl is not where you expect it, use the use lib pragma to add that directory to your @INC search array. On Nov 1, 2012, at 12:15 PM, Kamal Ahmed kamalah...@yahoo.com wrote: Hi, When i run run_prove.sh after doing an ssh to host , the perl unit tests run fine but when i do it via Execute shell script on remote host using ssh i get error: 11:41:35 + prove -b -v -r . 11:41:35 /usr/bin/prove: Cannot find blib 11:41:35 No blib directories found. 11:41:35 Can't locate Log/Log4perl.pm in @INC (@INC contains: I have tried with just execute shell script option as well, same result Would appreciate any help / Hint/Resolution Thanks, -Kamal. -- -- Andrew Melo
Disappearing build reports
Hey everyone, We're on 1.486, but we're still having our build records disappear, did the planned fixes not make it into the release? Thanks, Andrew -- -- Andrew Melo
Re: Configure Jenkins slave through ssh gateway
On Tue, Oct 16, 2012 at 12:50 PM, Gergo gergo.peter.n...@gmail.com wrote: Hi, I'm new to Jenkins and have the following problem. What do you think is the best way to configure in a Jenkins slave which is behind a gateway? To reach my test environment I need to go through a gateway. It would be great to somehow configure in the RemoteMachine (which is located behind the gateway) as a slave. Can I somehow configure in an ssh tunnel in Jenkins which could be used to reach the RemoteMachine? Example LocalMachine (Jenkins CI Server) ---(ssh)--- Gateway ---(ssh)--- RemoteMachine (TestServer) My jenkins machine is behind a firewall, and I use the -D option of ssh to set up a socks5 proxy I can point firefox to to get connected to jenkins HTH, Andrew Thanks for the help! Gergo -- -- Andrew Melo
Re: Build for all branches but do not take into account status for all
On Wed, Oct 10, 2012 at 10:35 AM, Claire Reynaud claire12.reyn...@gmail.com wrote: Hello, We want to trigger a build in Jenkins each time a pull request is created on our github repository, and then to have a build success/failure status associated directly to the pull request like this: https://github.com/blog/1227-commit-status-api . We set up our job to build for all remote branches, which triggers the build correctly when a new remote branch is created/updated. We call back the github status API and get the status associated to the pull request which is pretty cool :). Problem is we do not want to have these pull request remote branch builds to pollute our job history. Is there a way to work around this issue without duplicating our job (one for master only to keep the history clean, and the other one for all the pull requests builds)? I'm also curious about this, but couldn't find any option other than to duplicate the job. Thanks, Andrew Thanks, Claire -- -- Andrew Melo
Re: Build queue disappearing
On Wed, Oct 10, 2012 at 7:54 AM, Dirk Kuypers kuypers.d...@gmail.com wrote: Hi, this bug: https://issues.jenkins-ci.org/browse/JENKINS-15335 is fixed with 1.486. Is there an ETA on when this will hit the autoupdate servers? 1.485 blew up all the APIs I was using, which causes our scripts to spam tickets to GH, etc etc. I was resisting moving to the LTS release, but it looks like I'm gonna have to figure out how to do that :/ Thanks Andrew BR Dirk 2012/10/10 Michaël Pailloncy mpapo@gmail.com: Hi, I've faced with the same issue with 1.484. Michaël 2012/10/10 Pawel pgronkiew...@gmail.com Hello, After upgrading from 478 to 485 I have the following issue: If there are some jobs in the job queue after a while they will disappear and I will get No builds in the queue.. It is purely a GUI issue, as refreshing the page shows the jobs again. Rather frustrating though. -- -- Andrew Melo
Re: I'm starting. configuring CVS.
On Tue, Oct 2, 2012 at 11:06 AM, Oscar Martins oscarrafaelcam...@gmail.comwrote: *Yes the error was quite explicit.* *But now to do the build appears this error:* Building in workspace /home/orcproje/.hudson/jobs/orc-portal/workspace [orc-portal] $ cvs -Q -z3 -d :ext:u...@hostproject.com:/home/user/cvs/CVSROOT co -P -d workspace -D Tuesday, October 2, 2012 3:55:24 PM UTC /orc-portal Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-with-mic,password). cvs [checkout aborted]: end of file from server (consult above messages if any) FATAL: CVS failed. exit code=1Finished http://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE It looks like whatever account your jenkins slave runs at doesn't have permission to connect to u...@hostproject.com -Andrew Terça-feira, 2 de Outubro de 2012 14:08:13 UTC+1, Gábor Garami escreveu: This is fairly detailed error message: connection is refused. Did you tried do cvs checkout directly on the Jenkins server? It is allowed to connect to 204.93.211.119 via SSH? Regards, Garami Gábor E-mail: gabor@hron.me Tel: +36 20 235 9621 MSN: hr...@vipmail.hu Skype: hron84 On Mon, Oct 1, 2012 at 10:22 PM, Oscar Martins oscarraf...@gmail.comwrote: this my configuration: Source Code Management CVS CVSROOT[image: Help for feature: CVSROOT] http://orc-project.com/jenkins/job/orc-portal/configure# Module(s) [image: Help for feature: Module(s)] http://orc-project.com/jenkins/job/orc-portal/configure# Branch This is a tag, not a branch [image: Help for feature: Branch] http://orc-project.com/jenkins/job/orc-portal/configure# This error console: Building in workspace /home/orcproje/.hudson/jobs/**orc-portal/workspace [orc-portal] $ cvs -Q -z3 -d :ext:orcproje@204.93.211.119:/**home/orcproje/cvs-orc co -P -d workspace -D Monday, October 1, 2012 8:16:19 PM UTC \orc-portal ssh: connect to host 204.93.211.119 port 22: Connection refused cvs [checkout aborted]: end of file from server (consult above messages if any) FATAL: CVS failed. exit code=1Finished http://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE -- -- Andrew Melo
Multi-Slave plugin + SSH plugin expansions
Hello, I'm trying to use the multi-slave plugin to fire up a ton of identical slaves, and it appears the $NAME environment variable doesn't get expanded in the SSH plugin's 'host' field. is that a known issue? Thanks, Andrew -- -- Andrew Melo
Re: OpenID plugin and Jenkins behind apache
Github is currently down, that may or may not be what you're seeing. -Andrew On Tue, Sep 11, 2012 at 10:54 AM, Mani citizenm...@gmail.com wrote: Also, I'm unable to download the openid source code. This url provided in the openid home page is not valid I believe. https://github.com/jenkinsci/openid-plugin Can you also please provide the right url. Thanks, Mani On Tuesday, 11 September 2012 16:10:41 UTC+5:30, Mani wrote: Hi, I'm trying to use OpenID plugin for authentication in Jenkins. I saw one of the user has commented on OpenID plugin page that he had difficulty in using SSO for Jenkins behind apache (https://wiki.jenkins-ci.org/** display/JENKINS/OpenID+pluginhttps://wiki.jenkins-ci.org/display/JENKINS/OpenID+plugin )**. Just wanted to check with the developer community if that was resolved already or if the issue is still there. Can you please let me know the same? Thanks in advance, Mani -- -- Andrew Melo
Slave graceful shutdown
Hello all, Is there a way to configure a jenkins slave to run exactly one job then terminate? We'd like to have a VM that starts up in a bare state, starts a slave and reboots after each job (which will revert the VM to the previous state), but I'm not sure how to implement it. Thanks, Andrew -- -- Andrew Melo
Re: Slave graceful shutdown
On Wed, Sep 5, 2012 at 1:31 PM, Mark Waite markwa...@yahoo.com wrote: Sami Tikka offered the following suggestion: http://jenkins.361315.n4.nabble.com/Offline-and-revert-slave-after-build-td4631215.html We use a slightly different approach to get roughly the same results: http://jenkins.361315.n4.nabble.com/restart-slave-after-each-job-td4538892.html Oh great, that looks really good. Thanks! -Andrew Mark Waite -- *From:* Andrew Melo andrew.m...@gmail.com *To:* jenkinsci-users@googlegroups.com *Sent:* Wednesday, September 5, 2012 12:11 PM *Subject:* Slave graceful shutdown Hello all, Is there a way to configure a jenkins slave to run exactly one job then terminate? We'd like to have a VM that starts up in a bare state, starts a slave and reboots after each job (which will revert the VM to the previous state), but I'm not sure how to implement it. Thanks, Andrew -- -- Andrew Melo -- -- Andrew Melo
Re: Follow up
No, I was just wanting to get a hold of a real person. Stop spamming the jenkinsci-users@googlegroups.com group. On Wed, Aug 29, 2012 at 11:55 AM, Mark Melo m...@asiaconnect.com.sg wrote: Hi Andrew, ** ** Thanks for sending across your email. I know you had some questions about the comms plan so please find attached. After you’ve had a chance to go through it, would it be possible to set up a call with Mark as well to go through any questions you may have and discuss the potential next steps. ** ** Cheers, ** ** *Mark Melo* Managing Director - APAC Asia Connect Consulting Pte. Ltd. 14 Robinson Road #13-00 Singapore 048545 Business Registration No: 201106986D EA License No: 11S3091 ** ** T: +65-6509-3085 M: +65-8113-7832 E: m...@asiaconnect.com.sg W: www.asiaconnect.com.sg Linked In: http://sg.linkedin.com/in/melomark ** ** [image: Description: asia_connect_logo_resized2] ** ** Asia Connect - Helping companies *setup* and *expand* in Asia *Refer an opportunity to **Asia Connect Consulting** and you could earn an iPad 2 or referral voucher for $1,000 SGD*. If you are aware of any company setting up in Asia speak to a consultant today and ask about our referral program. *Terms Conditions apply.* ** ** *Please consider the environment before printing this email!* ** ** This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error please delete it and any files transmitted with it, after notifying *cont...@asiaconnect.com.sg .* Any opinions expressed in this message may be those of the author and not necessarily those of the company. The company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal relations between the company and the recipient. Recipients should please note that messages sent via the Internet may be intercepted and that caution should therefore be exercised before dispatching to the company any confidential or sensitive information. ** ** -- -- Andrew Melo
User Priorities?
Hello, In our installation, we have a lot of auto-generated jenkins jobs (for things like testing pull requests), but sometimes the total # of auto-requests starves out executors for users wanting to run manual tests. Is there a way to prioritize (or de-prioritize) the user that runs the automated tests so that it will always run after any other requests in the same project? In our setup, both the auto tests and the manual tests use the same project. Thanks, Andrew -- -- Andrew Melo
Combining coverage reports
Hello all, We have a large unittesting suite split into a matrix job. I'd like to combine the coverage reports from the different matrix configurations into one coverage report. I can handle the actual munging of the coverage reports, but before I go off trying to make glue things together, I was curious about what would be the best way to make a job, then ship all the coverage reports from the submatrix jobs to it. I feel like I can figure out making a dependent job, but I don't know how to get the files moved around. Thanks, Andrew -- -- Andrew Melo
Re: Open github ticket on failure?
I actually wrote a python script that pings Jenkins and github. Is there a contrib directory that'd be useful for? Andrew Melo Sent from my secret fortress. On Aug 7, 2012, at 18:58, Christopher Orr ch...@orr.me.uk wrote: On 06/05/2012 05:56 PM, Andrew Melo wrote: Is there a way to have jenkins open a github ticket if a commit fails? Or would I need to have a custom post-build step for that? You'd have to write your own script to do that, but you could trigger it with the Post build task plugin: https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task Regards, Chris
Re: build error
On Thu, Aug 2, 2012 at 1:05 AM, Pankaj Pankaj pan...@hispindia.org wrote: i am sending the attachment.. Continuing with what Sami said, you need to provide the error message and more information so that people can begin to figure out what's going on. -Andrew On Thu, Aug 2, 2012 at 1:58 AM, And ew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 2:31 AM, Pankaj Pankaj pan...@hispindia.org wrote: Hi I am working on an open-source project dhis2, the source code is reside on launchpad. before building the new version's war file in launchpad we have to create account (if not registered) then add ssh rsa key then checkout code through bazaar on local computer then build by maven. its very weird to update the source code every time when new updates occur so i decided to implement Jenkins. but i am getting problem during build i did Google about my problem but it was worthless i am sending the Jenkins properties could you please have a look on that where i am doing wrong! There was no attachment on this mail. Thank you -- -- Andrew Melo -- Pankaj Kumar Technical Support Officer www.hispindia.org http://hispindia.org/index.php/products/dhis2 -- -- Andrew Melo
Re: Server usage pegged at 99%
On Tue, Jul 31, 2012 at 2:54 PM, Les Mikesell lesmikes...@gmail.com wrote: On Tue, Jul 31, 2012 at 2:38 PM, Andrew Melo andrew.m...@gmail.com wrote: But if it happened before June 30th or the system has been rebooted since, this is not the problem. Well, and it's only when i'm using the web interface (or if background stuff is happening) It affects the linux futex() system call that is used mostly in threaded applications (so you see it in java). And I think it is sort of a race condition where the extra CPU use happens at random. Well, I restarted it and reset the date and it didn't seem to help. I'm pretty helpless when it comes to java, but is there some sort of way I can attach a profiler to the process and see what it spins on? Thanks -- Les Mikesell lesmikes...@gmail.com -- -- Andrew Melo
Re: Re: Server usage pegged at 99%
On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? On Wednesday 01 August 2012 09:25:08 Andrew Melo wrote: On Tue, Jul 31, 2012 at 2:54 PM, Les Mikesell lesmikes...@gmail.com wrote: On Tue, Jul 31, 2012 at 2:38 PM, Andrew Melo andrew.m...@gmail.com wrote: But if it happened before June 30th or the system has been rebooted since, this is not the problem. Well, and it's only when i'm using the web interface (or if background stuff is happening) It affects the linux futex() system call that is used mostly in threaded applications (so you see it in java). And I think it is sort of a race condition where the extra CPU use happens at random. Well, I restarted it and reset the date and it didn't seem to help. I'm pretty helpless when it comes to java, but is there some sort of way I can attach a profiler to the process and see what it spins on? Thanks -- Les Mikesell lesmikes...@gmail.com -- -- Andrew Melo
Re: Re: Re: Server usage pegged at 99%
On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:56.60 java 24602 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:30.98 java 24565 jenkins 16 0 3246m 743m 18m S 11.5 24.7 8:22.85 java 24609 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:12.30 java 24582 jenkins 15 0 3246m 743m 18m S 0.6 24.7 3:48.67 java 24590 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:24.27 java 24579 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:22.16 java 24486 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:33.77 java 24973 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:18.32 java 24983 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:07.91 java 24838 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:38.35 java 24845 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:32.56 java 25037 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:16.63 java 25038 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:07.00 java 24491 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:05.38 java 24611 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:02.82 java 24488 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:00.30 java Then if I run jstack, I get the following backtrace: https://gist.github.com/3228105 Does that look useful at all? Thanks, Andrew -- -- Andrew Melo
Re: Re: Re: Re: Server usage pegged at 99%
On Wed, Aug 1, 2012 at 11:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly So, if I understand right, jenkins is looking for email addresses, so I need to make sure that every user that registers has a valid address? On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:56.60 java 24602 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:30.98 java 24565 jenkins 16 0 3246m 743m 18m S 11.5 24.7 8:22.85 java 24609 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:12.30 java 24582 jenkins 15 0 3246m 743m 18m S 0.6 24.7 3:48.67 java 24590 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:24.27 java 24579 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:22.16 java 24486 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:33.77 java 24973 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:18.32 java 24983 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:07.91 java 24838 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:38.35 java 24845 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:32.56 java 25037 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:16.63 java 25038 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:07.00 java 24491 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:05.38 java 24611 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:02.82 java 24488 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:00.30 java Then if I run jstack, I get the following backtrace: https://gist.github.com/3228105 Does that look useful at all? Thanks, Andrew -- -- Andrew Melo
Re: Re: Re: Re: Server usage pegged at 99%
On Wed, Aug 1, 2012 at 11:22 AM, Slide slide.o@gmail.com wrote: This is a huge issue with the email-ext plugin as well when it does email address resolution. Quite a number of people have complained about how long it takes. I have yet to come up with a good solution. The perforce plugin has a similar issue. If I just stick a dummy address in every user's profile, will that work? slide On Wed, Aug 1, 2012 at 9:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:56.60 java 24602 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:30.98 java 24565 jenkins 16 0 3246m 743m 18m S 11.5 24.7 8:22.85 java 24609 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:12.30 java 24582 jenkins 15 0 3246m 743m 18m S 0.6 24.7 3:48.67 java 24590 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:24.27 java 24579 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:22.16 java 24486 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:33.77 java 24973 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:18.32 java 24983 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:07.91 java 24838 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:38.35 java 24845 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:32.56 java 25037 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:16.63 java 25038 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:07.00 java 24491 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:05.38 java 24611 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:02.82 java 24488 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:00.30 java Then if I run jstack, I get the following backtrace: https://gist.github.com/3228105 Does that look useful at all? Thanks, Andrew -- Website: http://earl-of-code.com -- -- Andrew Melo
Re: Re: Re: Re: Server usage pegged at 99%
On Wed, Aug 1, 2012 at 11:26 AM, Slide slide.o@gmail.com wrote: No, because its only looking for the email address because it wants to send an email to that user. I don't know who's getting emailed. I don't remember setting it up for anything, and we actually wrote some scripts that turn jenkins success/failures into Github issues, so having jenkins also send emails would be redundant. I don't supposed there's a global flag to disable email? (I don't see one at manage jenkins) -Andrew On Wed, Aug 1, 2012 at 9:24 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:22 AM, Slide slide.o@gmail.com wrote: This is a huge issue with the email-ext plugin as well when it does email address resolution. Quite a number of people have complained about how long it takes. I have yet to come up with a good solution. The perforce plugin has a similar issue. If I just stick a dummy address in every user's profile, will that work? slide On Wed, Aug 1, 2012 at 9:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:56.60 java 24602 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:30.98 java 24565 jenkins 16 0 3246m 743m 18m S 11.5 24.7 8:22.85 java 24609 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:12.30 java 24582 jenkins 15 0 3246m 743m 18m S 0.6 24.7 3:48.67 java 24590 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:24.27 java 24579 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:22.16 java 24486 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:33.77 java 24973 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:18.32 java 24983 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:07.91 java 24838 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:38.35 java 24845 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:32.56 java 25037 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:16.63 java 25038 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:07.00 java 24491 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1:05.38 java 24611 jenkins 15 0 3246m 743m 18m S 0.0 24.7 1
Re: Re: Re: Re: Server usage pegged at 99%
On Wed, Aug 1, 2012 at 11:37 AM, Slide slide.o@gmail.com wrote: Can you gist your global config.xml and something from one of your jobs as well? Please remember to sanitize it. We actually keep it stored in SCM. https://github.com/dmwm/jenkins/ And the following is the gist for the job we run each commit (didn't make it in for some reason...) https://gist.github.com/3228599 On Wed, Aug 1, 2012 at 9:34 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:26 AM, Slide slide.o@gmail.com wrote: No, because its only looking for the email address because it wants to send an email to that user. I don't know who's getting emailed. I don't remember setting it up for anything, and we actually wrote some scripts that turn jenkins success/failures into Github issues, so having jenkins also send emails would be redundant. I don't supposed there's a global flag to disable email? (I don't see one at manage jenkins) -Andrew On Wed, Aug 1, 2012 at 9:24 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:22 AM, Slide slide.o@gmail.com wrote: This is a huge issue with the email-ext plugin as well when it does email address resolution. Quite a number of people have complained about how long it takes. I have yet to come up with a good solution. The perforce plugin has a similar issue. If I just stick a dummy address in every user's profile, will that work? slide On Wed, Aug 1, 2012 at 9:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:56.60 java 24602 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:30.98 java 24565 jenkins 16 0 3246m 743m 18m S 11.5 24.7 8:22.85 java 24609 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:12.30 java 24582 jenkins 15 0 3246m 743m 18m S 0.6 24.7 3:48.67 java 24590 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:24.27 java 24579 jenkins 15 0 3246m 743m 18m S 0.0 24.7 3:22.16 java 24486 jenkins 15 0 3246m 743m 18m S 0.0 24.7 2:33.77 java 24973 jenkins 15 0 3246m 743m 18m S
Re: Re: Re: Re: Server usage pegged at 99%
Oh, wow, I didn't notice, but jenkins has autopopulated a user for everyone that ever committed on the project. There's like 30 people, ~4000 commits, so I could see why that would take a while :) On Wed, Aug 1, 2012 at 11:42 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:37 AM, Slide slide.o@gmail.com wrote: Can you gist your global config.xml and something from one of your jobs as well? Please remember to sanitize it. We actually keep it stored in SCM. https://github.com/dmwm/jenkins/ And the following is the gist for the job we run each commit (didn't make it in for some reason...) https://gist.github.com/3228599 On Wed, Aug 1, 2012 at 9:34 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:26 AM, Slide slide.o@gmail.com wrote: No, because its only looking for the email address because it wants to send an email to that user. I don't know who's getting emailed. I don't remember setting it up for anything, and we actually wrote some scripts that turn jenkins success/failures into Github issues, so having jenkins also send emails would be redundant. I don't supposed there's a global flag to disable email? (I don't see one at manage jenkins) -Andrew On Wed, Aug 1, 2012 at 9:24 AM, Andrew Melo andrew.m...@gmail.com wrote: On Wed, Aug 1, 2012 at 11:22 AM, Slide slide.o@gmail.com wrote: This is a huge issue with the email-ext plugin as well when it does email address resolution. Quite a number of people have complained about how long it takes. I have yet to come up with a good solution. The perforce plugin has a similar issue. If I just stick a dummy address in every user's profile, will that work? slide On Wed, Aug 1, 2012 at 9:17 AM, Vojtech Juranek vjura...@redhat.com wrote: Looks like you it does search for user's email: hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor and spends time parsing changelogs: hudson.scm.SubversionChangeLogParser.parse I guess you have quite large instance, otherwise this operation would be quite fast. If you have some job, which has set up option to send an email to devs who broke the build, if the user hasn't specified an email, Jenkins tries to find it e.g. in git or SVN changelogs and search all projects and builds so if you have large instance with several dozen thousands of builds if can take pretty long time. You can fix it by setting up correct email for the user. If you have installed git plugin, make sure you have 1.1.16 (I hope it was fixed in this version) or higher. Git plugin made this search even if the user has set up email correctly On Wednesday 01 August 2012 10:56:43 Andrew Melo wrote: On Wed, Aug 1, 2012 at 10:36 AM, Vojtech Juranek vjura...@redhat.com wrote: On Wednesday 01 August 2012 10:07:15 Andrew Melo wrote: On Wed, Aug 1, 2012 at 9:48 AM, Vojtech Juranek vjura...@redhat.com wrote: quick way how to look what the thread consuming CPU is doing is to do thread dump (e.g. using jstack $PID) and use top with threads on (H option) and then look up, see e.g. http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is- consuming-most-cpu/ I see. I apparently don't have jstack on this machine :/. Does it only come with the JDK, or can I find it somewhere on the JRE? Once I find the offending thread, should it be pretty obvious what it does? jstack is part of JDK you can see the stack trace via Jenkins UI navigating to $JENKINS_URL/threadDump but not sure if your (or any) Jenkins version provides thread IDs. Once you identify the offending thread, it should be obvious what it does (but it may not be obvious why it does what it does:-) Okay, I installed the jdk, and I looked some more. Using top, I see one jenkins thread taking the lionsshare of the time: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 24580 jenkins 25 0 3246m 743m 18m R 88.6 24.7 790:53.39 java 24591 jenkins 15 0 3246m 743m 18m S 0.0 24.7 40:14.51 java 25163 jenkins 15 0 3246m 743m 18m S 0.0 24.7 28:21.42 java 24601 jenkins 15 0 3246m 743m 18m S 0.0 24.7 27:24.95 java 24581 jenkins 15 0 3246m 743m 18m S 0.0 24.7 26:39.58 java 24589 jenkins 18 0 3246m 743m 18m S 0.2 24.7 24:41.60 java 24604 jenkins 15 0 3246m 743m 18m S 0.0 24.7 23:47.46 java 24603 jenkins 15 0 3246m 743m 18m S 0.6 24.7 17:05.23 java 24484 jenkins 15 0 3246m 743m 18m S 0.4 24.7 14:45.39 java 24612 jenkins 18 0 3246m 743m 18m S 0.0 24.7 11:50.45 java 24610 jenkins 15 0 3246m 743m 18m S 0.0 24.7 10:34.41 java 24564 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:56.60 java 24602 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:30.98 java 24565 jenkins 16 0 3246m 743m 18m S 11.5 24.7 8:22.85 java 24609 jenkins 15 0 3246m 743m 18m S 0.0 24.7 8:12.30 java 24582 jenkins 15 0
Re: build error
On Wed, Aug 1, 2012 at 2:31 AM, Pankaj Pankaj pan...@hispindia.org wrote: Hi I am working on an open-source project dhis2, the source code is reside on launchpad. before building the new version's war file in launchpad we have to create account (if not registered) then add ssh rsa key then checkout code through bazaar on local computer then build by maven. its very weird to update the source code every time when new updates occur so i decided to implement Jenkins. but i am getting problem during build i did Google about my problem but it was worthless i am sending the Jenkins properties could you please have a look on that where i am doing wrong! There was no attachment on this mail. Thank you -- -- Andrew Melo
Server usage pegged at 99%
Hello, For some reason, if I watch top on my master while I browse around on the web interface, the java process stays pegged at 99-100% and it takes several seconds to render. Is there a common reason for that? I have 2Gb allocated to jenkins and the res is only 750MB, so I don't think it's GC churn. Thanks, andrew -- -- Andrew Melo
Re: Server usage pegged at 99%
On Tue, Jul 31, 2012 at 2:16 PM, Les Mikesell lesmikes...@gmail.com wrote: On Tue, Jul 31, 2012 at 1:46 PM, Andrew Melo andrew.m...@gmail.com wrote: Hello, For some reason, if I watch top on my master while I browse around on the web interface, the java process stays pegged at 99-100% and it takes several seconds to render. Is there a common reason for that? I have 2Gb allocated to jenkins and the res is only 750MB, so I don't think it's GC churn. Is it running on a linux host that has been up since at least June 30th? If so it could be the leap-second bug. If so, resetting the time will fix it. Resetting the time (ntp?) or the jenkins server? Either way, it's been an issue since before then, but I'll give whichever one a try Thanks, Andrew -- Les Mikesell lesmikes...@gmail.com -- -- Andrew Melo
Re: Server usage pegged at 99%
On Tue, Jul 31, 2012 at 2:36 PM, Les Mikesell lesmikes...@gmail.com wrote: On Tue, Jul 31, 2012 at 2:17 PM, Andrew Melo andrew.m...@gmail.com wrote: For some reason, if I watch top on my master while I browse around on the web interface, the java process stays pegged at 99-100% and it takes several seconds to render. Is there a common reason for that? I have 2Gb allocated to jenkins and the res is only 750MB, so I don't think it's GC churn. Is it running on a linux host that has been up since at least June 30th? If so it could be the leap-second bug. If so, resetting the time will fix it. Resetting the time (ntp?) or the jenkins server? Either way, it's been an issue since before then, but I'll give whichever one a try It is a linux kernel bug triggered by ntp on the day of a leap second. Resetting the system time any way other than ntp will fix it. For example: date -s `date` But if it happened before June 30th or the system has been rebooted since, this is not the problem. Well, and it's only when i'm using the web interface (or if background stuff is happening) -- Les Mikesell lesmikes...@gmail.com -- -- Andrew Melo
Re: Jenkins as a Windows service
On Tue, Jun 19, 2012 at 12:53 PM, louwho louels...@comcast.net wrote: I am not an IT person, so bear with me. I work in a locked down environment. We do though have a seperate lab (not on the domain), with servers that we remote to. On one of these servers I have a test virtual machine (Windows 2008), that I have the Jenkins service installed on. When I am logged on to the hosting system, I can use the web interface (now that i know of it), to the Jenkins service on the VM. I cannot access it from any of the other servers in the lab, or, directly from my desktop. Because that I can access it from the hosting system, this means that the port is not blocked. The lack of access from any other system indicates that this is related to the corp security policies. That's not necessarily true. If you can see the web interface from your VM but not from the host desktop, then that means that your virtual machine may not have the networking configured to do what you want to do. best, Andrew On Thursday, June 14, 2012 5:50:55 PM UTC-4, louwho wrote: Is there (or should there be), a seperate forum\group\whatever for those who have questions regarding Jenkins installed as a windows Service? Also, is there a plugin (to be installed on a windows system) for monitoring Jenkins jobs? I understand that CCTray can be used, but it only monitors (cannot kick off a build). -- -- Andrew Melo
Re: Immediate Interview Mac/OS X Developer/Florida/2-3 month contract
Andrew Melo Sent from my secret fortress. On Jun 5, 2012, at 9:57, Cameron Brown cameron.brown2...@gmail.com wrote: Dear Professionals, Please have the below requirement and send me your consultant resumes ASAP Please reply at cameron.brown2...@gmail.com and make CC to chris.br...@panzersolutions.com Position : Mac/OS X Developer Location : Florida Duration : 2-3 month contract Must haves: UI (Front end) development using Objective-C Cocoa framework Mac OS X (Desktop) development Proof of portfolio Pluses: Product development Built apps on Apple App Store Role: Our client is looking for a Mac developer to design/develop the User Interface for their new collaboration software tool on the OS X platform. As a Mac developer you will be responsible for developing in Objective-C on Cocoa framework. The UI will be for designed for customers who purchase the collaboration tool Thank you for your time and look forward to work with you. Thanks Chris Brown | Technical Recruiter Panzer Solutions LLC chris.br...@panzersolutions.com Direct: 203-652-1454*115
Open github ticket on failure?
Hello all, Is there a way to have jenkins open a github ticket if a commit fails? Or would I need to have a custom post-build step for that? thanks, Andrew -- -- Andrew Melo
Re: Oracle Functional
Can an admin please block him? On Mon, Jun 4, 2012 at 10:16 AM, shiva Panzer shivapanzersolution...@gmail.com wrote: Please let me know if you are interested in this requirement. If yes, kindly send us your resume along with contact information. If you are not looking for new projects, please feel free to pass on this email to your friends or relatives who might be interested. Job Title: Oracle Functional Location: NYC, NY Duration: 6+month contract Must have Financial Experience// Required Skills Experience R12, CRP3/UAT. GL/AR/AP/FA/CM/SLA. CRP3/UAT testing are in the Financials area.- - Thank you for your time and look forward to work with you. -- Shiv kumar Technical Recruiter Panzer Solutions LLCNorwalk, CT 06850 USA Direct Line: 203-717-2990 Fax: (203) 971-8354 E-mail: shiv.ku...@panzersolutions.com -- -- Andrew Melo
Re: Isolating Changelists in Jenkins
On Wed, May 16, 2012 at 4:53 PM, Tim Clemons tim.clem...@base2s.com wrote: I'm looking for a best practices method of isolating changelists with Subversion so that each triggered build in Jenkins only consists of a single revision. The idea is to make it easier to isolate which build change breaks the build. Is there a plugin that provides this functionality? I'm also interested in this, but for git. -- -- Andrew Melo
Re: Isolating Changelists in Jenkins
On May 16, 2012, at 17:18, Jesse Farinacci jie...@gmail.com wrote: Greetings, On Wed, May 16, 2012 at 5:55 PM, Andrew Melo andrew.m...@gmail.com wrote: I'm also interested in this, but for git. https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin - check the Push notification from repository section. Unfortunately, the firewall at work prevents the github hooks from reaching us. I don't mind the delay from polling, is there a way to enable Jenkins to process each revision individually? -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not.
Re: How to reboot a slave during a build?
On Wed, May 16, 2012 at 10:59 PM, Romu huru...@gmail.com wrote: Hi, How to reboot a slave as part of a build? I found that when the slave reboots Jenkins immediately considers the build as failsure. Any idea? Am I understanding correct that you want to reboot *during* a build? Why would you want to do that? Thanks Romu -- -- Andrew Melo
Re: UI weird after update?
On Thu, May 10, 2012 at 4:03 PM, matthew.web...@diamond.ac.uk wrote: I’m on 1.463 with Firefox 12.0, and the web pages, including CSS, look good to me. I also get the warnings that you get, but I guess these are benign. Strangely, it works if I log in ... I don't know if somehow I screwed up security settings to make the images un-loadable. Is that even possible? So, no ideas! ** ** *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Andrew Melo *Sent:* 10 May 2012 02:50 *To:* jenkinsci-users@googlegroups.com *Subject:* Re: UI weird after update? ** ** ** ** On Thu, May 10, 2012 at 9:14 AM, Andrew Melo andrew.m...@gmail.com wrote: Hey Everyone, ** ** My machine updated to 1.463, and it seems like the CSS isn't working or something. I've tried to clear the cache, refresh, clear the cache, restart, etc... This is what it looks like on my end: ** ** http://cl.ly/0P2z3J25250v1x0Z080o ** ** And I'm on firefox 12.0 ** ** Is anyone else seeing this? ** ** I looked into it more, and it appears something is unhappy about the CSS. It's being found, but not parsed correctly. MY error log is full of messages like this: ** ** http://cl.ly/02241I182O0E113Y1Q3p ** ** HTH, jenkins is pretty unusable like this. ** ** -Andrew Andrew ** ** -- -- Andrew Melo ** ** -- -- Andrew Melo -- -- Andrew Melo
UI weird after update?
Hey Everyone, My machine updated to 1.463, and it seems like the CSS isn't working or something. I've tried to clear the cache, refresh, clear the cache, restart, etc... This is what it looks like on my end: http://cl.ly/0P2z3J25250v1x0Z080o And I'm on firefox 12.0 Is anyone else seeing this? Andrew -- -- Andrew Melo
Re: UI weird after update?
On Thu, May 10, 2012 at 9:14 AM, Andrew Melo andrew.m...@gmail.com wrote: Hey Everyone, My machine updated to 1.463, and it seems like the CSS isn't working or something. I've tried to clear the cache, refresh, clear the cache, restart, etc... This is what it looks like on my end: http://cl.ly/0P2z3J25250v1x0Z080o And I'm on firefox 12.0 Is anyone else seeing this? I looked into it more, and it appears something is unhappy about the CSS. It's being found, but not parsed correctly. MY error log is full of messages like this: http://cl.ly/02241I182O0E113Y1Q3p HTH, jenkins is pretty unusable like this. -Andrew Andrew -- -- Andrew Melo -- -- Andrew Melo
Error building plugin
Hello all, I'm trying to build a plugin (https://github.com/etsy/jenkins-master-project) which doesn't seem to be able to resolve the dependencies right. Might this hae to do with the maven shuffle that's been going on? [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.74/maven-hpi-plugin-1.74.jar [INFO] Unable to find resource 'org.jenkins-ci.tools:maven-hpi-plugin:maven-plugin:1.74' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.jenkins-ci.tools -DartifactId=maven-hpi-plugin -Dversion=1.74 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.jenkins-ci.tools -DartifactId=maven-hpi-plugin -Dversion=1.74 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.jenkins-ci.tools:maven-hpi-plugin:maven-plugin:1.74 from the specified remote repositories: central (http://repo1.maven.org/maven2) org.jenkins-ci.tools:maven-hpi-plugin:maven-plugin:1.74 from the specified remote repositories: central (http://repo1.maven.org/maven2) Thanks, Andrew -- -- Andrew Melo
Re: Error building plugin
On Fri, Apr 20, 2012 at 1:14 PM, cjo cjo.john...@gmail.com wrote: This would have been better asked on the jenkinsci-dev list, But have you modified your local ~/.m2/settings.xml file to include the jenkins hosted repos. * * See the Setting Up Environment section of https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial I didn't try that, I looked here: https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins And tried applying the fix to tell maven to use a mirror for glassfish. I didn't know about the other twiki. Thanks, Andrew Chris On Friday, 20 April 2012 10:42:15 UTC+1, Andrew Melo wrote: Hello all, I'm trying to build a plugin (https://github.com/etsy/** jenkins-master-project https://github.com/etsy/jenkins-master-project) which doesn't seem to be able to resolve the dependencies right. Might this hae to do with the maven shuffle that's been going on? [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/**org/jenkins-ci/tools/maven-* *hpi-plugin/1.74/maven-hpi-**plugin-1.74.jarhttp://repo1.maven.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.74/maven-hpi-plugin-1.74.jar [INFO] Unable to find resource 'org.jenkins-ci.tools:maven-**hpi-plugin:maven-plugin:1.74' in repository central (http://repo1.maven.org/maven2**) [INFO] --**--** [ERROR] BUILD ERROR [INFO] --**--** [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.jenkins-ci.tools -DartifactId=maven-hpi-plugin -Dversion=1.74 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.jenkins-ci.tools -DartifactId=maven-hpi-plugin -Dversion=1.74 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.jenkins-ci.tools:maven-**hpi-plugin:maven-plugin:1.74 from the specified remote repositories: central (http://repo1.maven.org/maven2**) org.jenkins-ci.tools:maven-**hpi-plugin:maven-plugin:1.74 from the specified remote repositories: central (http://repo1.maven.org/maven2**) Thanks, Andrew -- -- Andrew Melo -- -- Andrew Melo
Parameterized build trigger or matrix build?
Hey all, I've split a long-running job into a matrix job (where every job runs 1/10th the tests to get the test time to something reasonable), which works really well. But, all the post-job triggers act funny (i.e. if you break a test in two separate matrix jobs, you get a mail for each jobslice sub-job, when ideally you would get one per master build) Looking through the list of plugins, would the paramaterized build be a better choice? Can it, for instance, take the junit results from the child builds and put it in its own report? Thanks, Andrew -- -- Andrew Melo
High CPU usage
Hello, I work on a laptop most of the time, and I've noticed that leaving a jenkins window open will cause firefox to use nearly an entire core (which drains the battery real quickly). Even starting with a brand new browser window, it still happens. Are there any options to help reduce that? Thanks, Andrew -- -- Andrew Melo
Re: High CPU usage
The pages have it and it says, Enable auto-refresh. Does that mean it's off and clicking it will turn it on? On Fri, Apr 13, 2012 at 11:42 AM, Mandeville, Rob rmandevi...@litle.comwrote: Do you have auto-refresh on? Each Jenkins window should have an “enable auto-refresh” or “disable auto-refresh” tag on it. ** ** --Rob ** ** *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Andrew Melo *Sent:* Friday, April 13, 2012 12:36 PM *To:* jenkinsci-users@googlegroups.com *Subject:* High CPU usage ** ** Hello, ** ** I work on a laptop most of the time, and I've noticed that leaving a jenkins window open will cause firefox to use nearly an entire core (which drains the battery real quickly). Even starting with a brand new browser window, it still happens. Are there any options to help reduce that? ** ** Thanks, Andrew ** ** -- -- Andrew Melo The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- -- Andrew Melo
Re: High CPU usage
On Apr 13, 2012, at 11:47, Mandeville, Rob rmandevi...@litle.com wrote: Yes. So you aren’t auto-refreshing. Sorry, I thought that this would be the problem. Maybe the JavaScript polling for build status is firing too quickly...I'm not sure how to profile JS though --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Melo Sent: Friday, April 13, 2012 12:46 PM To: jenkinsci-users@googlegroups.com Subject: Re: High CPU usage The pages have it and it says, Enable auto-refresh. Does that mean it's off and clicking it will turn it on? On Fri, Apr 13, 2012 at 11:42 AM, Mandeville, Rob rmandevi...@litle.com wrote: Do you have auto-refresh on? Each Jenkins window should have an “enable auto-refresh” or “disable auto-refresh” tag on it. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Melo Sent: Friday, April 13, 2012 12:36 PM To: jenkinsci-users@googlegroups.com Subject: High CPU usage Hello, I work on a laptop most of the time, and I've noticed that leaving a jenkins window open will cause firefox to use nearly an entire core (which drains the battery real quickly). Even starting with a brand new browser window, it still happens. Are there any options to help reduce that? Thanks, Andrew -- -- Andrew Melo The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- -- Andrew Melo
Re: ChangeLog parser without SCM
Could you make a local git mirror and trigger Jenkins off that? Andrew Melo Sent from my secret fortress. On Apr 1, 2012, at 15:07, Martin d'Anjou martin.danjo...@gmail.com wrote: I maintaing a rogue Jenkins installation which has no access to the SCM. I build with a shell script that launches the job by ssh to another account on a remote host. At the end of the build, I rsync relevant files and make them artifacts, including a file containing the differences (diff -u) introduced in the build. I wanted this file to be linked to the ChangeLog or to a Changes introduced in this build button. Martin On 12-04-01 03:45 PM, Grégory Boissinot wrote: At the moment, there is no available solution without SCM. However, you can look at the XTrigger plugin providing a change log. What is exactly your use case? On Sat, Mar 31, 2012 at 1:26 PM, bl0ck3r martin.danjo...@gmail.com wrote: Is it possible to have a ChangeLog parser without developing the full SCM plugin?
Re: EnvInject: injecting environment variables from URL
On Fri, Mar 23, 2012 at 1:13 AM, John Vacz mailing.list.collect...@googlemail.com wrote: ** I have form submission problem on the shared objects configure page when I access Jenkins through a local proxy (ssl tunneling). I got a server not found page when I click the save button, Jenkins was trying to submit/redirect to https://real-server-name/jenkins//manage, instead of (my guess) https://my-local-proxy/jenkins/manage. Is there any way to get around this? I tried lynx/w3m on the remote server, but they seem to have difficulties dealing with the drop down button gadget. I use FoxyProxy (under firefox) with ssh's DynamicProxy option and it works great. On 18.03.2012 22:51, Grégory Boissinot wrote: Thanks for testing EnvInject plugin. EnvInject is aimed at managing environment variables. For your need, you can use the Shared Objects plugin. It's a complement to the EnvInject plugin. It enables you to share objects in your environment (such as in your case a properties files through an URL) and inject its content as environment variables with the EnvInject plugin. You define your shared objects in the global Jenkins configuration (Manage Jenkins Shared Objects) and check 'Propagate shared objects' in the 'Prepare an environment for the job run' section. Shared objects will be computed dynamically and the results will be injected as environment variables for each job build. https://wiki.jenkins-ci.org/display/JENKINS/SharedObjects+Plugin On Fri, Mar 16, 2012 at 10:43 AM, John Vacz mailing.list.collect...@googlemail.com wrote: Can EnvInject plugin inject enviroment variables defined in .properties file from a URL? I tried but it did not work. Have i missed something obvious? Our particular use case is that we need to inject some mail address lists as environment variables to be used by Email-ext plugin, and it would be very handy if we can just inject those variables directly from a http server (or our anonymous SVN in this particular case). Meanwhile I add a shell script to download the .properties file and then use EnvInject to inject them. Furthermore, the variables are actually global, it would be great if we do not need to inject them in every job, but globally in Jenkins. I noticed that in Jenkins configure screen, there is a Prepare jobs environment section (provided by EnvInject?), it seems that one can inject viarables from a file with absolute path. But have some concerns: a) this injection is rather static, as the help stated You must restart the node (master/slave) for the consideration of this property, that means the variables cannot be changed on the fly (I did not get a chance to test this, so I might be wrong); b) I am not sure if this injection is transparent in a master-slave setting. Any suggestion is appreciated. -- -- Andrew Melo
Re: Is there such as thing template builds
On Tue, Mar 20, 2012 at 12:54 PM, Tony P tony...@cantabrian.co.nz wrote: Hi, I have to say Template is not quite the right word but I can't currently think of a better one.. We have quite a few builds that are based on the same template, they are all clones of a particular build I have called Generic_Ivy_Module_Template. All these jobs are identical to the generic one aside from a handful of changes, such as the location of the source code and project name. All good so far. If I decide to make a change to the master Template and make this change effective for all its clones then I need to go into each and every clone and update them. Yes I know I can change the config.xml using a global search and replace - actually that is often what I do. However it would be really cool to have a better mechanism, ideally where there was some sort of master job and any changes to that we automatically used by the clones. Something like this may exist and I have missed it. Incidentally I have multiple templates. Actually I was wondering the same thing. In my case, I would like to use the exact same build, but have triggered-by-SCM results and triggered-manually results (like a try server) separated. That way the build would be the same in both cases, but the historical test results wouldn't be mixed up like they are currently. Having two separate bulds makes it really easy to desynchronize the two. Thanks -- -- Andrew Melo
Matrix Build deletion?
Hello All, I have a matrix build that dumps out a *ton* of logging, and I managed to fill the disk. I tried to change jenkins to keep at most N builds, and it didn't free up any space. I even changed it to keep just 1 build, and free space didn't increase. Is this a known issue with matrix builds? Thanks, Andrew -- -- Andrew Melo
Re: Parameterized build not working - plz help
On Tue, Mar 6, 2012 at 11:31 AM, Jatin D Patel depo.ja...@gmail.com wrote: This is the steps which i have followed. step 1: Build a free-style software project step 2: IN configuration page, I have selected the option This build is parametreized Step 3: Provide String parameter Name : VERSION default value : RELEASE dESCRIPTION : abcd Step 4: Under the build section SSH Site : My personal linux server Command: : echo JAVA_HOME WORKS FINE echo $VERSION echo $version RETURNS Blank line. Hope that i was clear ? Right, but how are you actually triggering the builds? The webpage? The CLI? Please help. On Mon, Mar 5, 2012 at 6:30 PM, Andrew Melo andrew.m...@gmail.com wrote: Hi there, How are you submitting the job? -andrew On Mon, Mar 5, 2012 at 8:15 PM, Jatin D Patel depo.ja...@gmail.comwrote: Hi all, I have set up a string value Name : VERSION Default Value : 17 Ref: http://wiki.hudson-ci.org/display/HUDSON/Parameterized+Build When i try to access, the version value, i get a blank response echo $JAVA_HOME returns Java Home location *echo $VERSION* *returns a blank line* * * *echo $VERSION* *also returns a blank line* How can i display the value 17 , while *executing shell script on remot ehost using ssh?* * * Please help. -- Thanks, JD Patel You Got To Think HIGH to RISE. -- -- Andrew Melo -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- -- Andrew Melo
Re: Parameterized build not working - plz help
On Tue, Mar 6, 2012 at 12:27 PM, Jatin D Patel depo.ja...@gmail.com wrote: Hi all, Hope this attached document with screenshot will be more clear. I am not able to send parametrized values to build. Andrew, Are you able to echo out parameterized value in build? If yes, Can you please reply back your output. Thanks, ~Jatin ways to reproduce steps -- step 1: Build a free-style software project step 2: IN configuration page, I have selected the option This build is parametreized Step 3: Provide String parameter Name : VERSION default value : RELEASE dESCRIPTION : abcd Step 4: Under the build section SSH Site : My personal linux server Command: : echo JAVA_HOME WORKS FINE echo $VERSION echo $version RETURNS Blank line. Step 5 Save the oncfirations Step 6 Go to home page of job now. Step 7 For triggering build, Click on Build Now (Located on Top Left) Step 8. We gets a screen to provide the parametreized values I provide some default value. Step 9 Click on Build This step helps me trigger Build. Ah, I guess that variable doesn't get passed through the SSH session. Why are you using the SSH command and not running the commands on a slave? - On Tue, Mar 6, 2012 at 10:06 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 12:02 PM, Jatin D Patel depo.ja...@gmail.comwrote: I am trying new string name String parameter Name : myVaraiable Default Value: 10 echo $myVaraiable echo $myVaraiable RETURNS Blank line. This is in a execute shell build step? Like this? http://cl.ly/2b382H2731262r2J0f08 On Tue, Mar 6, 2012 at 9:51 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 11:49 AM, Jatin D Patel depo.ja...@gmail.comwrote: Andrew, Thanks for quick reply. I have attached the following steps. I a newbie to jenkins. I might have misunderstood the documentation. Please correct me if i am wrong? -- Step 5 Save the oncfirations Step 6 Go to home page of job now. Step 7 For triggering build, Click on Build Now (Located on Top Left) Step 8. We gets a screen to provide the parametreized values I provide some default value. Step 9 Click on Build This step helps me trigger Build. Hm. Try using a different name (not $VERSION) for your variable. Maybe it's colliding? Thanks, Jatin On Tue, Mar 6, 2012 at 9:33 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 11:31 AM, Jatin D Patel depo.ja...@gmail.comwrote: This is the steps which i have followed. step 1: Build a free-style software project step 2: IN configuration page, I have selected the option This build is parametreized Step 3: Provide String parameter Name : VERSION default value : RELEASE dESCRIPTION : abcd Step 4: Under the build section SSH Site : My personal linux server Command: : echo JAVA_HOME WORKS FINE echo $VERSION echo $version RETURNS Blank line. Hope that i was clear ? Right, but how are you actually triggering the builds? The webpage? The CLI? Please help. On Mon, Mar 5, 2012 at 6:30 PM, Andrew Melo andrew.m...@gmail.comwrote: Hi there, How are you submitting the job? -andrew On Mon, Mar 5, 2012 at 8:15 PM, Jatin D Patel depo.ja...@gmail.com wrote: Hi all, I have set up a string value Name : VERSION Default Value : 17 Ref: http://wiki.hudson-ci.org/display/HUDSON/Parameterized+Build When i try to access, the version value, i get a blank response echo $JAVA_HOME returns Java Home location *echo $VERSION* *returns a blank line* * * *echo $VERSION* *also returns a blank line* How can i display the value 17 , while *executing shell script on remot ehost using ssh?* * * Please help. -- Thanks, JD Patel You Got To Think HIGH to RISE. -- -- Andrew Melo -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- -- Andrew Melo -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- -- Andrew Melo -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- -- Andrew Melo -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- -- Andrew Melo
Re: Parameterized build not working - plz help
On Tue, Mar 6, 2012 at 12:57 PM, Jatin D Patel depo.ja...@gmail.com wrote: Andrew, I wanted to execute list of linux commands, while pointing to linux serv. So you mean to say that, if i run commands on a slave, i will be able to use parametrized variables ? Do you know any link that will help? Yeah, you should just run a slave on your linux machine, have it connect to your master and use the execute shell build step to get commands to run there with each build. Thanks, Jatin. On Tue, Mar 6, 2012 at 10:38 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 12:27 PM, Jatin D Patel depo.ja...@gmail.comwrote: Hi all, Hope this attached document with screenshot will be more clear. I am not able to send parametrized values to build. Andrew, Are you able to echo out parameterized value in build? If yes, Can you please reply back your output. Thanks, ~Jatin ways to reproduce steps -- step 1: Build a free-style software project step 2: IN configuration page, I have selected the option This build is parametreized Step 3: Provide String parameter Name : VERSION default value : RELEASE dESCRIPTION : abcd Step 4: Under the build section SSH Site : My personal linux server Command: : echo JAVA_HOME WORKS FINE echo $VERSION echo $version RETURNS Blank line. Step 5 Save the oncfirations Step 6 Go to home page of job now. Step 7 For triggering build, Click on Build Now (Located on Top Left) Step 8. We gets a screen to provide the parametreized values I provide some default value. Step 9 Click on Build This step helps me trigger Build. Ah, I guess that variable doesn't get passed through the SSH session. Why are you using the SSH command and not running the commands on a slave? - On Tue, Mar 6, 2012 at 10:06 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 12:02 PM, Jatin D Patel depo.ja...@gmail.comwrote: I am trying new string name String parameter Name : myVaraiable Default Value: 10 echo $myVaraiable echo $myVaraiable RETURNS Blank line. This is in a execute shell build step? Like this? http://cl.ly/2b382H2731262r2J0f08 On Tue, Mar 6, 2012 at 9:51 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 11:49 AM, Jatin D Patel depo.ja...@gmail.comwrote: Andrew, Thanks for quick reply. I have attached the following steps. I a newbie to jenkins. I might have misunderstood the documentation. Please correct me if i am wrong? -- Step 5 Save the oncfirations Step 6 Go to home page of job now. Step 7 For triggering build, Click on Build Now (Located on Top Left) Step 8. We gets a screen to provide the parametreized values I provide some default value. Step 9 Click on Build This step helps me trigger Build. Hm. Try using a different name (not $VERSION) for your variable. Maybe it's colliding? Thanks, Jatin On Tue, Mar 6, 2012 at 9:33 AM, Andrew Melo andrew.m...@gmail.comwrote: On Tue, Mar 6, 2012 at 11:31 AM, Jatin D Patel depo.ja...@gmail.com wrote: This is the steps which i have followed. step 1: Build a free-style software project step 2: IN configuration page, I have selected the option This build is parametreized Step 3: Provide String parameter Name : VERSION default value : RELEASE dESCRIPTION : abcd Step 4: Under the build section SSH Site : My personal linux server Command: : echo JAVA_HOME WORKS FINE echo $VERSION echo $version RETURNS Blank line. Hope that i was clear ? Right, but how are you actually triggering the builds? The webpage? The CLI? Please help. On Mon, Mar 5, 2012 at 6:30 PM, Andrew Melo andrew.m...@gmail.com wrote: Hi there, How are you submitting the job? -andrew On Mon, Mar 5, 2012 at 8:15 PM, Jatin D Patel depo.ja...@gmail.com wrote: Hi all, I have set up a string value Name : VERSION Default Value : 17 Ref: http://wiki.hudson-ci.org/display/HUDSON/Parameterized+Build When i try to access, the version value, i get a blank response echo $JAVA_HOME returns Java Home location *echo $VERSION* *returns a blank line* * * *echo $VERSION* *also returns a blank line* How can i display the value 17 , while *executing shell script on remot ehost using ssh?* * * Please help. -- Thanks, JD Patel You Got To Think HIGH to RISE. -- -- Andrew Melo -- Thanks, Jatin D N
Re: Redundant syncs by Perforce plugin when using matrix jobs
On Mon, Mar 5, 2012 at 9:26 AM, Thomas Fields thomasmfie...@gmail.comwrote: I'm not sure about the SVN plugin but it's a performance killer for me so I'm hoping there is a fix. I've created https://issues.jenkins-ci.org/browse/JENKINS-12983 to see if I can get an official answer from the author of the Perforce plugin. FWIW, I see the same behavior with git. -Andrew On Saturday, 3 March 2012 15:58:16 UTC, Simon Stevenson wrote: I think there may be a bug with the matrix builds... I have noticed with SVN the parent does an unnecessary sync as well. On 1 March 2012 21:34, Thomas Fields thomasmfie...@gmail.com wrote: Hi there, I've been using the Perforce plugin with Jenkins for a while now and it's been working great. However, recently I noticed that it's been doing what I think is a redundant sync. I've got a matrix job and when the job triggers, the matrix parent gets a list of the changes by calling p4 describe but I don't see why it actually needs to sync the entire view. Here's a snippet of my console output for the matrix parent job: [LevelEditor] $ C:\\Program Files\\Perforce\\p4.exe counter change [LevelEditor] $ C:\\Program Files\\Perforce\\p4.exe -s changes -s submitted //Jenkins_LevelEditor-Build1/.**..@167107,@167107 [LevelEditor] $ C:\\Program Files\\Perforce\\p4.exe describe -s 167107 [LevelEditor] $ C:\\Program Files\\Perforce\\p4.exe -G where //... Sync'ing workspace to changelist 167107 (forcing sync of unchanged files). [LevelEditor] $ C:\\Program Files\\Perforce\\p4.exe -s sync -f //Jenkins_LevelEditor-Build1/.**..@167107 Then each sub-element of the matrix does this: [x86] $ C:\\Program Files\\Perforce\\p4.exe counter change This is a matrix run, trying to use change number from parent/siblings... Latest change from parent is: 167107 [x86] $ C:\\Program Files\\Perforce\\p4.exe -s changes -s submitted //Jenkins_LevelEditor-CONFIG-**Debug-TARGET-x86-Build2/...@**167107,@167107 [x86] $ C:\\Program Files\\Perforce\\p4.exe describe -s 167107 [x86] $ C:\\Program Files\\Perforce\\p4.exe -G where //... Sync'ing workspace to changelist 167107 (forcing sync of unchanged files). [x86] $ C:\\Program Files\\Perforce\\p4.exe -s sync -f //Jenkins_LevelEditor-CONFIG-**Debug-TARGET-x86-Build2/...@**167107 Note the same sync happens again. Is this a bug in the Perforce plugin? Is there anyway to remove that first sync? As you can imagine, if your view is quite large, the sync could take a while and slow down the build. Regards, Tom. -- -- Andrew Melo
Re: Is there a way to wait for other builds to finish?
On Thu, Mar 1, 2012 at 11:23 AM, Brad bhugg...@gmail.com wrote: I have several projects that I want to run in parallel and when all of them done send out an email, however I can't figure out a way to do this. Here is a simplified scenario... In reality there are 6 jobs that need to run at the same time: Job 1 \ When Done - Send Email Job 2 / I tried the join plugin but it doesn't wait for the jobs and I looked at the command line api but didn't see a way to see if a job is running Is there either a plugin that would do this that I'm missing or an api call that I could use to see if a job is still running? The Join plugin *should* work. What did you see when you tried it? Thanks, Brad -- -- Andrew Melo
Re: Optional File Parameterization?
Hey Sami, On Mon, Feb 20, 2012 at 11:32 PM, Sami Tikka sjti...@gmail.com wrote: You just have to change your build scripts to use the uploaded file if it exists in the workspace and do something else if it doesn't. I would like to do that, but it doesn't seem to work. If I make the call with urllib (I'm using python), I get a 500 error back (so the job never fires). If I add a file to it, the job works fine. If I remove the file parameterization, it works. It's just when I try to submit a job and don't include the file that things blow up. Unfortunately (well, fortunately in a way), I'm doing my qualifying exam tomorrow AM, so I can't dig out the backtrace, but one of the stack frames was in buildWithParameters. I can send that tomorrow once I'm done if that helps. Thanks! Andrew -- Sami Andrew Melo andrew.m...@gmail.com kirjoitti 20.2.2012 kello 0.09: Hello, everyone- We currently use jenkins to test commits that are in our Git repository, but I'd like to add support for developers to test their current workspace with jenkins before the commit makes it up. I added some logic to the beginning of the build process to unpack a tarball passed in with the file parameterization, which works great. However, any existing processes that try to submit a job end up failing if they don't pass in a file with the http request. Is there a way to have jenkins ignore if a file isn't passed in (perhaps making a zero-length file)? Or is there a better way to go about this? (Our job configuration is super complex, so maintaining two jobs with identical options modulo the build parameterization would probably end up with them desynchronizing). Thanks, Andrew -- -- Andrew Melo
Optional File Parameterization?
Hello, everyone- We currently use jenkins to test commits that are in our Git repository, but I'd like to add support for developers to test their current workspace with jenkins before the commit makes it up. I added some logic to the beginning of the build process to unpack a tarball passed in with the file parameterization, which works great. However, any existing processes that try to submit a job end up failing if they don't pass in a file with the http request. Is there a way to have jenkins ignore if a file isn't passed in (perhaps making a zero-length file)? Or is there a better way to go about this? (Our job configuration is super complex, so maintaining two jobs with identical options modulo the build parameterization would probably end up with them desynchronizing). Thanks, Andrew