Resource Selection Error in Build Flow

2014-02-17 Thread Grueneberger, Franz Josef
Hi,

I'm using the Build Flow Plugin and defined a simple job which just prints out 
the parameters via out.println params.

However, once I use the Resource Selection defining a resource selection 
criteria (one which is working well in normal Jenkins Jobs), I get the 
following error:

No phone chosen even though we have selection criteria, aborting build.

Why is that not working?

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.


Re: MD5/SHA1 of new release JARs?

2014-02-17 Thread Maciej Jaros

Yaniv Kaul (2014-02-16 08:31):
Is it possible to publish hash of the new JARs, so at least I can 
somehow try and verify their integrity? Since it's not packaged in any 
signed format (RPM, MSI, etc.), it's the least we can do to verify the 
package authenticity.


Execute hash creation in shell job step and just echo it to log. That's 
probably the simpliest solution. You could use plugins to push this 
information to e.g. build description.


Nux.

--
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 Plugin: Clean after checkout exclusions?

2014-02-17 Thread Max Spring

James,

job-private local Maven repositories do work for me.
I don't mind the overhead in disk space.

By not using option Clean after checkout and trimming the workspace by script 
instead,
I am able to reuse a populated private local repository from one job run to the 
next.

I also like to see Maven to support layered repositories.

-Max


On 02/14/2014 08:03 AM, James Nord (jnord) wrote:

You can't clean in the maven pom - as the maven pom is what will use what you 
are trying to clean :-o

However - even if Max could selectively clean the repo I don't think it would 
scale.

With Gerrit - you can end up with many changes submitted at the same time - and 
you don't want to run them serially (feedback loop is too long).

As such you need multiple workspaces - and you need multiple executors as well.

As no one writes well behaved unit tests the best practice is to use 1 executor 
per slave.  At this point the likely hood of getting a slave that has the 
workspace that Jenkins wants is possibly slim.

So even if you could - you may end up getting wildly different build times in 
various cases.

There is likely more to be gained (long term) from using shallow clones and 
reference repositories.

If you have a good maven chache close to you build server - the time to 
download isn't the dominating factor anymore (and downloads can be performed in 
parallel, and modules can be built in parallel with Maven3 - so the download 
time end up not blocking/contributing to the build time by any significant 
amount)

What possibly would help is layered local maven repository support (something 
that Jason has mooted several times on the Maven lists) - but nothing is 
available yet.  (but that then assumes that all projects use the same maven 
settings (for all mirrors and have a mirror of * fallback).

/James

*From:*jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] *On Behalf Of *Mark Waite
*Sent:* 13 February 2014 23:53
*To:* jenkinsci-users@googlegroups.com
*Subject:* Re: Git Plugin: Clean after checkout exclusions?

If the Clean after checkout option you are referencing is the option from the 
git plugin, then I would rather suggest that you should adapt and maintain some form of 
build specific clean within your maven pom.xml, rather than complicating the git plugin 
with inclusions and exclusions for the operation.

The Clean after checkout option in the git plugin is conceptually mapped to git 
clean -xfd.  Your exclusion / inclusion proposal has no matching concept in the git command 
line nor in JGit.  I'd rather not see the git plugin stray from its conceptual mapping to git 
commands.  It is complicated enough already.

Mark Waite

On Thu, Feb 13, 2014 at 4:34 PM, Max Spring m2spr...@springdot.org 
mailto:m2spr...@springdot.org wrote:

I'm using the Clean after checkout option a lot with my Gerrit verification 
Maven jobs.
I also have these jobs use a local repository, sitting in the job's workspace.

Because of the Clean after checkout option set, the job's local repository 
gets wiped and
the subsequent build has to time-consumingly repopulate it with lots of 
artifacts.

I'd like to speed this up.

Ideally, I'd like to exclude certain directories/files from being removed when using the 
Clean after checkout option is set.
Sort of: exclude=$WORKSPACE/.repository

In addition to an exclude option for Clean after checkout,
I would like to have an include option, where I would then specify
certain hierarchies within the private local repository to be cleaned,
like include=$WORKSPACE/.repository/org/myorg/.

-Max

--
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 
mailto:jenkinsci-users%2bunsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

