Re: Cannot display dependency graph

2012-10-08 Thread Baptiste Mathus
No. Domi is speaking about the jenkins UI, in the admin page where you can
configure everything graphically.

Even if dot seems to be correctly present in the PATH, try to explicitly
configure dot binary path inside jenkins. This way you'll see if it only
seems to be related to finding the binary or something else.

Cheers
Le 8 oct. 2012 03:36, Hez hezj...@gmail.com a écrit :

 Hi Domi

 What do I need to configure in the Jenkin's global configuration?
 Do you mean the /etc/sysconfig/jenkins?


 On Saturday, October 6, 2012 1:46:20 PM UTC+8, domi wrote:

 Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI
 tool installed by graphviz)
 If not, configure it in the global config of your jenkins installation.
 /Domi


 On 06.10.2012, at 00:16, hezjing hez...@gmail.com wrote:

  Hi
 
  I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4
 on CentOS 5.8.
  I have also successfully installed Graphviz using the command like 'yum
 install graphviz-gd'.
 
  Unfortunately the graph is not showing when clicked on the 'Dependency
 Graph'.
 
  There is no error in /var/log/jenkins/jenkins.log.
 
 
  image.png
 
 
  Do you know what could be the problem?
 
 
  --
 
  Hez




How to handle project dependencies?

2012-10-08 Thread Kenneth
I'm trying to setup jenkins to monitor a solution with C++ and C# in 
multiple solutions, but in one repository.
(VS 2005 and .NET 2.0)
 
How should I configure jenkins to build and test it?
 
my suggested alternatives are:
a) one job for each solution? - rather large jobs
b) one job for each project? - many jobs. How do I handle the project 
interdependencies?
 
I've been looking at this for quite a while...
I prefer b, but have been stuck on msbuild v.2.n and cannot figure out how 
to handle references between projects..
(There must be someone outthere that know how to build 2 c# projects with 
jenkins, one that uses the other)
 
thanks.


Re: Cannot display dependency graph

2012-10-08 Thread Hez
Hi

Hmmm .. there is no luck, Jenkins is still not display the dependency 
graph after I added an environment variable PATH=/usr/bin:$PATH in Jenkins 
system configuration UI.
To verify that Jenkins can access the dot command, I tested with a job 
which execute a shell command 'dot -V' successfully.


On Monday, October 8, 2012 2:29:57 PM UTC+8, Baptiste Mathus wrote:

 No. Domi is speaking about the jenkins UI, in the admin page where you can 
 configure everything graphically.

 Even if dot seems to be correctly present in the PATH, try to explicitly 
 configure dot binary path inside jenkins. This way you'll see if it only 
 seems to be related to finding the binary or something else.

 Cheers
 Le 8 oct. 2012 03:36, Hez hez...@gmail.com javascript: a écrit :

 Hi Domi

 What do I need to configure in the Jenkin's global configuration?
 Do you mean the /etc/sysconfig/jenkins?


 On Saturday, October 6, 2012 1:46:20 PM UTC+8, domi wrote:

 Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI 
 tool installed by graphviz) 
 If not, configure it in the global config of your jenkins installation. 
 /Domi 


 On 06.10.2012, at 00:16, hezjing hez...@gmail.com wrote: 

  Hi 
  
  I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4 
 on CentOS 5.8. 
  I have also successfully installed Graphviz using the command like 
 'yum install graphviz-gd'. 
  
  Unfortunately the graph is not showing when clicked on the 'Dependency 
 Graph'. 
  
  There is no error in /var/log/jenkins/jenkins.log. 
  
  
  image.png 
  
  
  Do you know what could be the problem? 
  
  
  -- 
  
  Hez 



jenkins command line - Failed to authenticate with your SSH keys

2012-10-08 Thread sandy
I have setup Jenkins master on Linux. The service is owned by user 
'jenkins'. I added one slave node (Mac OS X) and assigned a job to it. The 
build on this slave node is run by user 'buildfarm'. I have established 
passwordless ssh between master and slave for user 'jenkins', which now can 
ssh to slave using 'buildfarm' user without giving password. When I execute 
build through UI, the build is properly done.

Now, I was trying to build using command line on the master. and I see the 
following error:

$ id
uid=1006(jenkins) gid=1006(jenkins) groups=1006(jenkins)

$ java -jar jenkins-cli.jar -s http://localhost:8080/ help
Failed to authenticate with your SSH keys.

