Re: how to trigger one job if two other succeeds?

2013-02-22 Thread Kenneth Nielsen
Well the second option, could be to tell the second job to trigger it...
but if I only trigger on successful builds, and blocks the job when 
upstream is building, I will probably get what I want...
we'll see
thanks

Den fredag den 22. februar 2013 10.47.56 UTC+1 skrev Peter Miklosko:

 I believe that is the case. Otherwise there is no point to mention second 
 build if we do not care if it builds or fails.



 On 22 February 2013 09:24, Kenneth Nielsen kenneth@gmail.comjavascript:
  wrote:

 But will that only trigger if both are succesfull?

 Den fredag den 22. februar 2013 09.16.57 UTC+1 skrev Peter Miklosko:

 Build Trigger for Build after other projects are built just add name of 
 both project separated by comma and you done.

 Peter

 On 22 February 2013 06:50, Kenneth Nielsen kenneth@gmail.comwrote:

 Hi all,

 I have a myriads of small jobs in Jenkins, to get fast feedback for my 
 projects.
 And I have two big ones, one that build a server, and one that does the 
 client.

 I want my installer build to be triggered if both are succeeding - how 
 do I do that?

 some job triggering logic like Job1  Job2 would be nice.

 Kenneth

 -- 
 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_outhttps://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 javascript:.
 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: BUILD_LOG_REGEX and Email

2013-02-22 Thread nes_welsh
Hi All,

Does anyone know if jenkins is able to do this?  I have tried a number of
things but i cant seem to return a block of text.



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/BUILD-LOG-REGEX-and-Email-tp4656346p4656723.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Jenkins reporting FAILURE at 'starting' artifact

2013-02-22 Thread robshmoe
Using Clearcase and Maven3.0.3 with  the -T functionality and under Jenkins
1.438 with Tomcat, I'm running into an issue when a build fails at
dependent.  This failure gets marked (sometimes) for this module/artifact
and at the parent module.   This parent module is usually the first
module built or the top-level parent pom. 

Below are the two that I've noticed,

parent pom
artifact1
artifact2
artifact3 - that depends on artifact1

If a build is executed on the parent pom and artifact3 fails, then the
parent pom is marked as FAILURE.  If an incremental build is executed on
artifact1 and artifact3 fails, then artifact1 is marked as FAILURE - even if
the artifact actually compiles.  Both of these will cause other poms to be
executed when they were successful.   I understand that the parent pom file
would probably be a wise choice to rebuild, but I don't understand why
artifact1 would be rebuilt if artifact3 fails.

This causes issues when an incremental build is executed after this build
failure - and can be problematic if the build is very large.  I'm not sure
if this is the intended functionality.  I suppose if one wanted the artifact
that's the culprit, then this would be appropriate, but I think it would be
better off to have another XML element for the build.xml file to specify
this, and not the results element.

Does anyone if this is the intended functionality? Is there something that I
may be doing wrong?  Currently, the only idea that I have to get around this
is to make a script to parse the logs and refer the name from the log/status
and then hijack the incremental build with my own generated project list.



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Jenkins-reporting-FAILURE-at-starting-artifact-tp4656614.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Jobs starting on slaves with no disk space

2013-02-22 Thread Pawel
Hi,

I have a problem with jobs being started on a slaves that are low on disk
space. I know there is a setting to turn the slaves offline automatically
when disk space falls behind a certain threshold, but it isn't reliable
enough. I think the problem may be with how often the check is performed (as
it can take up to an hour to turn the slave back online automatically after
freeing up enough disk space). The problem in my situation is when I have
big load on my slaves (many jobs and long queue). I have a job running on a
slave X which makes it get low on disk space. After the job finishes the
slaves doesn't get turned off automatically though - new jobs get assigned
to this node and are started, but fail with no space left on device error
message just a while later. Jenkins assigns all fitting jobs from the queue
this way, resulting in multiple failures, before node gets turned offline.
Is there any way to prevent this behavior?



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Jobs-starting-on-slaves-with-no-disk-space-tp4656054.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Tag this build not working (subversion)

2013-02-22 Thread boyron
my jenkins version 1.465 and still has this issue. is this fixed in the
upgraded versions? 
no log is shown in stderr/stdout. please help.



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Tag-this-build-not-working-subversion-tp384218p4656323.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




