seeking documentation pointers into Jenkins matrix/project security

2014-03-03 Thread Kevin Buchs
I've been setting up Jenkins as an enterprise service but I feel pretty 
weak on the security model after reading the documentation I could find and 
Jenkins: The Definitive Guide. I thought I could have users with no global 
permissions and only project permissions, but it seems I have to give a 
user at least read permission globally. Also, it has never been made clear 
to me whether a project is directly equivalent to a job or if there is a 
concept of a project with many jobs. Pointers to what I may have missed are 
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.


Re: Suggestions for using Jenkins for environment deployment?

2014-03-03 Thread Stephen Connolly
The promoted builds plugin is a good starting point.

After that it depends where you are deploying your app to.

In general, you set up your build to archive the artifacts... Then you set
up promotions to move the archived artifacts to their target servers...
Parameterized promotions can help if you have to change the target from
deployment to deployment.

For larger deployments, you are deploying to a file share from which
chef/puppet does the actual deployment... But for small deployments you
just push direct to the server eg by the ssh/sftp publisher or by a
container specific plugin (eg tomcat) or by a PaaS specific deployer plugin
(eg cloudbees-deployer-plugin for deployment to cloudbees/cloudfoundry/AWS
elastic beanstalk/google app engine)

On Monday, 3 March 2014, Caleb Tote  wrote:

> We've been using Jenkins for a year or so as our CI tool, but would like
> to set it up somehow to also do our environment deployments. I've been
> testing around with Atlassian Bamboo, which nicely integrates both CI and
> Deployments; however, we'd like to stay with Jenkins since it's free.
>
> Is there a plugin for this type of thing? Any suggestions on how to manage
> deployments? Should we just switch to Bamboo?
>
> --
> 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: Jenkins using wrong JDK

2014-03-03 Thread Les Mikesell
On Fri, Oct 18, 2013 at 8:34 AM, Diego Ballve  wrote:
> Hi Farrukh!
>
> Thanks for sharing. Kinda silly I have to install 2 JDKs to be able to use
> one of them, but it resolved the problem.

I don't think you'd actually have to install the other JDK - just
configure jenkins with paths like you did...

But, if everything you are doing will work with a single JDK version,
consider yourself lucky.

-- 
   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: Cannot access the jenkins service running on redhat linux

2014-03-03 Thread Eric Wood
Yes.  That was it.  Thank you.  Since this was a test server running in an 
internal network, I just shut off the firewall by running 

service iptables stop



On Monday, March 3, 2014 12:33 PM, Les Mikesell  wrote:
 
On Mon, Mar 3, 2014 at 11:16 AM, Eric Wood  wrote:

> I just installed a version of jenkins on a redhat linux server.  I can see
> the process when I query the process table:
>
> jenkins  10935     1  1 11:32 ?        00:00:35 /usr/bin/java
> -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true
> -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war
> --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war
> --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100
> --handlerCountMaxIdle=20
>
>
> I have tried to access it using the http://server:8080 but it is not
> responding and I do not see anything in the logs.

Iptables is probably blocking port 8080.


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

-- 
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: Jenkins using wrong JDK

2014-03-03 Thread Alexei Novikov
Your info is very helpful, thank you! You saved my day.

-- 
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: Cannot access the jenkins service running on redhat linux

2014-03-03 Thread Les Mikesell
On Mon, Mar 3, 2014 at 11:16 AM, Eric Wood  wrote:
> I just installed a version of jenkins on a redhat linux server.  I can see
> the process when I query the process table:
>
> jenkins  10935 1  1 11:32 ?00:00:35 /usr/bin/java
> -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true
> -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war
> --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war
> --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100
> --handlerCountMaxIdle=20
>
>
> I have tried to access it using the http://server:8080 but it is not
> responding and I do not see anything in the logs.

Iptables is probably blocking port 8080.


-- 
   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: priority sorter plugin