$ java -jar jenkins-cli.jar -s http://localhost:8080/ -i 
/home/jenkins/.ssh/id_dsa help
Authentication failed. No private key accepted.






Re: jenkins command line - Failed to authenticate with your SSH keys

2012-10-08 Thread sandy
Is there any difference in the authentication for UI and Command line?

I'm using Jenkins version 1.483.

On Monday, October 8, 2012 3:16:43 PM UTC+5:30, sandy wrote:

 I have setup Jenkins master on Linux. The service is owned by user 
 'jenkins'. I added one slave node (Mac OS X) and assigned a job to it. The 
 build on this slave node is run by user 'buildfarm'. I have established 
 passwordless ssh between master and slave for user 'jenkins', which now can 
 ssh to slave using 'buildfarm' user without giving password. When I execute 
 build through UI, the build is properly done.

 Now, I was trying to build using command line on the master. and I see the 
 following error:

 $ id
 uid=1006(jenkins) gid=1006(jenkins) groups=1006(jenkins)

 $ java -jar jenkins-cli.jar -s http://localhost:8080/ help
 Failed to authenticate with your SSH keys.

 $ java -jar jenkins-cli.jar -s http://localhost:8080/ -i 
 /home/jenkins/.ssh/id_dsa help
 Authentication failed. No private key accepted.






Re: Error 404 on latest jenkins download

2012-10-08 Thread Julien HENRY
Hi,

I have the same issue for fedora rpm:
http://pkg.jenkins-ci.org/redhat/jenkins-1.485-1.1.noarch.rpm
(redirect to 
http://ftp-nyc.osuosl.org/pub/jenkins/redhat/jenkins-1.485-1.1.noarch.rpm)


Regards,

Julien



 De : Ravi Teja Lokineni raviteja.lokin...@gmail.com
À : jenkinsci-users@googlegroups.com 
Envoyé le : Lundi 8 octobre 2012 13h02
Objet : Error 404 on latest jenkins download
 

Hi all,

I'm getting a 404 on downloading jenkins using the url: 
http://mirrors.jenkins-ci.org/war/latest/jenkins.war which redirects to: 
http://ftp-nyc.osuosl.org/pub/jenkins/war/1.485/jenkins.war





Re: How to handle project dependencies?

2012-10-08 Thread Larry Shatzer, Jr.
I use one job per project, and use NuGet (http://nuget.org/) to store
artifacts and depend on them. There is no auto dependency feature for
triggering dependency jobs. I've manually set them up.

On Mon, Oct 8, 2012 at 12:33 AM, Kenneth kenneth.f.niel...@gmail.comwrote:

 I'm trying to setup jenkins to monitor a solution with C++ and C# in
 multiple solutions, but in one repository.
 (VS 2005 and .NET 2.0)

 How should I configure jenkins to build and test it?

 my suggested alternatives are:
 a) one job for each solution? - rather large jobs
 b) one job for each project? - many jobs. How do I handle the project
 interdependencies?

 I've been looking at this for quite a while...
 I prefer b, but have been stuck on msbuild v.2.n and cannot figure out how
 to handle references between projects..
 (There must be someone outthere that know how to build 2 c# projects with
 jenkins, one that uses the other)

 thanks.



RE: How to handle project dependencies?

2012-10-08 Thread Todd Greer
Kenneth wrote:

 I'm trying to setup jenkins to monitor a solution with C++ and C# in multiple 
 solutions, but in one repository.
 (VS 2005 and .NET 2.0)
  
 How should I configure jenkins to build and test it?
  
 my suggested alternatives are:
 a) one job for each solution? - rather large jobs
 b) one job for each project? - many jobs. How do I handle the project 
 interdependencies?
[snip]

We use one job per solution, and it's working fine for us. It does mean we 
can't treat the components as independent entities, but that isn't currently an 
issue for us. Were I in your shoes, I'd ask myself what the benefit of going to 
a job per project would be, and whether it would be worth it.

If I were to decide to go with a job per project, I'd probably have one job to 
check out the source*, and one job per project, with those jobs ordered by hand 
using post-build job triggers and the join plugin. They'd all have to use the 
same working directory.

* In my case, the first job would also run cmake to generate the project files, 
but it doesn't sound like that applies to you.

--
Todd Greer
Director of Development, Affinegy, Inc.


Global Job Configuration

2012-10-08 Thread Chris Wozny
All,