RE: BUILD_LOG_REGEX and Email

2013-02-22 Thread Alex Earl
I'd recommend getting your regex working outside of Jenkins using one
of the many online tools. Then once you have it working there try again

Sent from my Windows Phone
From: nes_welsh
Sent: 2/22/2013 7:19
To: jenkinsci-users@googlegroups.com
Subject: BUILD_LOG_REGEX and Email
Hi All,

I am trying to parse the build log to extract some information which is
output in it.  I have the following situation:

build log stuff
{
table stuff
table stuff
table stuff
}

I want to get the information in the {}.  I am using the following regex

${BUILD_LOG_REGEX, regex=/\{(.*?)\}/m}

but its returning:
[[ Exception while replacing BUILD_LOG_REGEX. Please report this as a bug.
]]
{{ java.util.regex.PatternSyntaxException: Illegal repetition near index 0
/{(.*?)}/m
^ }}

Any Ideas?

Cheers,
Neil



--
View this message in context:
http://jenkins.361315.n4.nabble.com/BUILD-LOG-REGEX-and-Email-tp4656346.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google
Groups Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send
an email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/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: BUILD_LOG_REGEX and Email

2013-02-22 Thread Michael Clarke
Do you not need double backslashes before the curly braces?



On 22 Feb 2013, at 14:19, nes_welsh welsh...@visa.com wrote:

 Hi All,

 I am trying to parse the build log to extract some information which is
 output in it.  I have the following situation:

 build log stuff
 {
 table stuff
 table stuff
 table stuff
 }

 I want to get the information in the {}.  I am using the following regex

 ${BUILD_LOG_REGEX, regex=/\{(.*?)\}/m}

 but its returning:
 [[ Exception while replacing BUILD_LOG_REGEX. Please report this as a bug.
 ]]
 {{ java.util.regex.PatternSyntaxException: Illegal repetition near index 0
 /{(.*?)}/m
 ^ }}

 Any Ideas?

 Cheers,
 Neil



 --
 View this message in context: 
 http://jenkins.361315.n4.nabble.com/BUILD-LOG-REGEX-and-Email-tp4656346.html
 Sent from the Jenkins users mailing list archive at Nabble.com.

 --
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/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: Anybody have any luck using Jenkins Selenium Grid plugin with WebDriver to execute Chrome?

2013-02-22 Thread bhill
OK, Thanks for the post and the link.
BH

On Thursday, February 21, 2013 3:36:33 PM UTC-7, LesMikesell wrote:

 On Thu, Feb 21, 2013 at 2:38 PM, bhill brady...@returnpath.netjavascript: 
 wrote: 
  
ChromeTest.tearDown:35 NullPointer 
  
  
  Specifically, I'm confused by the error.  I've read the documents that 
 the 
  error mentions and I thought I was specifying  the system property of 
  webdriver.chrome.driver.  Has anyone ran into this? Can anyone offer any 
  help for my understanding of why I can't get chrome to work using the 
  RemoteWebDriver and the Selenium Grid plugin? 
  

 Bug in the plugin, I think.  I haven't tried the unreleased update yet. 
 https://github.com/jenkinsci/selenium-plugin/issues/19 

 -- 
Les Mikesell 
  lesmi...@gmail.com javascript: 


-- 
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: How to customize the workspace root directory in the slave node? e.g. d:\wp

2013-02-22 Thread Les Mikesell
On Thu, Feb 21, 2013 at 8:20 PM, meng.zhaoxi...@zte.com.cn wrote:

 The desired effect is

 d:\jenkinsslave\slave.jar 
 d:\wp\job1 ...

 Instead of

 d:\jenkinsslave\slave.jar 
\workspace\job1 ...


You can have d:\wp\workspace\job1 with the slave jar residing in
d:\wp.   I'd guess that any other layout would require code changes.
But in general I think it is best to not rely on anything permanent
regarding any individual slave or it's file storage.   That is, move
anything you want to keep permanently to it's desired location either
with commands in your build script, or letting the master archive it,
or with one of the publishing plugins.  Among other things, that can
let you use common network storage and easily scale up the slave pool
or handle individual slave failures.

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to customize the workspace root directory in the slave node? e.g. d:\wp