2014-03-03 Thread Jayaprakash D B
>From the main page, I have selected priority strategy to be "Use priority 
from Build Parameter. And I am using "BuildPriority" as the build parameter 
name. 
I have same parameter in the job by extended choice parameter. 
I submit the build with BuildPriority=4,3,1 respectively. 

I am expecting builds to be run in following orders: 4 (since its the 1st 
job submitted,1 and 3). But, builds run according to FIFO ie., 4,3,1.


On Monday, 3 March 2014 21:31:42 UTC+5:30, Baptiste Mathus wrote:
>
> This is indeed exactly how we use the priority sorter. Using a parameter. 
> So maybe double check what you did or explain in details here how you 
> proceed.
> Cheers
> Le 3 mars 2014 14:07, "Jayaprakash D B" > 
> a écrit :
>
>> Hi All,
>>
>> I am using priority sorter plugin for a project. I want the priority 
>> values to be set as part of parametrized value. If I am not wrong, it's not 
>> supported directly.
>>
>> Under Job Priorities page, I tried setting the "Use priority from Build 
>> parameter option". For "Build Parameter Name" I set the variable to be 
>> BuildPriority which I get as a parameterized value while submitting the 
>> build. But I couldn't use it effectively.
>>
>> Am I missing something here?
>>
>> -- 
>> 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_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.


Suggestions for using Jenkins for environment deployment?

2014-03-03 Thread Caleb Tote
We've been using Jenkins for a year or so as our CI tool, but would like to 
set it up somehow to also do our environment deployments. I've been testing 
around with Atlassian Bamboo, which nicely integrates both CI and 
Deployments; however, we'd like to stay with Jenkins since it's free.

Is there a plugin for this type of thing? Any suggestions on how to manage 
deployments? Should we just switch to Bamboo?

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


Cannot access the jenkins service running on redhat linux

2014-03-03 Thread Eric Wood
I just installed a version of jenkins on a redhat linux server.  I can see the 
process when I query the process table:

jenkins  10935     1  1 11:32 ?        00:00:35 /usr/bin/java 
-Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true 
-DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war 
--logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war 
--daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 
--handlerCountMaxIdle=20


I have tried to access it using the http://server:8080 but it is not responding 
and I do not see anything in the logs.  


Also, I do not see a config.xml file

[root@na2scmdev jenkins]# ls
hudson.model.UpdateCenter.xml  nodeMonitors.xml  secret.key.not-so-secret
identity.key                   plugins           userContent
jobs                           secret.key


Am I missing something?

Thanks, Eric

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


java options for jobs on a slave

2014-03-03 Thread Les Mikesell
We have some jobs that are running out of memory in junit tests.  I
think the jobs are run as ant tasks, constrained to certain nodes that
have plenty of RAM.  Is there a job or node specific way to set the
java memory options for the jvm that will be run for the build?

-- 
  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: priority sorter plugin

2014-03-03 Thread Baptiste Mathus
This is indeed exactly how we use the priority sorter. Using a parameter.
So maybe double check what you did or explain in details here how you
proceed.
Cheers
Le 3 mars 2014 14:07, "Jayaprakash D B"  a écrit :

> Hi All,
>
> I am using priority sorter plugin for a project. I want the priority
> values to be set as part of parametrized value. If I am not wrong, it's not
> supported directly.
>
> Under Job Priorities page, I tried setting the "Use priority from Build
> parameter option". For "Build Parameter Name" I set the variable to be
> BuildPriority which I get as a parameterized value while submitting the
> build. But I couldn't use it effectively.
>
> Am I missing something here?
>
> --
> 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: Maven Release Plugin throws Authentication Required error

2014-03-03 Thread Baptiste Mathus
Hi,
Imo wrong mailing list. This is a pure maven question. Better ask it on
maven users.
Cheers
Le 3 mars 2014 12:06, "D Vijay"  a écrit :