I was wondering if it is possible to have a single job configuration for 
multiple jobs or even specify certain sections such as Poll SCM settings, 
Pre-build steps, etc for multiple jobs. We're currently using the ClearCase 
plugin and we'd also like to be able to specify a single config spec and 
load rules for multiple jobs we have. I saw that there was a request for 
this feature in March of 2009, did anything come from that?

Thanks,
Chris


Re: Global Job Configuration

2012-10-08 Thread Gareth Bowles
Take a look at the Job DSL 
pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin- it's pretty 
new so you may need to extend the code yourself, but it will 
do exactly what you're asking.


On Monday, October 8, 2012 9:29:39 AM UTC-7, Chris Wozny wrote:

 All,

 I was wondering if it is possible to have a single job configuration for 
 multiple jobs or even specify certain sections such as Poll SCM settings, 
 Pre-build steps, etc for multiple jobs. We're currently using the ClearCase 
 plugin and we'd also like to be able to specify a single config spec and 
 load rules for multiple jobs we have. I saw that there was a request for 
 this feature in March of 2009, did anything come from that?

 Thanks,
 Chris



Re: Error 404 on latest jenkins download

2012-10-08 Thread Grant Limberg
Same issue here in CentOS

Error Downloading Packages:
  jenkins-1.485-1.1.noarch: failure: jenkins-1.485-1.1.noarch.rpm from
jenkins:   [Errno 256] No more mirrors to try.

Grant Limberg
glimb...@gmail.com


On Mon, Oct 8, 2012 at 6:49 AM, Julien HENRY henr...@yahoo.fr wrote:

 Hi,

 I have the same issue for fedora rpm:
 http://pkg.jenkins-ci.org/redhat/jenkins-1.485-1.1.noarch.rpm
 (redirect to
 http://ftp-nyc.osuosl.org/pub/jenkins/redhat/jenkins-1.485-1.1.noarch.rpm)


 Regards,

 Julien


 
  De : Ravi Teja Lokineni raviteja.lokin...@gmail.com
 À : jenkinsci-users@googlegroups.com
 Envoyé le : Lundi 8 octobre 2012 13h02
 Objet : Error 404 on latest jenkins download
 
 
 Hi all,
 
 I'm getting a 404 on downloading jenkins using the url:
 http://mirrors.jenkins-ci.org/war/latest/jenkins.war which redirects to:
 http://ftp-nyc.osuosl.org/pub/jenkins/war/1.485/jenkins.war
 
 
 



RE: Global Job Configuration

2012-10-08 Thread Hickel, Kelly
The Configuration Slicing PlugIn is also pretty good for modifying existing 
jobs.
https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin

-Kelly





From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Gareth Bowles
Sent: Monday, October 08, 2012 12:06 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Global Job Configuration

Take a look at the Job DSL 
pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin - it's 
pretty new so you may need to extend the code yourself, but it will do exactly 
what you're asking.


On Monday, October 8, 2012 9:29:39 AM UTC-7, Chris Wozny wrote:
All,

I was wondering if it is possible to have a single job configuration for 
multiple jobs or even specify certain sections such as Poll SCM settings, 
Pre-build steps, etc for multiple jobs. We're currently using the ClearCase 
plugin and we'd also like to be able to specify a single config spec and load 
rules for multiple jobs we have. I saw that there was a request for this 
feature in March of 2009, did anything come from that?

Thanks,
Chris


Re: How to handle project dependencies?

2012-10-08 Thread Kenneth
It sounds good, but appearntly NuGet doesn't support Visual Studio 2005. ;-(

Den mandag den 8. oktober 2012 16.06.06 UTC+2 skrev Larry Shatzer, Jr.:

 I use one job per project, and use NuGet (http://nuget.org/) to store 
 artifacts and depend on them. There is no auto dependency feature for 
 triggering dependency jobs. I've manually set them up.

 On Mon, Oct 8, 2012 at 12:33 AM, Kenneth kenneth@gmail.comjavascript:
  wrote:

 I'm trying to setup jenkins to monitor a solution with C++ and C# in 
 multiple solutions, but in one repository.
 (VS 2005 and .NET 2.0)
  
 How should I configure jenkins to build and test it?
  
 my suggested alternatives are:
 a) one job for each solution? - rather large jobs
 b) one job for each project? - many jobs. How do I handle the project 
 interdependencies?
  
 I've been looking at this for quite a while...
 I prefer b, but have been stuck on msbuild v.2.n and cannot figure out 
 how to handle references between projects..
 (There must be someone outthere that know how to build 2 c# projects with 
 jenkins, one that uses the other)
  
 thanks.