Thanks!

Mark Waite

--
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 
mailto: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.


Role Strategy Plugin: Groups?

2014-02-17 Thread Kevin Gary
I have looked all over the place for an answer to a seemingly simple 
question. I am teaching a class where we are using a Jenkins server to 
build each student project. The projects are worked on in groups of 6 
students. So I want to create a group per project and give those students 
access to configure and execute their builds. In the documentation it shows 
a nice easy way to create groups, and the I can use the role strategy 
plugin to define permissions to projects associated with the groups.

http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/rbac-sect-setup.html#rbac-img-manage-groups-new-name

But it doesn't say how I get that Group left-nav enabled in the 1st 
place??? I have the role strategy plugin installed and working, but I do 
not see how I enable these groups.

KG

-- 
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: Role Strategy Plugin: Groups?

2014-02-17 Thread Stephen Connolly
You are looking at the CloudBees RBAC plugin docs and not the role strategy
plugin docs.

The CloudBees RBAC plugin is a Jenkins Enterprise plugin and requires a for
pay license.

BTW I put a lot of effort into giving it that nice UI for editing groups ;-)

On Monday, 17 February 2014, Kevin Gary kevinag...@gmail.com wrote:

 I have looked all over the place for an answer to a seemingly simple
 question. I am teaching a class where we are using a Jenkins server to
 build each student project. The projects are worked on in groups of 6
 students. So I want to create a group per project and give those students
 access to configure and execute their builds. In the documentation it shows
 a nice easy way to create groups, and the I can use the role strategy
 plugin to define permissions to projects associated with the groups.


 http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/rbac-sect-setup.html#rbac-img-manage-groups-new-name

 But it doesn't say how I get that Group left-nav enabled in the 1st
 place??? I have the role strategy plugin installed and working, but I do
 not see how I enable these groups.

 KG

  --
 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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
Sent from my phone

-- 
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: Conditional build steps for maven projects

2014-02-17 Thread Eric Pyle
You can run a Maven build in a freestyle job. Add a build step of type 
Invoke top-level Maven targets. Then you can use conditional build 
steps and all other features of freestyle builds.


Regards,
Eric

On 2/17/2014 2:13 AM, varun srivastava wrote:

Hi,

How can I run conditional steps with Maven projects ? For free style 
projects I am able to set up conditional steps but this seems not 
available with Maven projects.


Additionally I also want to publish findbugs/pmd reports conditionally 
in maven projects. Again this looks possible using flexible publish 
plugin only for free style projects.


Any help would be highly appreciated.

-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.


--
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: Conditional build steps for maven projects

2014-02-17 Thread varun srivastava
Thanks for the reply.

I have tried this. But the disadvantage is that I loose features related to
maven projects like Displaying modules built, modules history etc. (For
multi-module maven projects)


On Tue, Feb 18, 2014 at 1:07 AM, Eric Pyle eric.p...@cd-adapco.com wrote:

  You can run a Maven build in a freestyle job. Add a build step of type
 Invoke top-level Maven targets. Then you can use conditional build steps
 and all other features of freestyle builds.

 Regards,
 Eric


 On 2/17/2014 2:13 AM, varun srivastava wrote:

 Hi,

 How can I run conditional steps with Maven projects ? For free style
 projects I am able to set up conditional steps but this seems not available
 with Maven projects.

 Additionally I also want to publish findbugs/pmd reports conditionally in
 maven projects. Again this looks possible using flexible publish plugin
 only for free style projects.

 Any help would be highly appreciated.

 -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.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/7evg1xPffd8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Thanks,

Varun Kr Srivastava
mobile- +91976033

-- 
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: Role Strategy Plugin: Groups?

2014-02-17 Thread Kevin Gary
Ah OK thanks. Yes it is nice that is why I wanted it ;)

Guess I'll have to go the long way. You folks ought to consider academic 
pricing :)

KG