> Dear All,
>
>
> I need help in configuring the Maven Release plugin. I am trying to
> configure the plugin in Jenkins job. I am getting authentication exception.
> For invoking maven release plugin do we need to have svn client from where
> we are invoking the release? PFA the errors & the configuration that I used
> for this. The requirement is as follows:
>
> My requirement is to configure maven release plugin as follows:
>
> 1. My current version is at 1.0.0-SNAPSHOT and once testing is done and
> ready for movement to production the maven release plugin will be invoked
> from Jenkins job to move the code from branch to trunk.
> 2. The configuration has to check out the source from branch, update all
> the POMs to version 1.0.0, tag the source code and check in the code at
> trunk location. The tags folder will contain the tagged version at 1.0.0
> (as best practice we need to change the version from 1.0.0-SNAPSHOT to
> 1.0.0 once the product is ready for production, right? or while moving to
> UAT itself it should be done?).
> 3. Also, the next snapshot version will be updated to 1.0.1-SNAPSHOT(which
> is configurable in release plugin) and checked in at branch level for the
> next development.
>
> I am able to configure this, but somehow it is not working. I am getting
> authentication exception.
> svn: Authentication required for 
> '
> >'.
>
>
> Thank you,
>
> Vijay.
>
> --
> 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.


Show MSTest Reslts in Dashboard View

2014-03-03 Thread MShanahan
I'm running a MSBuild project with MSTest plugin. The results are being
placed into an XML file, but when using the Dashboard View plugin, nothing
appears in the test results.

Is there a way to get these results to show up? Does my file need to be
named a certain way? Or is it just not designed for MSTest? The
documentation isn't very clear.

Thank you.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Show-MSTest-Reslts-in-Dashboard-View-tp4692837.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: Increase jobs in build queue of a project

2014-03-03 Thread Benjamin Lau
Oh! I didn't know about that one. I'll have to start making use of it.

Thanks for the pointer!

Cheers,
Ben

On Mon, Mar 3, 2014 at 5:08 AM, Geoff Cummings  wrote:
>
> You can use the Random String Parameter as an easy way to have unique
> parameters per build
>
> https://wiki.jenkins-ci.org/display/JENKINS/Random+String+Parameter+Plugin
>
>
> On Mon, Mar 3, 2014 at 10:18 AM, Benjamin Lau 
> wrote:
>>
>> I'm assuming all of these have the same parameters or are not
>> parameterized at all. Due to this the queue will be culled by Jenkins
>> such that only each unique job will appear in the queue.
>>
>> Marc MacIntyre (in the thread about for loops the other day) suggested
>> the following to compensate for this:
>> Depending on your job, you'll want to add some kind of bogus parameter
>> to the jobs to prohibit deduplication, since Jenkins can coalesce jobs
>> that are run with the same parameters in the queue.  I use the current
>> system time in millis.
>>
>> That will probably solve your problem.
>>
>> Cheers,
>> Ben
>>
>> On Mon, Mar 3, 2014 at 1:32 AM, Jayaprakash D B 
>> wrote:
>> > Hi,
>> >
>> > I have a project where we submit number of builds. As of now, I can see
>> > only
>> > two jobs in the queue:one the running one and other the queued one. I
>> > want
>> > to queue more than one job in a particular queue. Is it possible?
>> >
>> > Thanks,
>> > JP
>> >
>> > --
>> > 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.
>
>
> --
> 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: Increase jobs in build queue of a project

2014-03-03 Thread Jayaprakash D B
Thanks. Issue resolved

On Monday, 3 March 2014 15:48:40 UTC+5:30, benjamin.a.lau wrote:
>
> I'm assuming all of these have the same parameters or are not 
> parameterized at all. Due to this the queue will be culled by Jenkins 
> such that only each unique job will appear in the queue. 
>
> Marc MacIntyre (in the thread about for loops the other day) suggested 
> the following to compensate for this: 
> Depending on your job, you'll want to add some kind of bogus parameter 
> to the jobs to prohibit deduplication, since Jenkins can coalesce jobs 
> that are run with the same parameters in the queue.  I use the current 
> system time in millis. 
>
> That will probably solve your problem. 
>
> Cheers, 
> Ben 
>
> On Mon, Mar 3, 2014 at 1:32 AM, Jayaprakash D B 
> > 
> wrote: 
> > Hi, 
> > 
> > I have a project where we submit number of builds. As of now, I can see 
> only 
> > two jobs in the queue:one the running one and other the queued one. I 
> want 
> > to queue more than one job in a particular queue. Is it possible? 
> > 
> > Thanks, 
> > JP 
> > 
> > -- 
> > 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_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: Increase jobs in build queue of a project

