Re: Re: How to use the same BUILD_NUM in two different jobs?

2013-06-27 Thread 丁剑雄
I have solve the problem. 1. set the ssh config without password from node connect to master. 2. use commond "ssh hostname curl -d nextBuildNumber=$BUILD_NUMBER+1 http://user:password@JENKINS_URL/job/ANOTHER_JOB/nextbuildnumber/submit"; when build begin. thanks everyone. 2013/6/27 Benjamin Lau

Re: Ignore svn:mergeinfo only changes

2013-06-27 Thread Davide Silvestre
Hi, I have the same issue. This is more or less my structure: proj-parent --proj-a --proj-b --proj-c I set up a job using the incremental build on Jenkins and if something is committed only to proj-c then only this module is build. But if the same change comes from a reintegrated branch then the

RE: Build with parameters redirects to blank screen

2013-06-27 Thread Matthew.Webber
There have been a number of messages about this in the group over the last few days – did you not see them? There is already a bug report open: https://issues.jenkins-ci.org/browse/JENKINS-18425 The problem will apparently be fixed in 1.521 when it is released. (see the changelog at http://jenk

RE: Polling for changes to an arbitrary sub-directory in a perforce workspace

2013-06-27 Thread Mandeville, Rob
I've never used the Perforce plugin and my Perforce is rusty, but I may have a solution. If you only care about the certain subdirectories you are watching (i.e. you don't need the other files), then you can narrow the workspace view to just watch those subdirectories. It sounds like your prob

Invoke hudson.tasks.ArtifactArchiver from Groovy

2013-06-27 Thread Brendan Nolan
Hi, I'm having a problem with the ArtifactArchiver in combination with the PostBuildScript plugin. I am using the PostBuildScript plugin to invoke an ANT task to retrieve the results of a test from an other environment and then I want to use the ArtifactArchiver to attach the results to the bu

Re: Not able to install perl plugin

2013-06-27 Thread Anand Sudabattula
Hi, It has been a couple of days since I requested help. Please let me know if I need to post this question to some other group. Appreciate your help. Thanks Anand On Monday, June 24, 2013 4:12:11 PM UTC-4, Anand Sudabattula wrote: > > Hi, > > Using Jenkins 1.518 on Linux, due to unavailabili

Modifying Git branch dynamically

2013-06-27 Thread Bob Bick
Hi, Background Our Jenkins build job uses Git with a default branch specifier set to 'develop'. A build input parameter "OVERRIDE_BRANCH" allows the user to specify an alternative Git branch. A Groovy script build step looks to see if $OVERRIDE_BRANCH has been specified, and if so, it checks o

Re: Jenkins: how to use PMD plugin to analyze a Maven project?

2013-06-27 Thread Ulli Hafner
What exactly is the problem or question? From the log I see that PMD is already running and reporting 0 warnings. If there are no warnings then you also can't navigate to the warnings. Ulli Am 26.06.2013 um 11:44 schrieb Tan Chen : > Hello, > I am really new to Jenkins. In fact I have installe

Re: Enable / disable nodes

2013-06-27 Thread k . thieling
When viewing the node you should have the option in the top right corner to "Mark this node temporarily offline" This will show the node as offline but not actually break the connection with the machine. - Original Message - From: "Tânia Magalhães" To: jenkinsci-users@google

Enable / disable nodes

2013-06-27 Thread Tânia Magalhães
Hi! Is there a way to enable / disable nodes without deleting or disconnect them? What I want, in a distributed system, is to be able to easily choose at any time which online nodes are available to run jobs. The ideal solution to me would be something like that: on the same way that there is

Detect nodes

2013-06-27 Thread Tânia Magalhães
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

RE: Not able to install perl plugin

2013-06-27 Thread Mandeville, Rob
I'm not sure that anybody here has any experience with the Perl plugin. I didn't know it existed until your post, it's listed in the plugin manager at version 0.0.4 (?) without a link, and it's not even represented in the plugins page at https://wiki.jenkins-ci.org/display/JENKINS/Plugins. I w

Re: Detect nodes

2013-06-27 Thread Andrew Melo
On Thu, Jun 27, 2013 at 10:09 AM, Tânia Magalhães 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 o

Build Flow Plugin

2013-06-27 Thread Schalk Cronjé
I have recently written up some material of using the Cloudbees Build Flow Plugin that goes beyond the basics. Maybe it will be of worth to someone. OTOH feedback will also be appreciated. The link to the blog posting is http://delivervalue.blogspot.co.uk/2013/06/more-advanced-build-flows-with-

Possible race condition with two concurrent build ?

2013-06-27 Thread bertrand . pierreluc
Hi, I have 3 projects configured in Hudson, project A, B and C. Builds of B and C are triggered once A has been built and run concurrently. I see that when both runs at the same time, perforce seems to delete the workspace of either B or C which cause a failure for one of the two project. Did I

