Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?

2013-08-01 Thread Mishael Kim
If you're using Perforce, you can even shelve a changelist without ever checking it into any branch. Then you can use a Jenkins job to unshelve that changelist, run your tests against the shelved code, and then check in that shelved changelist if your tests pass. On Thu, Aug 1, 2013 at 11:34 AM,

Re: Is there a chance to get Subversion 1.8.x running with jenkins?

2013-08-01 Thread cjs1976
Hi! I made a mistake: I updated our lokal svn-server to the newest version (= Subversion 1.8.x). The update worked fine (no errors), and while the update process all files were automatically changed to the new format of Subversion 1.8.x. If we do a checkout (or whatever) from our svn-server to

Re: build only if other job succeeded?

2013-08-01 Thread Kannan Manickam
Setting B as a downstream project to A and using the threshold as "Only if the build succeeds". On Aug 1, 2013, at 9:10 AM, Tânia Magalhães wrote: > If I have 2 jobs (A and B). > A should run before B. > B doesn't need to run right after A ends. > But B can only run if the last build of A succe

Re: Jenkins with Tomcat7 very slow

2013-08-01 Thread Steffen Breitbach
Hi Eduardo! On Thu, 2013-08-01 at 13:39 -0300, Eduardo Dias wrote: > I am experiencing a very poor performance. What does "poor performance" mean? Regards Steffen -- lies http://www.tty1.net/smart-questions_de.html read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay -- You received th

Re: build only if other job succeeded?

2013-08-01 Thread Steffen Breitbach
Hi Tânia! On Thu, 2013-08-01 at 09:10 -0700, Tânia Magalhães wrote: > B doesn't need to run right after A ends. If it doesn't _need_ that still implies that it _can_, so why not running as a downstream job? Regards Steffen -- You received this message because you are subscribed to the Google

Jenkins maven build fails due to spring component-scan not detecting beans in sub package

2013-08-01 Thread david lee
I am trying to run a Spring Batch job through Jenkins. In my *local machine*, executing mvn clean compile -PPLAYER_INFO_JOB will trigger the following plugin in pom.xml to execute PLAYER_INFO_JOB org.codehaus.mojo

Failed to deserialize the Callable object and IndexOutofBoundsException?

2013-08-01 Thread Laura McCord
I received the following error when I started up the connection to my development server. It looked like the connection succeeded but then it immediately sprang up the error. I don't know what this means or if any of you have come across it. Thanks, Laura [08/01/13 15:27:18] [SSH] Check

Re: Jenkins multi-configuration project

2013-08-01 Thread Laura McCord
Thanks. Yes, I feel foolish...I figured that out after I tried creating a node and then the option finally appeared. On Thursday, August 1, 2013 1:21:12 PM UTC-5, Daniel Beck wrote: > > You have no slaves, so there's no reason to present this option (or 'Label > expression'). > > On 01.08.20

Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?

2013-08-01 Thread Daniel Beck
There's a commercial plugin that does this if you're using Git: http://www.cloudbees.com/jenkins-enterprise-by-cloudbees-features-validated-merge-plugin.cb Developers push to Jenkins' repository, and if that's successful, Jenkins pushes to your actual repo. On 01.08.2013, at 09:16, Avihay Eyal

Re: Newbie question: Build Flow Plugin and Multiple Nodes

2013-08-01 Thread Daniel Beck
Figured it out. You specified one parallel 'lane' that executes two builds in sequence. The example from the wiki has three 'lanes', with one job each. Something like the following is also possible: parallel ( { build('j1') build('j2') }, { build('j3') }) ... which builds three jobs in two

Re: Newbie question: Build Flow Plugin and Multiple Nodes