2014-03-03 Thread Geoff Cummings
You can use the Random String Parameter as an easy way to have unique
parameters per build

https://wiki.jenkins-ci.org/display/JENKINS/Random+String+Parameter+Plugin


On Mon, Mar 3, 2014 at 10:18 AM, Benjamin Lau wrote:

> I'm assuming all of these have the same parameters or are not
> parameterized at all. Due to this the queue will be culled by Jenkins
> such that only each unique job will appear in the queue.
>
> Marc MacIntyre (in the thread about for loops the other day) suggested
> the following to compensate for this:
> Depending on your job, you'll want to add some kind of bogus parameter
> to the jobs to prohibit deduplication, since Jenkins can coalesce jobs
> that are run with the same parameters in the queue.  I use the current
> system time in millis.
>
> That will probably solve your problem.
>
> Cheers,
> Ben
>
> On Mon, Mar 3, 2014 at 1:32 AM, Jayaprakash D B 
> wrote:
> > Hi,
> >
> > I have a project where we submit number of builds. As of now, I can see
> only
> > two jobs in the queue:one the running one and other the queued one. I
> want
> > to queue more than one job in a particular queue. Is it possible?
> >
> > Thanks,
> > JP
> >
> > --
> > 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.
>

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


priority sorter plugin

2014-03-03 Thread Jayaprakash D B
Hi All,

I am using priority sorter plugin for a project. I want the priority values 
to be set as part of parametrized value. If I am not wrong, it's not 
supported directly.

Under Job Priorities page, I tried setting the "Use priority from Build 
parameter option". For "Build Parameter Name" I set the variable to be 
BuildPriority which I get as a parameterized value while submitting the 
build. But I couldn't use it effectively.

Am I missing something here?

-- 
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: svn authentication failure for external link

2014-03-03 Thread D Vijay
Hi David,

I am facing a similar kind of issue. My question is posted as: Maven 
Release Plugin throws Authentication Required error. Can you please help me 
in configuring the release plugin.

On Monday, 3 March 2014 16:37:36 UTC+5:30, David Aldrich wrote:
>
>  Hi
>
>  
>
> This problem appears to have been resolved by upgrading to Jenkins 1.552 
> and svn plugin 2.2.
>
>  
>
> Best regards
>
>  
>
> David
>
>  
>
>  
>  
> *From:* jenkins...@googlegroups.com  [mailto:
> jenkins...@googlegroups.com ] *On Behalf Of *David Aldrich
> *Sent:* 28 February 2014 09:10
> *To:* jenkins...@googlegroups.com 
> *Subject:* svn authentication failure for external link
>  
>  
>
> Hi
>
>  
>
> We are running Jenkins 1.551 with svn plugin 2.1.
>
>  
>
> For a certain Jenkins project, we have a problem with svn authentication 
> for an svn external reference.  That job checks out an svn project that 
> contains an external link:
>
>  
>
> /trunk/testbench/Scenarios  ->  
> /branches/Scenarios
>
>  
>
> When we run the Jenkins project we see exception:
>
>  
>
> hudson.util.IOException2: revision check failed on 
> /branches/Scenarios 
>
> 
>
> Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: E200015: No 
> credential to try. Authentication failed
>
>  
>
> I understand that with svn plugin 2.1 it is necessary to specify additional 
> credentials, on the project config page, for externals because ‘the realm may 
> be different’. So I added:
>
>  I did that based on this knowledge:
>
>  
>
> $ curl -k –I  /trunk
>
> HTTP/1.1 401 Unauthorized
>
> Date: Wed, 26 Feb 2014 11:38:36 GMT
>
> Server: Apache
>
> WWW-Authenticate: Basic realm="CollabNet Subversion Repository"
>
> Content-Type: text/html; charset=iso-8859-1
>
>  
>
> Please can anyone suggest why the authentication is failing?
>
>  
>
> Best regards
>
>  
>
> David
>
>  
>
> Click 
> hereto
>  report this email as spam.
>
> -- 
> 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_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.