On Monday, February 17, 2014 12:26:29 PM UTC-7, Stephen Connolly wrote:

 You are looking at the CloudBees RBAC plugin docs and not the role 
 strategy plugin docs.

 The CloudBees RBAC plugin is a Jenkins Enterprise plugin and requires a 
 for pay license.

 BTW I put a lot of effort into giving it that nice UI for editing groups 
 ;-)

 On Monday, 17 February 2014, Kevin Gary kevin...@gmail.com javascript: 
 wrote:

 I have looked all over the place for an answer to a seemingly simple 
 question. I am teaching a class where we are using a Jenkins server to 
 build each student project. The projects are worked on in groups of 6 
 students. So I want to create a group per project and give those students 
 access to configure and execute their builds. In the documentation it shows 
 a nice easy way to create groups, and the I can use the role strategy 
 plugin to define permissions to projects associated with the groups.


 http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/rbac-sect-setup.html#rbac-img-manage-groups-new-name

 But it doesn't say how I get that Group left-nav enabled in the 1st 
 place??? I have the role strategy plugin installed and working, but I do 
 not see how I enable these groups.

 KG

  -- 
 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.



 -- 
 Sent from my phone


-- 
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: Role Strategy Plugin: Groups?

2014-02-17 Thread Stephen Connolly
On Monday, 17 February 2014, Kevin Gary kevinag...@gmail.com wrote:

 Ah OK thanks. Yes it is nice that is why I wanted it ;)

 Guess I'll have to go the long way. You folks ought to consider academic
 pricing :)


 KG


 On Monday, February 17, 2014 12:26:29 PM UTC-7, Stephen Connolly wrote:

 You are looking at the CloudBees RBAC plugin docs and not the role
 strategy plugin docs.

 The CloudBees RBAC plugin is a Jenkins Enterprise plugin and requires a
 for pay license.

 BTW I put a lot of effort into giving it that nice UI for editing groups
 ;-)

 On Monday, 17 February 2014, Kevin Gary kevin...@gmail.com wrote:

 I have looked all over the place for an answer to a seemingly simple
 question. I am teaching a class where we are using a Jenkins server to
 build each student project. The projects are worked on in groups of 6
 students. So I want to create a group per project and give those students
 access to configure and execute their builds. In the documentation it shows
 a nice easy way to create groups, and the I can use the role strategy
 plugin to define permissions to projects associated with the groups.

 http://jenkins-enterprise.cloudbees.com/docs/user-guide-
 bundle/rbac-sect-setup.html#rbac-img-manage-groups-new-name

 But it doesn't say how I get that Group left-nav enabled in the 1st
 place??? I have the role strategy plugin installed and working, but I do
 not see how I enable these groups.

 KG

  --
 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.



 --
 Sent from my phone


I have logged the request


  --
 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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
Sent from my phone

-- 
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: Conditional build steps for maven projects

2014-02-17 Thread Stephen Connolly
Ah but the advantage is you have a reproducible build... Unlike a build
with the evil job type

On Monday, 17 February 2014, varun srivastava varun.itbh...@gmail.com
wrote:

 Thanks for the reply.

 I have tried this. But the disadvantage is that I loose features related
 to maven projects like Displaying modules built, modules history etc. (For
 multi-module maven projects)


 On Tue, Feb 18, 2014 at 1:07 AM, Eric Pyle 
 eric.p...@cd-adapco.comjavascript:_e(%7B%7D,'cvml','eric.p...@cd-adapco.com');
  wrote:

  You can run a Maven build in a freestyle job. Add a build step of type
 Invoke top-level Maven targets. Then you can use conditional build steps
 and all other features of freestyle builds.

 Regards,
 Eric


 On 2/17/2014 2:13 AM, varun srivastava wrote:

 Hi,

 How can I run conditional steps with Maven projects ? For free style
 projects I am able to set up conditional steps but this seems not available
 with Maven projects.

 Additionally I also want to publish findbugs/pmd reports conditionally in
 maven projects. Again this looks possible using flexible publish plugin
 only for free style projects.

 Any help would be highly appreciated.

 -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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/7evg1xPffd8/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Thanks,

 Varun Kr Srivastava
 mobile- +91976033

 --
 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.comjavascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
Sent from my phone

-- 
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.


Data obtained on 1st line of Nodes Matrix - Jenkins bug ?

2014-02-17 Thread mpc8250
Hi All