Re: Enable / disable nodes

2013-06-27 Thread Tânia Magalhães
I never saw that "button" before. Thanks! Quinta-feira, 27 de Junho de 2013 15:59:27 UTC+1, KT escreveu: > > When viewing the node you should have the option in the top right corner > to "Mark this node temporarily offline" > > > > This will show the node as offline but not actually break th

Re: Modifying Git branch dynamically

2013-06-27 Thread nicolas de loof
sole option I can see is to set branch specifier to $OVERRIDE_BRANCH with default value to "develop" So can't give advise without the long story ;) 2013/6/27 Bob Bick > Hi, > > ** ** > > *Background* > > ** ** > > Our Jenkins build job uses Git with a default branch specifier set to > ‘de

Re: Detect nodes

2013-06-27 Thread Tânia Magalhães
That's a good idea, but with this plugin artifacts are always copied before a job runs, which means that my X machine has to be always online... Quinta-feira, 27 de Junho de 2013 16:11:45 UTC+1, Andrew Melo escreveu: > > On Thu, Jun 27, 2013 at 10:09 AM, Tânia Magalhães > > wrote: > > I am con

RE: Modifying Git branch dynamically

2013-06-27 Thread Bob Bick
Sorry Nicolas... Here is the long (actually not too long) story... The Jenkins job supports both Continuous Integration (CI) and On-Demand builds. CI builds are initiated when developers push a commit to our Stash server, in which case it makes an HTTP call to the Jenkins server with the Stash U

Re: Modifying Git branch dynamically

2013-06-27 Thread nicolas de loof
any reason you don't use a standard git post-commit trigger http://yourserver/jenkins/git/notifyCommit?url= ? 2013/6/27 Bob Bick > Sorry Nicolas… Here is the long (actually not too long) story… > > ** ** > > The Jenkins job supports both Continuous Integration (CI) and On-Demand > builds.

Re:

2013-06-27 Thread Pete Akey
Hopefully you're running Windows 8 Pro? http://www.forumswindows8.com/general-discussion/cannot-find-windows-8-local-security-policy-editor-secpol-msc-5282.htm Pete On Jun 26, 2013, at 3:49 PM, Nayana ABREU wrote: > The thing is that I don't know how to find this ( Local Security Policy > > S

Re: Detect nodes

2013-06-27 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
No, the artifacts are copied to the Jenkins master when the job ends, not before it runs (they don't exist before it runs). After they are copied, the slave that ran the job is no longer needed for child jobs to be able to access them. - Original Message - From: jenkinsci-users@googlegr

Re: Detect nodes

2013-06-27 Thread Tânia Magalhães
Oh... ok. I thought you were talking about this plugin https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin So the idea is to build on my X machine, copy the artifacts to master and then, everytime I need to run a job it will use those artifacts on the slave? Quinta-feira, 27 de Ju

RE: Modifying Git branch dynamically

2013-06-27 Thread Bob Bick
Yes, we are using the standard git post-commit trigger. Sorry that was not clear. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of nicolas de loof Sent: Thursday, June 27, 2013 12:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: Modifying Git b

Re: Detect nodes

2013-06-27 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Yes, that is the plugin we are talking about. In the job that does the build, you tell Jenkins to 'archive' the artifacts, and you specify what should be archived. The artifacts are copied to the Jenkins master, and stored with the other results of the build job. Later jobs, on different slaves

Re: Modifying Git branch dynamically

2013-06-27 Thread nicolas de loof
ok, I guess you have two use cases here that require distinct jobs. One of them may be an empty one, set for git hook to monitor develop branch, and just trigger the second one using parameterized build trigger 2013/6/27 Bob Bick > Yes, we are using the standard git post-commit trigger. Sorry

RE: Modifying Git branch dynamically

2013-06-27 Thread Bob Bick
It seems unusual to require two (nearly) identical Jenkins jobs to support this (only difference is the branch that you are building on). We have a lot of Jenkins jobs and if we can't come up with a solution, we double the number of jobs in the system. That is a lot of "job clutter" for no real

RE: Modifying Git branch dynamically

2013-06-27 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
You are; for Jenkins to do what it does (in this case, report on the code changes involved in a build), it must know what code is being checked out and built. It accomplishes that by having its SCM provider(s) do the checkout *before* the job starts running user-provided steps. If the user-provi

Re: Knowledge sharing: Mercurial Plugin + Windows Service as Local System Account + Mercurial.ini

2013-06-27 Thread Olivier Trempe
Hi Jerry, Mainly 3 things: - an [auth] section with credentials so that the slave can authenticate to our mercurial server (RhodeCode) - an [extensions] section to enables all required extensions such as largefiles - a [subpaths] section with the mapping to all our subrepos This file is manage

Re: [build-flow-plugin] How to combine exit codes of partial builds?

2013-06-27 Thread Åsmund Østvold
Moving the thread to Jenkins user list Sound like you have more or less what I have. But for easy access console of the different jobs see the bottom part. builds = [] ignore(FAILURE) { parallel ( { builds.add(build("foo1", COPY_PATH : params["ba

RE: Modifying Git branch dynamically

2013-06-27 Thread Bob Bick
Thanks Kevin. I had assumed one could access the hudson.model build related objects in a Groovy system script to modify the SCM information. I have not looked into that yet... Anyone know if that is possible? Or, is that just a really bad idea? From: jenkinsci-users@googlegroups.com [mailto:je

RE: Modifying Git branch dynamically

2013-06-27 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
You certainly could do that, but you'd have to also redo all the steps that were done prior to your code running (which includes gathering the changelog, and is SCM provider specific). It's really much more logical to tell Jenkins what code it should build. - Original Message - From: je

Perform Maven Release error in build 1.519

2013-06-27 Thread glsilver...@pssd.com
I'm getting the following error when I do a "Perform Maven Release" and click on "Schedule Maven Release Build" button: Status Code: 500Exception: java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject Stacktrace: javax.servlet.ServletException: java.lang.Cl

Re: Problems trying delete project

2013-06-27 Thread Daniel Beck
Even an eager virus scanner could cause this issue. FWIW this is the main reason my Jenkins masters are running on Linux. On Windows it was just too annoying, especially with job renames. On 26.06.2013, at 19:56, "Mandeville, Rob" wrote: > I’m guessing that Jenkins is trying to delete a file (

Re: Perform Maven Release error in build 1.519

2013-06-27 Thread glsilver...@pssd.com
Problem corrected. I updated to version 1.520 and also updated the Maven Release plugin. That did the trick. On Thursday, June 27, 2013 11:48:59 AM UTC-7, glsil...@pssd.com wrote: > > I'm getting the following error when I do a "Perform Maven Release" and > click on "Schedule Maven Release Build

Re: Enable / disable nodes

2013-06-27 Thread Jerry
You can also do this by calling the URL: http://:/computer//toggleOffline?offlineMessage= On Thursday, June 27, 2013 10:56:17 AM UTC-4, Tânia Magalhães wrote: > > Hi! > > Is there a way to enable / disable nodes without deleting or disconnect > them? What I want, in a distributed system, is t

Re: Jenkins: how to use PMD plugin to analyze a Maven project?

2013-06-27 Thread Tan Chen
Thanks for your reply boss! In fact I am a little foolish about that. As u have said, it workd very well. And at that time, I just didn't know how to see the PMD result. Just a click... Thank you very much for your help and reply! Best wishes, Tan 2013/6/27 Ulli Hafner > What exactly is the p

Re: Jenkins: how to use PMD plugin to analyze a Maven project?

2013-06-27 Thread Tan Chen
Thanks for your reply boss! In fact I am a little foolish about that. As u have said, it workd very well. And at that time, I just didn't know how to see the PMD result. Just a click... Thank you very much for your help and reply! Best wishes, Tan Le jeudi 27 juin 2013 16:58:07 UTC+2, Ullrich

Google Talk 使用邀请

2013-06-27 Thread Google Talk
我使用 Google Talk 已经有一段时间,我觉得您也不妨试试。我们可以使用它通过互联网免费拨打电话。您可通过此邀请函下载 Google Talk。试试吧! --- 丁剑雄邀请您使用 Google Talk。 如果您已经拥有 Google 帐户,请登录 Gmail 并接受此聊天邀请: http://mail.google.com/mail/b-b265b772f7-6a640071cc-Yxx5lh3oz2qFc4yT8T3N4MV7YMM 要注

Need to HIRE someone to setup our Jenkins with a Post Commit Hook

2013-06-27 Thread George Chester
I would like to hire someone to setup our Jenkins with a Post Commit Hook that updates our BETA server via FTP upon a submit. It is above my head and I just need it done so would rather pay someone. Please contact me at tech (@) patchworks.net Thanks g -- You received this message becaus

Re: Jenkins build history is removed shortly after build

2013-06-27 Thread Mishael Kim
I don't have an answer for you, but I'm seeing similar results with auto triggered builds. I did temporarily fix the issue by deleting all of my history, but the problem came back after a couple weeks worth of builds again. I've reverted back to some older builds of Jenkins but still run into the

Re: Paramterized build "List subversion tags" unable to use in rrepoURl

2013-06-27 Thread 06virg
Finally i got this worked. Really strange solution. The field name for this should be in only capital letters eg SVN_TAG and in the repository URL it should be $SVN_TAG Then SVN is able to expand this name and able to checkout. Virg On Wednesday, June 26, 2013 11:47:54 PM UTC+5:30, 06v...@gma