Fwd: Re: Re: Parametrized build with dynamically populating values

2014-03-03 Thread alok kumar
-- Forwarded message --
From: "alok kumar" 
Date: Feb 27, 2014 11:27 PM
Subject: Re: Re: Parametrized build with dynamically populating values
To: "Jayaprakash D B" 
Cc:


Hi ,
I compiled the code as you had suggested and put the .hpi file in the
plugins folder. Restarted Jenkins.
But, now when I try to use it, I get the following error:



Sample is my child parameter and P4 is my parent parameter.

Can you please suggest what I am doing wrong?

Thanks,
Alok

>
>
> -- Forwarded message --
> From: "alok kumar" 
> Date: Feb 27, 2014 9:00 AM
> Subject: Re: Parametrized build with dynamically populating values
> To: 
> Cc:
>
>Hi,
>
> Thanks for letting me know about the cascading choice. Thats exactly what
> I am looking for.
>
> Can you please let me know how do I go about compiling it and using it in
> my Jenkins setup?
>
> Thanks,
>
> Alok
>
>
>
> On Wed, Feb 26, 2014 at 4:01 AM, Ioannis Moutsatsos 
> wrote:
>
> Yes, Cascading Parameter options are now available in the 0.2.1 (SNAPSHOT)
> release of the Jenkins Dynamic Parameter Plugin.
>
> You will have to build it from the git repository until it is officially
> released. I was able to use it successfully with Jenkins v1.532.1 on
> Windows.
>
>
>
> See
>
>
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in
>
> https://github.com/Seitenbau/sb-jenkins-dynamicparameter/pull/12
>
>
>
> On Wednesday, February 19, 2014 11:43:14 AM UTC-5, alok kumar wrote:
>
> Hi All,
>
> Is there a way in which I can submit a parametrized build in which the
> options available on one of the sections depend upon what value was chosen
> in the previous or any other parameter?
>
> E.g. If the option chosen in the parameter form page is windows, it
> populates win7, win2008, win2003 dynamically in another parameter. On the
> other hand, if it is linux, it populates the same parameter with values
> such as SLES, RHEL, CENTOS, UBUNTU,etc.
>
> Any help would be deeply appreciated.
>
> Thanks,
>
> Alok
>
> --
> 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: svn authentication failure for external link

2014-03-03 Thread David Aldrich
Hi

This problem appears to have been resolved by upgrading to Jenkins 1.552 and 
svn plugin 2.2.

Best regards

David


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: 28 February 2014 09:10
To: jenkinsci-users@googlegroups.com
Subject: svn authentication failure for external link

Hi

We are running Jenkins 1.551 with svn plugin 2.1.

For a certain Jenkins project, we have a problem with svn authentication for an 
svn external reference.  That job checks out an svn project that contains an 
external link:

/trunk/testbench/Scenarios  ->  /branches/Scenarios

When we run the Jenkins project we see exception:


hudson.util.IOException2: revision check failed on 
/branches/Scenarios



Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: E200015: No 
credential to try. Authentication failed



I understand that with svn plugin 2.1 it is necessary to specify additional 
credentials, on the project config page, for externals because 'the realm may 
be different'. So I added:
[cid:image001.png@01CF36D0.C86392A0]
I did that based on this knowledge:

$ curl -k -I  /trunk
HTTP/1.1 401 Unauthorized
Date: Wed, 26 Feb 2014 11:38:36 GMT
Server: Apache
WWW-Authenticate: Basic realm="CollabNet Subversion Repository"
Content-Type: text/html; charset=iso-8859-1