We have a few slaved configured with Jenkins.
When we click Nodes link, it displayed all the architecture, clock 
difference, free disk space etc column information.
We like the sort columns feature but it's messed up (cannot sort) because 
it's 1st entry is also the line
Data obtained entry followed by all the times entries in those columns ( 
architecture, clock difference, free disk space etc column)

How do we get rid of this annoying 1st line entry ?
There's no configure button on the right of this entry for us to delete or 
remove.

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.


Can a slave work as Hudson and Jenkins slave simultaneously ?

2014-02-17 Thread mpc8250
Hi 

Can we have a slave configured such that it serves both Hudson and Jenkins ?
We would have different directories for each CI server on the slave ?
Is there any port number conflict we should be worried about when using 
this configuration setup ?

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.


Re: Can a slave work as Hudson and Jenkins slave simultaneously ?

2014-02-17 Thread Slide
Yes, this should work just fine. There is a page on the wiki that talks
about using a system as a slave for two Jenkins' instances, using it for
the way you describe would probably be similar. You would definitely have
to have different directories for each CI server on the slave. You can see
[1] for info on using a computer with multiple masters.

slide

1 -
https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-RunningMultipleSlavesontheSameMachine



On Mon, Feb 17, 2014 at 1:35 PM, mpc8250 mpc8...@gmail.com wrote:

 Hi

 Can we have a slave configured such that it serves both Hudson and Jenkins
 ?
 We would have different directories for each CI server on the slave ?
 Is there any port number conflict we should be worried about when using
 this configuration setup ?

 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.




-- 
Website: http://earl-of-code.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.


Best Java version for Jenkins on Mac hardware?

2014-02-17 Thread Dave Augustus
Hello Fellow Listers!

I am creating a new Jenkins setup on Mini-macs for App building. And I am faced 
with a choice regarding Java and need your opinion:

Should I install the latest from Java from Oracle OR use the Java that Apple 
provides for Mavericks?

(These servers are not internet-facing.)

Thanks,
Dave Augustus

-- 
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 a slave work as Hudson and Jenkins slave simultaneously ?

2014-02-17 Thread mpc8250
slide, appreciate your response.

On Monday, February 17, 2014 1:01:32 PM UTC-8, slide wrote:

 Yes, this should work just fine. There is a page on the wiki that talks 
 about using a system as a slave for two Jenkins' instances, using it for 
 the way you describe would probably be similar. You would definitely have 
 to have different directories for each CI server on the slave. You can see 
 [1] for info on using a computer with multiple masters.

 slide

 1 - 
 https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-RunningMultipleSlavesontheSameMachine



 On Mon, Feb 17, 2014 at 1:35 PM, mpc8250 mpc...@gmail.com 
 javascript:wrote:

 Hi 

 Can we have a slave configured such that it serves both Hudson and 
 Jenkins ?
 We would have different directories for each CI server on the slave ?
 Is there any port number conflict we should be worried about when using 
 this configuration setup ?

 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-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Website: http://earl-of-code.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.


Performance graphs causing Could not initialize class org.jfree.chart.JFreeChart exceptions

2014-02-17 Thread Ángel Galindo Muñoz
  Hi,

  When Jenkins tries to generate the *Performance Trends* graphs there 