2013-08-01 Thread Daniel Beck
AFAICT your syntax is wrong. From the Wiki: parallel ( // job 1, 2 and 3 will be scheduled in parallel. { build("job1") }, { build("job2") }, { build("job3") } ) Note the extra braces. That's probably why it's not actually parallel. The build flow itself is "lightweight", which means

Re: Jenkins multi-configuration project

2013-08-01 Thread Daniel Beck
You have no slaves, so there's no reason to present this option (or 'Label expression'). On 01.08.2013, at 20:02, Laura McCord wrote: > I have been looking at examples on setting up multi-configuration projects. > What I have seen is the use of "Slave axis" under the Configuration Matrix > bu

Re: Plugin installation by hand doesn't work

2013-08-01 Thread Daniel Beck
What's in the log (/var/log/jenkins/jenkins.log probably)? Did you get the permissions of the files right? On 01.08.2013, at 18:13, Avihay Eyal wrote: > Hi, I copied mercurial and xunit hpi files to /var/lib/Jenkins/plugins as a > manual installation (I'm working in a private network - no acce

Jenkins multi-configuration project

2013-08-01 Thread Laura McCord
I have been looking at examples on setting up multi-configuration projects. What I have seen is the use of "Slave axis" under the Configuration Matrix but I don't have that option under the drop-down menu. I also can't seem to find it under the plugins to add it. Any suggestions? Laura -- Y

Re: New to Jenkins: Can you connect to a remote non-github repository?

2013-08-01 Thread Laura McCord
Hi Slide, The vpn was removed recently and I assigned permissions to allow the server to access the repository and it finally worked. Thanks for your help, Laura On Wednesday, July 10, 2013 4:09:28 PM UTC-5, slide wrote: > > Hi, > > You probably need to add the key to whatever user Jenkins is

Re: NodeLabel Parameter Plugin

2013-08-01 Thread Tânia Magalhães
I solve it creating the job like "multi-configuration job". Then, just configured the job normally and under "Configuration Matrix", "Node/Label" selected all the nodes where I want the job to run. And its done. Quinta-feira, 1 de Agosto de 2013 15:39:33 UTC+1, Tânia Magalhães escreveu: > > Tha

Jenkins with Tomcat7 very slow

2013-08-01 Thread Eduardo Dias
Hi All, I am testing Jenkins with Tomcat7 and I am experiencing a very poor performance. I am using the java options below: JAVA_OPTS="-Djava.awt.headless=true -Xms512m -Xmx2048m -XX:+UseConcMarkSweepGC” Any tip? Regards, Eduardo -- You received this message because you are subscribed to t

Plugin installation by hand doesn't work

2013-08-01 Thread Avihay Eyal
Hi, I copied mercurial and xunit hpi files to /var/lib/Jenkins/plugins as a manual installation (I'm working in a private network - no access to the internet), and I restarted Jenkins. It seems that the new plugins aren't used by Jenkins, since I don't see them in the "pluginManager/available"

build only if other job succeeded?

2013-08-01 Thread Tânia Magalhães
If I have 2 jobs (A and B). A should run before B. B doesn't need to run right after A ends. But B can only run if the last build of A succeeded. Is there a way to set this? Some configuration on job B such as: "Build only if the last build of this job succeeded: (and enter the jobs name) A" Tha

Re: Does XUnit plugin supports gtests (goole unit testing framework)?

2013-08-01 Thread Avihay Eyal
Thanks :) On Thursday, August 1, 2013 6:39:58 PM UTC+3, Mark Waite wrote: > > Since https://code.google.com/p/googletest/ says that it supports "XML > test report generation", I assume that it will work just fine with the > XUnit plugin. > > Mark Waite > > -- > *Fr

Re: Does XUnit plugin supports gtests (goole unit testing framework)?

2013-08-01 Thread Mark Waite
Since https://code.google.com/p/googletest/ says that it supports "XML test report generation", I assume that it will work just fine with the XUnit plugin. Mark Waite > > From: Avihay Eyal >To: jenkinsci-users@googlegroups.com >Sent: Thursday, August 1, 2013 9

Anybody use Jenkins Sonar plugin 2.1 ?

2013-08-01 Thread Dennys Hsieh
I posted this question on stackoverflow.com but not get an answer. http://stackoverflow.com/questions/17823980/jenkins-sonar-plugin-2-1-upgrade-issue Does anybody use Jenkins Sonar plugin 2.1? Could you tell me do you have the same problem like me. And if you don't, please let me know your Jenkin

Does XUnit plugin supports gtests (goole unit testing framework)?

2013-08-01 Thread Avihay Eyal
-- 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: NodeLabel Parameter Plugin

2013-08-01 Thread Tânia Magalhães
That way I won't have the job build in each node, but only in one of the possible nodes (the ones with that label...). I will try with multi-configuration job. Thanks. Quinta-feira, 1 de Agosto de 2013 15:28:37 UTC+1, Steffen escreveu: > > > Just add a label on the slaves that you want to run

Re: NodeLabel Parameter Plugin

2013-08-01 Thread Steffen Breitbach
> Just add a label on the slaves that you want to run your job on and > then > add the label to your job configuration under "Restrict where this > project can be run". This is, by the way, achieved without any plugins. -- You received this message because you are subscribed to the Google Group

Re: NodeLabel Parameter Plugin

2013-08-01 Thread Steffen Breitbach
Hi Tânia! On Thu, 2013-08-01 at 07:09 -0700, Tânia Magalhães wrote: > Does anyone knows how to this with this plugin or in other way? Just add a label on the slaves that you want to run your job on and then add the label to your job configuration under "Restrict where this project can be run". R

Newbie question: Build Flow Plugin and Multiple Nodes

2013-08-01 Thread Bob Bick
Hi, We have a Build Flow that runs two jobs in parallel. DSL==> parallel { build('job1') build('job2') } When I run the build flow, it always runs the jobs on the same node. Since each node has a max executors equal to 2, job1 and job2 execute serially (i.e. the Build Flow job a

NodeLabel Parameter Plugin

2013-08-01 Thread Tânia Magalhães
Lets say that I have 4 slaves (A, B, C and D). I have a job that I want to run for slaves B, C and D. Ok, I can make 3 different (but equals) jobs, one for each slave, but since the jobs would be exactly the same and since instead of 3 slaves I can have much more, I would prefer to have a single

Re: jenkins version issue

2013-08-01 Thread Mark Waite
I've encountered seemingly random test failures due to differences in the runtime environment.  Things like: - processor performance - graphics performance - graphics configuration (screen resolution, color depth, etc.) - available memory - load on the computer running the tests - conflicts with

jenkins version issue

2013-08-01 Thread Alexandra Sandulescu
Hello, I have a test suite which consists in 30 tests (unit tests for webtesting - selenium) and i use 2 platforms of jenkins for running them. The first one is jenkins 1.421 - here i have some RANDOM fails and errors The second one is jenkins 1.509 where everything is passed. Does someone know

Re: workspace cleanup plugin and artifact archiving don't work with absolute paths?

2013-08-01 Thread Chris Withers
More followup... On 31/07/2013 21:36, Eric Pyle wrote: Hi Chris, You can get a shell script as a post-build action by using Flexible Publish or PostBuildScript plugins. PostBuildScript doesn't work because it always runs last, so it can't put stuff in place for the artifact archive step to f

Re: Job success or failure message

2013-08-01 Thread Steffen Breitbach
> You could use a script that will do that for you and let Jenkins run the > script only. I just tried it: individual build steps (e.g. n times "Execute shell") will do exactly the same by the way. Regards Steffen -- You received this message because you are subscribed to the Google Groups "

Re: When comes support for Subversion 1.8.x

2013-08-01 Thread cjs1976
Hi! I forgot: I know Jenkins uses SVNKit for the subversion support. There is an alpha version 1.8.0 from july from SVNKit which supports the Subversion 1.8.x working copy format, but not all new Subversion 1.8x features. I can be one of the alpha or beta testers! Greetings, Christian. Am Do

When comes support for Subversion 1.8.x

2013-08-01 Thread cjs1976
Hi! How are the plans to support Subversion 1.8.x? Greetings, Christian. -- 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...@googlegro

Re: Job success or failure message

2013-08-01 Thread Steffen Breitbach
Hi Tânia! On Thu, 2013-08-01 at 04:31 -0700, Tânia Magalhães wrote: > Is there way to configure the job so it will stop if any of the steps > fail? You could use a script that will do that for you and let Jenkins run the script only. > How can I configure it so this job test won't run if JOB_A f

Job success or failure message

2013-08-01 Thread Tânia Magalhães
Hi! Lets say that I have a job (JOB_A) with a lot of build steps. For example: Step1: rmdir /s /q C:\whatever Step2: "svn checkout" Step3: c:\whatever\script1.py Step4: c:\whatever\script2.py ... Is there way to configure the job so it will stop if any of the steps fail? I mean, I don't nee

Only trigger a build for a new tag in a Git repository

2013-08-01 Thread Sebastian Bergmann
I have a Jenkins job for a software project that is developed in a Git repository. I do not want the job to trigger a build for each push but rather for each new tag. Is that possible? How would I set this up? Thanks! -- You received this message because you are subscribed to the Google Groups

Re: workspace cleanup plugin and artifact archiving don't work with absolute paths?

2013-08-01 Thread Chris Withers
On 31/07/2013 21:36, Eric Pyle wrote: Hi Chris, You can get a shell script as a post-build action by using Flexible Publish or PostBuildScript plugins. Which version of PostBuildScript plugin works with 1.480.3? I tried to upgrade to 1.509.2 but got this heinous error: https://issues.jenkins-

Re: Jenkins Job list empty after JENKINS_HOME was moved

2013-08-01 Thread teilo
Another potential reason is the Java security manager that your today is using is preventing reading and it writing files that are outside the tomcat webapp dir. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group a

Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?

2013-08-01 Thread Dirk Heinrichs
Am Donnerstag, 1. August 2013, 00:16:46 schrieb Avihay Eyal: > I mean, If I'm a developer, I would prefer to somehow run the automated > tests *before* I push to the repository, cause if an automated test failed > and there's a bug in my code, I want to know that before pushing my > change... Ho

CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?

2013-08-01 Thread teilo
Hi Avyhal, It's a problem with your tools and workflow. I suggest you look at some tools that enforce some code review as part of your SCM use, so that the build midst have passed test before it can be in the mainline. E.g Gerrit, cloudbees commit validator etc. Regards James -- You receiv

CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?

2013-08-01 Thread Avihay Eyal
I mean, If I'm a developer, I would prefer to somehow run the automated tests *before* I push to the repository, cause if an automated test failed and there's a bug in my code, I want to know that before pushing my change... How do you approach this problem? -- You received this message becaus