Please can anyone suggest why the authentication is failing?

Best regards

David


Click 
here
 to report this email as spam.
--
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: Increase jobs in build queue of a project

2014-03-03 Thread Benjamin Lau
I'm assuming all of these have the same parameters or are not
parameterized at all. Due to this the queue will be culled by Jenkins
such that only each unique job will appear in the queue.

Marc MacIntyre (in the thread about for loops the other day) suggested
the following to compensate for this:
Depending on your job, you'll want to add some kind of bogus parameter
to the jobs to prohibit deduplication, since Jenkins can coalesce jobs
that are run with the same parameters in the queue.  I use the current
system time in millis.

That will probably solve your problem.

Cheers,
Ben

On Mon, Mar 3, 2014 at 1:32 AM, Jayaprakash D B  wrote:
> Hi,
>
> I have a project where we submit number of builds. As of now, I can see only
> two jobs in the queue:one the running one and other the queued one. I want
> to queue more than one job in a particular queue. Is it possible?
>
> Thanks,
> JP
>
> --
> 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.


Increase jobs in build queue of a project

2014-03-03 Thread Jayaprakash D B
Hi,

I have a project where we submit number of builds. As of now, I can see 
only two jobs in the queue:one the running one and other the queued one. I 
want to queue more than one job in a particular queue. Is it possible?

Thanks,
JP

-- 
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: What is those "WARNING: Failed to inspect" in the Jenkins logs?

2014-03-03 Thread Michael Niestegge
I have similar problems:

Every evening my jenkins server dies: It uses the whole memory allocated 
(2GB out of 12GB) and the garbage collector starts running. From then on, i 
am not able to reach the webinterface any more.






The log shows two kinds of errors:

28.02.2014 18:05:45 jenkins.diagnostics.ooom.Problem$Inspector scan
WARNUNG: Failed to inspect /var/lib/jenkins/jobs/(BUILD) mp-modules master 
integration/builds/1956: /var/lib/jenkins/jobs/(BUILD) mp-modules master 
integration/builds/1956/build.xml doesn't exist
28.02.2014 18:05:45 jenkins.diagnostics.ooom.Problem$Inspector scan
WARNUNG: Failed to inspect /var/lib/jenkins/jobs/(BUILD) mp-modules master 
integration/builds/1991: /var/lib/jenkins/jobs/(BUILD) mp-modules master 
integration/builds/1991/build.xml doesn't exist
28.02.2014 18:05:45 jenkins.diagnostics.ooom.Problem$Inspector scan
WARNUNG: Failed to inspect /var/lib/jenkins/jobs/(BUILD) mp-modules master 
integration/builds/2115: /var/lib/jenkins/jobs/(BUILD) mp-modules master 
integration/builds/2115/build.xml doesn't exist

 
and

28.02.2014 18:05:08 hudson.Proc$LocalProc join
WARNUNG: Process leaked file descriptors. See 
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build 
for more information
java.lang.Exception
at hudson.Proc$LocalProc.join(Proc.java:329)
at hudson.Proc.joinWithTimeout(Proc.java:168)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1169)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1150)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1146)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:962)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:684)
at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:120)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:611)
at 
hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:531)
at 
hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:455)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at 
hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1602)
at hudson.model.AbstractProject._poll(AbstractProject.java:1572)
at hudson.model.AbstractProject.poll(AbstractProject.java:1490)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491)
at 
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
28.02.2014 18:05:08 hudson.Proc$LocalProc join
WARNUNG: Process leaked file descriptors. See 
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build 
for more information
java.lang.Exception
at hudson.Proc$LocalProc.join(Proc.java:329)
at hudson.Proc.joinWithTimeout(Proc.java:168)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1169)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1150)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1146)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:962)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:124)
at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:186)
at 
hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:525)
at 
hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:455)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at 
hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1602)
at hudson.model.AbstractProject._poll(AbstractProject.java:1572)
at