Re: Pass env variables to junit test from jenkins

2012-11-23 Thread Serega Sheypak
I've tried different options: 1. jenkins->my project-> configuration ->Pre Steps->execute shell: *export myvar=val1* *export **myvar=val2* *e.t.c.* * * *And I got failed build:* Warning : There are multiple branch changesets here [mr-url-rating] $ /bin/sh -xe /tmp/hudson7013605956859189867.sh + ex

Re: Builds of new configuration in a matrix build are lost after some time.

2012-11-23 Thread Harpreet singh Wadhwa
Are you using labels to run these jobs on, or dynamic slaves. As I have seen similar issue with pool of slaves on which my job runs, next time when the job runs on different slave it looses the part that is slave specific. If not then can you please be more specific about your job configuration. I

Re: Pass env variables to junit test from jenkins

2012-11-23 Thread Harpreet singh Wadhwa
Are you not using Maven Plugin (Maven type Job)? As that has a textbox for arguments. If you are using the maven job and still getting issue, then would need more info on how are you trying to pass these argument, as it should be simple enough, even if you run it from Bash shell / as Bach command

Re: hg pull has no effect

2012-11-23 Thread Harpreet singh Wadhwa
I suspect this is time difference issue. Check the time of your Mercurial system and Jenkins system, if I am right then your Jenkins system would have some old date :-) If that turns out to be true then you have two solutions: * Either sync the time of both the machines. * Or add @HEAD (at the end

Re: Should my Jenkins user be a normal one with GUI?

2012-11-23 Thread Brad Knowles
On Nov 21, 2012, at 2:08 AM, frankgarcia wrote: > But that is not working for Mountain Lion. I am no longer looking for a > solution because now I believe this is not the real problem. I am planning to > add automated GUI tests for OSX and iOS, therefore I believe I will be having > more than

Groups with dots in name

2012-11-23 Thread Yury Vidineev
Hello I have a problem in jenkins: if user is in group with dot in name (for example, test.group) than this group permissions is not honored. Can please somebody check? If you can see the same behavior - I will add a bug. How to test (I tested with pam_auth and LDAP Plugin): 1. Create user (with

Re: Grails: Plugin Perform Maven Release

2012-11-23 Thread Larry Shatzer, Jr.
I'm not sure how complete the Maven integration is with Grails and what is required or how it works. I'm more waiting for Grails 3.0 for Gradle support. On Thu, Nov 22, 2012 at 1:32 AM, rportix wrote: > Thanks Larry, > > We are using the Grails Plugin. We're not using Maven because we think tha

RE: email-ext and Send To Committers

2012-11-23 Thread Alex Earl
It depends on how the git plugin is resolving the email address. If it's not resolving correctly, then email-ext will add the default domain. Sent from my Windows Phone -- From: Dan Stine Sent: 11/23/2012 1:40 PM To: jenkinsci-users@googlegroups.com Subject: email-ext a

email-ext and Send To Committers

2012-11-23 Thread Dan Stine
I'm seeing behavior that I don't understand. I'm using email-ext 2.24.1. I have Send To Commiters enabled. I also have Manage Jenkins | Configure System | E-mail Notification | Default user e-mail suffix set to '@domain1.com'. Suppose a change is committed by the Git Author = 'foobar '.

Pass env variables to junit test from jenkins

2012-11-23 Thread Serega Sheypak
Hi, I have pretty silly question. Please help me. I do have a test which gets parameters from env variables: public Conf(){ this.hostname = System.getProperty(WEBAPP_HOST); this.port = System.getProperty(WEBAPP_PORT); this.contextPath = System.getProperty(WEBAPP_CONTEXTPA

hg pull has no effect

2012-11-23 Thread Felipe Coelho
I've installed Jenkins recently and have created a free-style project which is linked to a Mercurial repository. I've installed the Mercurial plugin and set the sources pointing to the correct URL. The user Jenkins is running under can access the repository without issues, and in fact a build ri

Re: Need help to perform a Maven release with Jenkins and Gitorious

2012-11-23 Thread Urivan Flores
Luis, Have you manually verified access from Jenkins server to you git server on ssh as well as added the user owning the jenkins process ssh pub key into your key management profile in gitorious? This sound more like a setup issue. Regards, -Urivan Flores On Nov 21, 2012 11:20 AM, "lacribeir..

Re: Grails: Plugin Perform Maven Release

2012-11-23 Thread rportix
Thanks Larry, We are using the Grails Plugin. We're not using Maven because we think that we have to support two files: the pom.xml and the Grail properties file, do you know if it's neccesary to do it so, or it's possible use Maven with one file. Thanks in advance Larry Shatzer, Jr. wrote >

Re: FYI: Jenkins Security Advisory 2012-11-20

2012-11-23 Thread Christopher Orr
Hi there, On 21/11/12 13:33, Lars Nordin wrote: Request to Cloudbees: please send a notification of this out on the Jenkins user list too There's already a mailing list for this: https://groups.google.com/group/jenkinsci-advisories Regards, Chris

Re: How to use the environment variables set by a parameterized build?

2012-11-23 Thread Martin Lichtin
I'm talking about a build job that is parameterized. The parameter is of type "run parameter". Jenkins creates variables with names that cannot be used in a pre-step shell script. Quite annoying. On Saturday, November 17, 2012 11:56:40 PM UTC+1, r2_ wrote: > > Hey, > > Checkout the environmental

RE: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread David Aldrich
Hi Mark and Clem Thanks very much for your replies. They were both very helpful. Best regards David

Re: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread Mark Waite
Yes, that technique will work, and switching to Python then opens you to the opportunity to write your tests in C or in Python using the Python ctypes library, and would allow you to use either "py.test" or "nose" to automatically discover, execute, and parallelize your tests. Using that techni

RE: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread David Aldrich
Thanks Clem, Best regards David

Re: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread clem
Just to make sure that there is no misunderstanding there are no # at my python line :) Greetings

Re: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread clem
Hi, yes you are correct. Im running my python scripts like this : #python "location/file.py" parameter paramerter# in a "Execute Window Batch command" You can catch error messages in your python script with : sys.exit('Your Error Code'); For example : if re.match(---) do this else: sys.e

Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread David Aldrich
Hi We use Jenkins to run regression tests on our C++ console application. Each test consists of a bash script that typically runs the application with defined test parameters and then compares the output files with reference files using 'diff'. I am now thinking of moving from bash scripts to

Re: 404 on using --prefix

2012-11-23 Thread clem
Hi, just tried to change the Port in my Jenkins.xml file. Old line: -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 Just changed the httpPort to 8282 , after a Service restart, Jenkins started correctly at Port 8282. So maybe

Re: How does Jenkins know tests history

2012-11-23 Thread clem
Hi, sry for the misunderstanding. I was looking at this, not sure if this would help you. CaseResults Jenkins-ci.org CaseResults Code

Re: How does Jenkins know tests history

2012-11-23 Thread Yaron Naveh
Hi Check this image. Jenkins says this test failure is a regression (e.g. fails this build, passed previous build). How does Jenkins know to match the result from both builds - after all Jenkins know about the test results only the xunit xml. So I guess Jenkins compare test names from the Xml? In

Re: Build flow plugin: fails build if there are unstable builds

2012-11-23 Thread nicolas de loof
the error is ugly, but the behavior is as expected. A non successful step in the flow will interrupt the execution. The DSL could probably be extended to ignore some build results, something like : build( "B" ).ignore( UNSTABLE ) contributors are welcome :) 2012/11/22 Egle > Hi, > > I am tryin

Re: Build flow plugin: fails build if there are unstable builds

2012-11-23 Thread clem
Hi, have you tried to select the "Build after other projects are build" option ? In this case, if B is failing, C wouldnt be executed. Clem

Re: How does Jenkins know tests history

2012-11-23 Thread clem
Hi, you mean the Jenkins Links / Permalinks correct ? http://javadoc.jenkins-ci.org/hudson/model/PermalinkProjectAction.Permalink.html I dont think, that Jenkins does a string Matching. Jenkins has its own Methods to get these information. For example you can use: item = hudson.model.Hudson.ins

Builds of new configuration in a matrix build are lost after some time.

2012-11-23 Thread B.Latinville
Hello, I'm using Jenkins 1.487 with matrix jobs. Debian master, linux & windows slaves. I've just made some changes in matrix jobs. I have added new configuration to a user defined axis. The matrix job run properly and I could see that new configuration was build properly : - The parent jobs c