launches several exceptions always with root cause: 
*java.lang.NoClassDefFoundError: 
Could not initialize class org.jfree.chart.JFreeChart*

  This is what I did:

   - desployed Jenkins , tried with v1.532.2 (stable) and v1.539-SNAPSHOT
  - didn't configured security
  - just set paths to my JDK (oracle's jdk1.7.0_51), MAVEN (3.1.1) and 
  GIT (1.8.1.2)
  - enabled these plugins:
  - 
  
  Checkstyle v3.39
  - 
  
  Jenkins Cobertura v1.9.3
  - 
  
  FindBugs v4.51
  - 
  
  Warnings v4.39
  - 
  
  PMD v3.38
  - 
  
  *Performance v.1.10*
  - Jenkins Git client v1.6.2
  - Jenkins Git 2.0.1
   
  Then I created a project which successfully creates a JMeter report file 
from my Java webapp using the plugin *jmeter-maven-plugin v1.9.0*, but 
there doesn't appear the Performance Trend graphs on the project's page. 
Jenkins gathers the results, it can show me the values, but can't show me 
the graphs. There launches several Exceptions always with root cause: 
*java.lang.NoClassDefFoundError: 
Could not initialize class org.jfree.chart.JFreeChart* . Here you will 
find a complete StackTrace: http://pastebin.com/uhiNR7XD
  Can you help me, please?
  Thanks in advance!

/ Angel

-- 
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: collabNet Plugin - put a variable in the Release field

2014-02-17 Thread Darryl Bowler
Sorry but that's not going to work. The Release field is in reference to 
the TeamForge release area and is a user defined release name within 
TeamForge. I work for CollabNet so I would be interested to here how you 
expected it to work.


btw: I have switched this thread to jenkinsci-users which is more 
appropriate.


Regards

On 2/17/14, 9:22 AM, Amine Bennani wrote:


Hello,

I would like to put a variable ${TAG_NAME} in the “Release” field of 
the CollabNet File Release form.


I have tried to put ${TAG_NAME} in several other fields on the job in 
Jenkins (File Patterns to Upload, subversion URL) and it works for all 
these fields exception to the Release Field that give me the following 
error in the log:


CollabNet FileRelease: Critical Error: releaseId cannot be found for 
${TAG_NAME}.  Setting build status to UNSTABLE (or worse).
ERROR: Publisher hudson.plugins.collabnet.filerelease.CNFileRelease aborted due 
to exception
java.lang.NullPointerException  
http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException
 
athudson.plugins.collabnet.filerelease.CNFileRelease.createAction(CNFileRelease.java:195) 
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.collabnet.filerelease.CNFileRelease.createActionentity=method
 
athudson.plugins.collabnet.filerelease.CNFileRelease.perform(CNFileRelease.java:177)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.collabnet.filerelease.CNFileRelease.performentity=method
 athudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$3.performentity=method
 
athudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performentity=method
 
athudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752)
  
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildStepsentity=method
 
athudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1009)
  
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2entity=method
 athudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.postentity=method
 athudson.model.Run.execute(Run.java:1617)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method
 athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:508)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.runentity=method
 athudson.model.ResourceController.execute(ResourceController.java:88)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method
 athudson.model.Executor.run(Executor.java:237)  
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method

Does anyone evr tried to put a variable in this field?

Jenkins job seems to accept variables for some fields and not for 
others. Is it true?



Best regards,

Amine

--
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.

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: Best Java version for Jenkins on Mac hardware?

2014-02-17 Thread thargreaves
We're using the Apple provided Java and not having any issues.

Tim

On Monday, February 17, 2014 12:36:28 PM UTC-8, dave.augustus wrote:

 Hello Fellow Listers! 

 I am creating a new Jenkins setup on Mini-macs for App building. And I am 
 faced with a choice regarding Java and need your opinion: 

 Should I install the latest from Java from Oracle OR use the Java that 
 Apple provides for Mavericks? 

 (These servers are not internet-facing.) 

 Thanks, 
 Dave Augustus 


-- 
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: Performance graphs causing Could not initialize class org.jfree.chart.JFreeChart exceptions

2014-02-17 Thread Baptiste Mathus
Send like this is actually the same stack trace again and again, buy
possibly the root cause was mangled at some point.

A small guess: does the slave generating the graph you want have an X
Server/GUI? Can you try running the Jenkins instance(s) with  *-*
*Djava.awt.headless**=**true*?

Cheers
Le 17 févr. 2014 23:52, Ángel Galindo Muñoz zoqu...@gmail.com a écrit :

   Hi,

   When Jenkins tries to generate the *Performance Trends* graphs there
 launches several exceptions always with root cause: 
 *java.lang.NoClassDefFoundError:
 Could not initialize class org.jfree.chart.JFreeChart*

   This is what I did:

- desployed Jenkins , tried with v1.532.2 (stable) and v1.539-SNAPSHOT
   - didn't configured security
   - just set paths to my JDK (oracle's jdk1.7.0_51), MAVEN (3.1.1)
   and GIT (1.8.1.2)
   - enabled these plugins:
   -

   Checkstyle v3.39
   -

   Jenkins Cobertura v1.9.3
   -

   FindBugs v4.51
   -

   Warnings v4.39
   -

   PMD v3.38
   -

   *Performance v.1.10*
   - Jenkins Git client v1.6.2
   - Jenkins Git 2.0.1

   Then I created a project which successfully creates a JMeter report
 file from my Java webapp using the plugin *jmeter-maven-plugin v1.9.0*,
 but there doesn't appear the Performance Trend graphs on the project's
 page. Jenkins gathers the results, it can show me the values, but can't
 show me the graphs. There launches several Exceptions always with root
 cause: *java.lang.NoClassDefFoundError: Could not initialize class
 org.jfree.chart.JFreeChart* . Here you will find a complete StackTrace:
 http://pastebin.com/uhiNR7XD
   Can you help me, please?
   Thanks in advance!

 / Angel

 --
 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: Performance graphs causing Could not initialize class org.jfree.chart.JFreeChart exceptions

2014-02-17 Thread Ángel Galindo Muñoz
*You've got it!* Thanks a lot!

I just added this
CATALINA_OPTS=-Djava.awt.headless=true
to my */opt/tomcat/bin/catalina.sh* and now I can enjoy with my performance 
trends :)
Thanks a gain, cheers from Barcelona.

/ Angel


On Tuesday, February 18, 2014 7:22:03 AM UTC+1, Baptiste Mathus wrote:

 Send like this is actually the same stack trace again and again, buy 
 possibly the root cause was mangled at some point.

 A small guess: does the slave generating the graph you want have an X 
 Server/GUI? Can you try running the Jenkins instance(s) with  *-*
 *Djava.awt.headless**=**true*?

 Cheers
 Le 17 févr. 2014 23:52, Ángel Galindo Muñoz zoq...@gmail.comjavascript: 
 a écrit :

   Hi,

   When Jenkins tries to generate the *Performance Trends* graphs there 
 launches several exceptions always with root cause: 
 *java.lang.NoClassDefFoundError: 
 Could not initialize class org.jfree.chart.JFreeChart*

   This is what I did:

- desployed Jenkins , tried with v1.532.2 (stable) and v1.539-SNAPSHOT
   - didn't configured security
   - just set paths to my JDK (oracle's jdk1.7.0_51), MAVEN (3.1.1) 
   and GIT (1.8.1.2)
   - enabled these plugins:
   - 
   
   Checkstyle v3.39
   - 
   
   Jenkins Cobertura v1.9.3
   - 
   
   FindBugs v4.51
   - 
   
   Warnings v4.39
   - 
   
   PMD v3.38
   - 
   
   *Performance v.1.10*
   - Jenkins Git client v1.6.2 
   - Jenkins Git 2.0.1 

   Then I created a project which successfully creates a JMeter report 
 file from my Java webapp using the plugin *jmeter-maven-plugin v1.9.0*, 
 but there doesn't appear the Performance Trend graphs on the project's 
 page. Jenkins gathers the results, it can show me the values, but can't 
 show me the graphs. There launches several Exceptions always with root 
 cause: *java.lang.NoClassDefFoundError: Could not initialize class 
 org.jfree.chart.JFreeChart* . Here you will find a complete StackTrace: 
 http://pastebin.com/uhiNR7XD
   Can you help me, please?
   Thanks in advance!

 / Angel

 -- 
 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: Conditional build steps for maven projects

2014-02-17 Thread Maciej Jaros

varun srivastava (2014-02-17 08:13):

Hi,

How can I run conditional steps with Maven projects ? For free style 
projects I am able to set up conditional steps but this seems not 
available with Maven projects.


Conditional steps are available both after and before Maven is build is 
run (in Pre/Post steps). I'm not sure what is missing? I'm assuming you 
have Conditional BuildStep Plugin?


Note that you can also add Conditional steps (multiple) and inside 
that add e.g. call to a different job (with Parameterized Trigger Plugin).


Additionally I also want to publish findbugs/pmd reports conditionally 
in maven projects. Again this looks possible using flexible publish 
plugin only for free style projects.


You can run Findbugs and other tests within Sonar and you can have a 
step Invoke Standalone Sonar Analysis within Conditional steps 
(multiple). Haven't tried that myself (we have a separate job for full 
tests), but that seems possible.


Cheers,
Nux.

--
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.