2013-02-22 Thread mark_kendzior
If I am understanding your question correctly then you can achieve the 
desired results by
1. Change the 'Remote FS root' in the Node configuration to: d:\jenkinsslave
2. In the Build job go to the Advanced Project Options section and click 
the Advanced button.  Set the Use custom workspace directory to: D:\wp

Thanks
Mark
On Thursday, February 21, 2013 6:36:03 PM UTC-7, meng.zh...@zte.com.cn 
wrote:

 Hi all, 

 How to customize the workspace root directory in the slave node? 

  e.g. d:\wp 

 thanks 


 
 ZTE Information Security Notice: The information contained in this mail (and 
 any attachment transmitted herewith) is privileged and confidential and is 
 intended for the exclusive use of the addressee(s).  If you are not an 
 intended recipient, any disclosure, reproduction, distribution or other 
 dissemination or use of the information contained is strictly prohibited.  If 
 you have received this mail in error, please delete it and notify us 
 immediately.





-- 
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: EXTERNAL: Re: Base Clearcase issues

2013-02-22 Thread Ng, Jeff
Check the host that the job is executing on to ensure it is in the same 
ClearCase region that the view is tagged in.  Also, is GURt2645 the correct 
view tag name for your dynamic build view?

-Jeff Ng

-Original Message-
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Deepika Garg
Sent: Sunday, February 17, 2013 11:44 PM
To: jenkinsci-users@googlegroups.com
Subject: EXTERNAL: Re: Base Clearcase issues

Hi
I'm new to jenkins..I hav to use Base clear case plugin and I'm working with 
dynamic view.
I'm getting the following error its finding the view in my system local space.
Pls help me to configure this plugin...



Started by user anonymous
Building in workspace D:\JENKINS\workspace\Test1
[Test1] $ C:\Program Files\Rational\ClearCase\bin\cleartool lsview
GURt2645
cleartool: Error: No matching entries found for view tag GURt2645.
FATAL: Base ClearCase failed. exit code=1
[INFO] computeChangeLogBeforeCheckout = false
[INFO] computeChangeLogAfterCheckout  = true
[Test1] $ C:\Program Files\Rational\ClearCase\bin\cleartool startview
GURt2645
cleartool: Error: View tag not found: GURt2645.
FATAL: Base ClearCase failed. exit code=1
java.io.IOException: cleartool did not return the expected exit code.
Command line=startview GURt2645, actual exit code=1
at
hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:121)
at 
hudson.plugins.clearcase.ClearToolExec.startView(ClearToolExec.java:903)
at
hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.startView(BaseDynamicCheckoutAction.java:115)
at
hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.checkout(BaseDynamicCheckoutAction.java:74)
at
hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:667)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1218)
at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:587)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:476)
at hudson.model.Run.run(Run.java:1438)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)
[ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE
Notifying upstream projects of job completion
Finished: FAILURE


Thanks
Deepika garg



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Base-Clearcase-issues-tp3313107p4656031.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/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: JaCoCo Plugin incorrectly uses POM-configured excludes

2013-02-22 Thread Markus KARG


 As I was informed by the JaCoCo plugin team, this issue is fixed since 
 today -- just update to the latest JaCoCo plugin. :-)


-- 
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: ActiveDirectory plugin is unable to detect group membership of one particular user

2013-02-22 Thread Sami Tikka
It might be useful to glance over the plugin source code and check what kind of 
things the plugin logs with debug level. Then go to Manage Jenkins, System Logs 
and set up a new debug level logger for the active directory plugin. Maybe you 
will learn more this way.

And if the plugin does not log enough, you could fork the plugin and add more 
logging yourself.

-- Sami

Markus KARG mar...@headcrashing.eu kirjoitti 20.2.2013 kello 12.26:

 We're using the current ActiveDirectory plugin to authenticate and 
 role-based-authorize our AD users in Jenkins 1.502.
  
 It is working well -- but not for one particular user. If she is logging in, 
 the following message is found in the log and no group memebership (hence no 
 role) is found:
  
 WARNUNG: Failed to retrieve tokenGroups for CN=XXX 
 YYY,OU=My-Users,DC=MyDomain,DC=local
 In fact, with that account there is no special thing, she is in the same 
 group as we all are.
  
 How to get more information what exactly made retrieve tokenGroups 
 impossible for Jenkins?
  
 Thanks!
 -Markus
  
 -- 
 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.