Perforce Plugin and PATH

2012-09-26 Thread Erling Andersen
Hi

We have had problem with the Perforce plugin on Windows. The issue is 
related to which PATH is used when the the p4 command is run.
We thought that PATH would have the value defined on the node in Jenkins 
and NOT the PATH value defined on the machine and know by Java.
We define PATH on each node inside Jenkins on the configure page on the 
nodes.

Is it not possible to define PATH on each node? And should not that valued 
by used by running p4?

Erling






Re: Using variables within the Jenkins email subject lines ?

2012-09-26 Thread Slide
Try ${ENV, var="subject"}

On Wed, Sep 26, 2012 at 7:24 PM, Tom80112  wrote:
> I loaded the EnvInject plugin and tried that before posting here.
>
> Inside the shell script section, I set a variable called "subject" to to a
> different
> text string depending on outcomes within the shell script section.
>
> I then did a printf "subject=$subject\n" >tmp.env
>
> I then specified tmp.env on the first line of the EnvInject.  This is all I
> did for the EnvInject block.  Did I need to fill in anything else?
>
> I then used "editable email"  and placed $subject in the subject line.
> The email came in with a subject line of:   $subject(not evaluated)
>
>
>
>
>
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/Using-variables-within-the-Jenkins-email-subject-lines-tp4641373p4641525.html
> Sent from the Jenkins users mailing list archive at Nabble.com.



-- 
Website: http://earl-of-code.com


Re: Using variables within the Jenkins email subject lines ?

2012-09-26 Thread Tom80112
I loaded the EnvInject plugin and tried that before posting here.

Inside the shell script section, I set a variable called "subject" to to a
different
text string depending on outcomes within the shell script section.

I then did a printf "subject=$subject\n" >tmp.env

I then specified tmp.env on the first line of the EnvInject.  This is all I
did for the EnvInject block.  Did I need to fill in anything else?

I then used "editable email"  and placed $subject in the subject line.
The email came in with a subject line of:   $subject(not evaluated)





--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Using-variables-within-the-Jenkins-email-subject-lines-tp4641373p4641525.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Cascading Maven releases...

2012-09-26 Thread Jeff
In our current set of projects we have multiple (30+) JAR files that are
used by our 6 or 7 top-level web applications.

At the end of each sprint, we perform a Maven release for all modules
worked on or affected by an upstream dependency in that sprint.  It is
quite time consuming to release all the modules and would seem to lend
itself to a plugin that can automatically parse through the SNAPSHOT
dependencies, determine if there is a current job for that artifact, then
release all dependent projects.

Is there such a plugin or has anyone experimented with adding that
capability?  I couldn't find anything but am interested in pursuing a
solution.

Thanks!

-- 
Jeff Vincent
predato...@gmail.com
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox  !!


Resolved: deploy to Spring Insight server?

2012-09-26 Thread Ed Young
I don't know what made me think that the embedded Tomcat server was Tomcat
7.0, but when I configured Jenkins to deploy to a Tomcat 6.0 server, that
deployment worked just like every other Tomcat 6.0 instance I've ever set
up.

I burned more than a few hours barking up the wrong tree, but in the
meantime I learned how to set up and run hyperic agent and hyperic server
which will likely prove valuable.

On Wed, Sep 26, 2012 at 5:09 AM, Ed Young  wrote:

>
> I'm trying unsuccessfully  to deploy from jenkins to the Spring Insight
> server (embedded tomcat 7)  using the Jenkins Deploy to Container plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin
>
> Is this the right plugin or is there another for Spring Insight?
>
> I've used it to deploy successfully to Tomcat 6.0 and to Tomcat 7.0 app
> servers in the past. I believe the embedded tomcat server is a Tomcat 7.0
> instance so I've configured the plugin so it deploys to Tomcat 7.0 and I've
> configured the embedded Tomcat tomcat-users.xml with
> roles="admin-gui,manager-gui,manager-script" as prescribed for Tomcst 7.0.
>
> The app is the ROOT.war app so the context is /.
>
> I've set the tomcat url to http://lite-dev.cable.company.com/manager/htmland 
> to
> http://lite-dev.cable.company.com and to
> http://lite-dev.cable.company.com/ in desperate attempts to have some
> success but so far no luck.
>



-- 
- Ed


Re: Unable to connect to the remote TFS server

2012-09-26 Thread Erik Ramfelt
Hi

I just tried with VS 2010 and CodePlex (since I dont have a TFS
available) and it all seems to work as it should. Latest version of
Jenkins and the plugin.

The error says that the tf tool cant connect to the server, can you
ping it? Could you try any other TFS server such as a project on
codeplex?

Regards
//Erik

2012/9/25 mickeys :
> Hi,
>
> I am wondering if there is a solution for this problem. I am using TFS 2010
> and latest jenkins with tfs plugin.
>
> /Started by user anonymous
> Building in workspace C:\Jenkins\jobs\test\workspace
> Deleting workspace as the configuration has changed since a build was
> performed on this computer.
> [workspace] $ "C:\Program Files\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" workspaces -format:brief
> -server:https://tfs..se/tfs/upgradedcollection 
> Unable to connect to the remote server
> FATAL: Executable returned an unexpected result code [100]
> ERROR: null
> Finished: FAILURE/
>
> I have tried all diffrent types of settings but I get the same error. What
> am I missing?
>
>
>
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/Unable-to-connect-to-the-remote-TFS-server-tp4641294.html
> Sent from the Jenkins users mailing list archive at Nabble.com.


Re: 'Even Load Strategy' Plugin

2012-09-26 Thread Bap

Quoting Stephen Connolly :


Yes I hit the same issue myself. I have been meaning the get back to that.
If you want to have a go, please send a pull request



I'll have a look at it if I survive my attempt to drink Munich dry :-)



Re: Problem with post commit hook trigger and looping project build

2012-09-26 Thread giuliano
So, perhaps you can do it within jenkins.

- Method 1: Use two jobs. The first one is triggered by a git post commit 
hook. It looks at the git log and exits if the author or message matches a 
pattern. Otherwise it triggers the second real build job.

- Method 2: Not sure if this will work. a) use a pre-scm build step to 
detect if author/message matches b) conditional build step that exits if 
there was a match.
I'm not sure how to stop the job sucessfully. Perhaps a groovy script.


Re: way to determine if plugin is being used

2012-09-26 Thread Stephen Connolly
Ask mr glick... He wrote it... Though he may not be allowed to spill the
beans ;-)

On Wednesday, 26 September 2012, domi wrote:

> extending your [Not wearing CloudBees hat time]…. any hint on how this was
> implemented? :)
> /Domi
>
> On 26.09.2012, at 10:18, Stephen Connolly 
>  'stephen.alan.conno...@gmail.com');>>
> wrote:
>
> I do hate to put this hat on excessively on this list
>
> [CloudBees hat]
> We have an Enterprise plugin that provides that feature:
> http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/plugin-usage.html
>
> It is currently available as a beta release, but will be in the 12.11
> release
> [/CloudBees hat]
>
> [Not wearing CloudBees hat at all and I never said this]
> If you just have a one time need, you could try the plugin with the
> evaluation license... but then once the evaluation license expires you will
> never be able to get an evaluation license on that Jenkins instance again
> :-(
> [/Not wearing CloudBees hat at all and I never said this]
>
> -Stephen
>
> On 24 September 2012 19:47, grayaii  'cvml', 'george.g...@rsa.com');>
> > wrote:
>
>> Hi,
>> Is there a way to figure out if a plugin is being used? (either groovy
>> script, CLI, api/xml, etc)
>> We have a bunch of plugins installed, but I don't think we are not using
>> half of them and I would like to uninstall them.
>> Thanks!
>>
>>
>>
>> --
>> View this message in context:
>> http://jenkins.361315.n4.nabble.com/way-to-determine-if-plugin-is-being-used-tp4641231.html
>> Sent from the Jenkins users mailing list archive at Nabble.com.
>>
>
>
>


Re: 'Even Load Strategy' Plugin

2012-09-26 Thread Stephen Connolly
Yes I hit the same issue myself. I have been meaning the get back to that.
If you want to have a go, please send a pull request

On Wednesday, 26 September 2012, Bap wrote:

> Quoting Stephen Connolly :
>
>  The Credentials plugin started off life as being Paid functionality that
>> was to be an enhancement to the Folders plugin. In the end, however, I was
>> able to make a good business case that that specific plugin should be Free
>> (open source).
>>
>>
> Stephen, any chance that you could separate the representation of
> user/key/pass[word|prase] from the impl.
>
> I'd like to use the ssh credentials plugin for the Publish Over SSH
> plugin, but it feels a bit smelly using a plugin with trilead code in it in
> order to connect using JSch.
>
> Bap.
>
>


Re: Using variables within the Jenkins email subject lines ?

2012-09-26 Thread Slide
email-ext or the normal emailer?

On Tue, Sep 25, 2012 at 2:31 PM, Tom80112  wrote:
> I would like to use variables within Jenkins email subject lines.
>
> I am using the "editable email notification" plugin.
>
> Instead of having a set-in-stone email subject line, I would like define
> the subject line using a variable that I define based upon the job's
> execution.
>
> Anyone have any ideas?
>
>
>
>
>
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/Using-variables-within-the-Jenkins-email-subject-lines-tp4641373.html
> Sent from the Jenkins users mailing list archive at Nabble.com.



-- 
Website: http://earl-of-code.com


Re: Problem using deploy mojo

2012-09-26 Thread giuliano
Looks like one of your tomcat6-maven plugin is out of date. Of course, 
since you can't start jenkins you need to fix that outside of jenkins.
- Shut down jenkins
- cd $JENKINS_FOLDER/plugins
- mkdir ../plugins-save
- mv $PLUGIN ../plugins-save/
- mv $PLUGIN.hpi ../plugins-save
- Start jenkins


Re: Using variables within the Jenkins email subject lines ?

2012-09-26 Thread giuliano
You can use vars generated with a shell script. What we do is write them to 
a file, then use the "Inject environment variables" plugin.

Re: 'Even Load Strategy' Plugin

2012-09-26 Thread Bap

Quoting Stephen Connolly :


The Credentials plugin started off life as being Paid functionality that
was to be an enhancement to the Folders plugin. In the end, however, I was
able to make a good business case that that specific plugin should be Free
(open source).



Stephen, any chance that you could separate the representation of  
user/key/pass[word|prase] from the impl.


I'd like to use the ssh credentials plugin for the Publish Over SSH  
plugin, but it feels a bit smelly using a plugin with trilead code in  
it in order to connect using JSch.


Bap.



Re: way to determine if plugin is being used

2012-09-26 Thread domi
extending your [Not wearing CloudBees hat time]…. any hint on how this was 
implemented? :)
/Domi

On 26.09.2012, at 10:18, Stephen Connolly  
wrote:

> I do hate to put this hat on excessively on this list
> 
> [CloudBees hat]
> We have an Enterprise plugin that provides that feature: 
> http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/plugin-usage.html
> 
> It is currently available as a beta release, but will be in the 12.11 release
> [/CloudBees hat]
> 
> [Not wearing CloudBees hat at all and I never said this]
> If you just have a one time need, you could try the plugin with the 
> evaluation license... but then once the evaluation license expires you will 
> never be able to get an evaluation license on that Jenkins instance again :-(
> [/Not wearing CloudBees hat at all and I never said this]
> 
> -Stephen
> 
> On 24 September 2012 19:47, grayaii  wrote:
> Hi,
> Is there a way to figure out if a plugin is being used? (either groovy
> script, CLI, api/xml, etc)
> We have a bunch of plugins installed, but I don't think we are not using
> half of them and I would like to uninstall them.
> Thanks!
> 
> 
> 
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/way-to-determine-if-plugin-is-being-used-tp4641231.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
> 



RE: Feedback of your CI architecture

2012-09-26 Thread Mandeville, Rob
Having the Jenkins server on a host that doesn’t run builds isn’t just 
interesting, it’s a good idea.  The only downside that I see is that the 
slave-master communication (probably dominated by your build logs and 
artifacts) is slowed down to network speeds rather than the speed of your 
loopback adapter.  I’m running in this configuration with 170+ slave nodes 
scattered across over a dozen build hosts (each build takes up a user account, 
so we need multiple slaves per host).  We basically build 60 different SCM 
branches of the same project.

Multiple masters can be useful.  I have one master for my build jobs, another 
one for housekeeping (I find it better than cron because it’s more visible and 
doesn’t spam you with email, and it’s also useful for some of your more routine 
command lines), and some people on a side project set up their own.  Part of 
the question is organizational: Jenkins is small enough that somebody working 
on a small project can set their own up, if they’re willing to spend a little 
of maintenance time.  That can keep you less involved in smaller projects, if 
this sort of a thing is acceptable to your organization.

--Rob



From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com]
 On Behalf Of mpapo - Michaël Pailloncy
Sent: Wednesday, September 26, 2012 8:58 AM
To: jenkinsci-users@googlegroups.com
Subject: Feedback of your CI architecture

Hi all,

Currently, we manage near 250 jobs related to several java projects and several 
teams in our company.

Our CI architecture characteristics :
- a Jenkins master on AIX 5.3 with 8 processors and 10 GB of RAM
- 3 RHEL slaves with 2 processors and 4 GB of RAM
- 2 Windows slaves with 1 processors and 2 GB of RAM

We arrive sometimes has limitations with Jenkins. Especially during releases.

Due to an increase of job number in our Jenkins in my company,  we want to 
change our architecture to meet our needs. We are going to manage near 500 jobs.
We want to switch the master on a RHEL OS (our new main target platform) and 
add an AIX slave for projects that need this platform.

Here are our thoughts :
- Do you think it would be interesting to have a master only used to monitor 
the jobs (0 executor, all builds are delegate to slaves) ?
This could be interesting to have a more stable and more reliable master.

- On the other hand, do you think it could be interesting to use multiple 
masters ? One for each team for example ?
This could be nice to have a more specialized master per team but I guess it 
must increase the maintenance time.


I need feedbacks from the community to choose the best architecture :
How many jobs do you manage ?
What are the characteristics of your architecture ? (number of slaves, of 
master ??)
Would you prefer to use a slave with large capacity, or more with capacities 
smaller?


Thanks in advance from any help and feeback !

Michaël Pailloncy



The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle & Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle & Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from your 
computer.


RE: What user does a build run under?

2012-09-26 Thread Mandeville, Rob
A build is run under the user account that the slave is under.  If you launch 
your slaves from the master, that’s the same as the user the Jenkins server is 
running under (unless the slave launcher is changing the user on the fly—I do 
that on my Linux setup using sudo).  If you’re using JNLP or launching 
headlessly (see 
https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds), the job will 
run as whatever user is launching the slave.

There’s a possible security concern here.  If the Jenkins server is running as 
user Fred, and the slave is set up as user Barney, then whoever controls the 
server can execute arbitrary commands as user Barney through the slave.  This 
may or may not be a bad thing, just be aware of it.

--Rob

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ronan Mulvaney
Sent: Wednesday, September 26, 2012 11:51 AM
To: jenkinsci-users@googlegroups.com
Subject: What user does a build run under?

Sorry if this has been asked before I can't seem to find anything that matches 
exactly my scenario.

I am using Jenkins 1.483 and trying to a job to run a batch file on my local 
Windows 7 system to gain experience with using Jenkins and how we would 
automate our builds.
I don't have anything additional set in the out of the box version of Jenkins 
other than a job and build pointing at this batch file.

The first thing this batch file does, is invoke a vbs script on a machine 
within our Active directory secured network.
This works fine from the command line however when run through Jenkins it seems 
to run under a different user and hence I cannot access the network.

The error seen is simply:
The password is invalid for \\\>
Enter the user name for '': System error 1223 has occurred.
from a
call cscript \\\>\file.vbs 
invocation

I would like the build process to be run by the user that started the Jenkins 
process/service rather than add Security to Jenkins and have it use the user 
that invoked the build (where this may differ - in my case right now these of 
course are just me in both cases). That said I did try and secure Jenkins and 
add the active directory plugin and run the build again under my login and 
still got the same failure so I guess I am just missing somewhere that 
indicates what user a build should be invoked under.

Thanks in advance for any advice here.

Ronan



The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle & Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle & Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from your 
computer.


Re: What user does a build run under?

2012-09-26 Thread Scott Evans
Ronan,

My guess is that you have the agent configured to run as a service, rather
than a java process on the desktop.  If so, you'll need to set that service
to run as a specific user rather than local system account.  That can be
found under the LogOn tab of the jenkins service in question.

Scott

On Wed, Sep 26, 2012 at 10:50 AM, Ronan Mulvaney
wrote:

> Sorry if this has been asked before I can't seem to find anything that
> matches exactly my scenario.
>
> I am using Jenkins 1.483 and trying to a job to run a batch file on my
> local Windows 7 system to gain experience with using Jenkins and how we
> would automate our builds.
> I don't have anything additional set in the out of the box version of
> Jenkins other than a job and build pointing at this batch file.
>
> The first thing this batch file does, is invoke a vbs script on a machine
> within our Active directory secured network.
> This works fine from the command line however when run through Jenkins it
> seems to run under a different user and hence I cannot access the network.
>
> The error seen is simply:
> The password is invalid for \\\
> Enter the user name for '': System error 1223 has occurred.
> from a
> call cscript *file.vbs invocation
>
> I would like the build process to be run by the user that started the
> Jenkins process/service rather than add Security to Jenkins and have it use
> the user that invoked the build (where this may differ - in my case right
> now these of course are just me in both cases). That said I did try and
> secure Jenkins and add the active directory plugin and run the build again
> under my login and still got the same failure so I guess I am just missing
> somewhere that indicates what user a build should be invoked under.
>
> Thanks in advance for any advice here.
>
> Ronan
>
>
>


What user does a build run under?

2012-09-26 Thread Ronan Mulvaney
Sorry if this has been asked before I can't seem to find anything that 
matches exactly my scenario.
 
I am using Jenkins 1.483 and trying to a job to run a batch file on my 
local Windows 7 system to gain experience with using Jenkins and how we 
would automate our builds.
I don't have anything additional set in the out of the box version of 
Jenkins other than a job and build pointing at this batch file.
 
The first thing this batch file does, is invoke a vbs script on a machine 
within our Active directory secured network.
This works fine from the command line however when run through Jenkins it 
seems to run under a different user and hence I cannot access the network.
 
The error seen is simply:
The password is invalid for \\\
Enter the user name for '': System error 1223 has occurred.
from a 
call cscript *\\\>\file.vbs 
invocation
 
I would like the build process to be run by the user that started the 
Jenkins process/service rather than add Security to Jenkins and have it use 
the user that invoked the build (where this may differ - in my case right 
now these of course are just me in both cases). That said I did try and 
secure Jenkins and add the active directory plugin and run the build again 
under my login and still got the same failure so I guess I am just missing 
somewhere that indicates what user a build should be invoked under.
 
Thanks in advance for any advice here.
 
Ronan
 
 


Re: Feedback of your CI architecture

2012-09-26 Thread Les Mikesell
On Wed, Sep 26, 2012 at 8:19 AM, Michaël Pailloncy  wrote:
> Other question : What do you use to launch Jenkins ?
> Currently,  we are using Winstone. Is this the best way?

Since you mentioned moving to RHEL, you'll probably want to use the
RPM that will include winstone and a working configuration.  I don't
think any other approach would be enough different to break what the
rpm will do automatically.   You can change the port to not conflict
with a stock tomcat and/or proxy through apache if you want it to
appear on port 80, though.

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


Re: Feedback of your CI architecture

2012-09-26 Thread Les Mikesell
On Wed, Sep 26, 2012 at 7:58 AM, mpapo - Michaël Pailloncy
 wrote:
>
> - Do you think it would be interesting to have a master only used to monitor
> the jobs (0 executor, all builds are delegate to slaves) ?
>
> This could be interesting to have a more stable and more reliable master.

I don't think it really matters as long as you have the resources in
the right places for the jobs you are running.  However, that is
somewhat easier to manage when all jobs go to a pool of slaves.   You
at least would not want the builds to be happening on the same
physical disk where  the jenkins  master job directory resides.

> - On the other hand, do you think it could be interesting to use multiple
> masters ? One for each team for example ?

I would only do that if you need to closely control access permissions
or have problems with sharing resources.

> This could be nice to have a more specialized master per team but I guess it
> must increase the maintenance time.

There is hardly any maintenance time for a yum-installed jenkins
instance, but it might be harder to keep the pools of slaves matched
to the jobs with several masters.   I'd make this decision more on
management/budget concerns than anything technical.


> I need feedbacks from the community to choose the best architecture :
> How many jobs do you manage ?

200+ currently, and don't expect problems with more.  Frequency of
builds might be a better metric and I don't know where to find a
meaningful metric for that (like average queue wait).

> What are the characteristics of your architecture ? (number of slaves, of
> master ??)

1 master, 17 slaves, some are seldom-used architectures.

> Would you prefer to use a slave with large capacity, or more with capacities
> smaller?

More, but capacity needs to be 'large enough'.  Most of our slaves are
VMs running about 4 to a physical host (a mix of frequently/seldom
used instances...).   I like to have jobs tied to labels, enough
slaves in a labeled group that having one or two down for maintenance
won't be noticed, and nothing of importance ever stored on a slave so
you can just spin up a new VM image as a replacement if you have any
problems.

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


Re: Automatic diagram

2012-09-26 Thread Mark Waite
I viewed it in exactly the opposite direction.  If using a freely available, 
easily installed external program allows the plugin to be implemented faster 
and cleaner and simpler, then I'd rather have it implemented sooner with the 
external program.  I suspect that specifying a graph in graphviz is much 
simpler and more reliable than creating the Java and HTML code necessary to do 
the same thing in Java or HTML.

If the original implementer of the git plugin had decided that he must not use 
external programs, it would likely have delayed the git plugin by months or 
years while waiting for a sufficiently complete native java implementation of 
git.  There are many SCM systems (and other tools) which are only available as 
external programs, so I don't think we'll be able to avoid referencing external 
tools from a continuous integration server.

Mark Waite



>
> From: kikou 
>To: jenkinsci-users@googlegroups.com 
>Cc: Mark Waite  
>Sent: Wednesday, September 26, 2012 6:16 AM
>Subject: Re: Automatic diagram
> 
>
>Hello
>sorry for this late answer
>
>I didnt pay attention but indeed it is working
>Nevertheless i found pity that we need another graphical lib, i am sure that a 
>plugin could be done with java tools only or html object, i really prefer a 
>plugin which not needs external binaries.
>
>K.
>
>Le mercredi 5 septembre 2012 15:23:40 UTC+2, Mark Waite a écrit :
>We use that plugin very frequently and it works great for us.  Why do you say 
>"what a pity that this plugin is not maintained"?  We've not found any cases 
>where it had bugs or issues that blocked our work, and I don't recall any 
>recent complaints from other users either.
>> 
>>Can you describe further why you think it might need an update?
>> 
>>Mark Waite
>>
>>
>>From: kikou 
>>>To: jenkins...@googlegroups. com 
>>>Sent: Wednesday, September 5, 2012 5:20 AM
>>>Subject: Re: Automatic diagram
>>> 
>>>
>>>Hi Gergo
>>>
>>>Thank you. The plugin you gave is exaclty what i am looking for.
>>>I maybe do a missunderstanding but it is the dependancy indeed i'd like to 
>>>have in a graph showing the sequence of projects (not build number), in 
>>>other words  seeing upstream and downstream projects in one graph.
>>>
>>>what a pitty that this plugin is not maintained. Yes maybe i could update it 
>>>but not now.
>>>
>>>Thank you a lot Gergo
>>>
>>>Rgds
>>>K.
>>>
>>>Le mercredi 5 septembre 2012 12:15:51 UTC+2, Gergo a écrit :
>>>Hi,
You mention "job sequence" but if you mean "build sequence" - I don't think 
it's predictable/static as it depends on dynamic factors (e.g availability 
of slaves, build duration changes affect allocation).
Not exactly sure about your requirements, but I'm using Dependency Graph 
View: http://wiki.hudson-ci. org/display/HUDSON/Dependency+ 
Graph+View+Plugin , this seems to be how far you can get solely looking at 
the jobs.


hth,
Gergo


On Wed, Sep 5, 2012 at 8:14 AM, kikou  wrote:

Hi all
>
>Is there any plugin which draw automatically a diagram showing the job 
>sequence ?
>So that it is more easy to show to some people the 
>
>i dont like the format of pipeline view and it is more to show the result 
>of last builds than the sequence.
>
>
>Rgds
>K.
>

>>>
>>>
>
>

Re: Does jenkins periodically re check out the workspace

2012-09-26 Thread Mark Waite
I've never seen a "re-check out" of the workspace which was not the result of 
some condition which I could reasonably explain.  Some of the cases I've seen 
where a new build is started have included:

- scheduled build with the "clean workspace" setting enabled in the SCM plugin
- new change on the source control system which a source control poll detected
- slave which hosted the last build has disconnected from the master

There are probably other cases as well.  Is there a pattern that you're 
observing in your re-check out of the workspace related to any of those?

Mark Waite




>
> From: John R. Cary 
>To: jenkinsci-users@googlegroups.com 
>Sent: Wednesday, September 26, 2012 5:04 AM
>Subject: Does jenkins periodically re check out the workspace
> 
>This is a behavior that we are seeing.
>
>Is this standard?
>
>Is there a regularity to it?
>
>Thx.John Cary
>
>
>

Re: CVS Users <-> Jenkins Users (using Active Directory etc)

2012-09-26 Thread John McCabe

On Wednesday, September 26, 2012 1:59:16 PM UTC+1, Nicolas De loof wrote: 
>
>
> Le 26 sept. 2012 12:36, "John McCabe" > 
> a écrit :
> >
> > Thank you for that Nicolas. There are a couple of things I'm slightly 
> confused by.
> >  
> > First of all, that page says this plugin is not yet released (and it's 
> not on the download page as far as I can see - which I need as I've got an 
> offline install!). Is that correct?
>
> Indeed, I was waiting for jenkins core to be released and then forgot to 
> release the plugin. Will do asap
>
 
Ok - thanks. I'll look out for it.
 

> > 
> > Secondly you mention that the SCM plugins will need to be modified. Am I 
> right in presuming that this hasn't yet been done? If so, do you have any 
> idea when all this will get to the stage that it will all work together?
>
> Only the "realm" feature will require changes in scm plugins
>
Ah - I see (I think) - you're saying that, if you don't specify a "realm" 
it should all already work.
 
Thanks
John


Re: multiple runs claiming to be #

2012-09-26 Thread Felix Köhler
Thanks you made my day! 

I changed the path to ${ITEM_ROOTDIR}/builds .


Am Mittwoch, 26. September 2012 14:44:34 UTC+2 schrieb cjo:
>
> I saw a similar issue once when I miss configured an instance, when the 
> builds directory was set the same for all projects.
>  
>
> From the paths to the builds you give, it seems like you have the same 
> problem.
>
> under the Manage Jenkins/configure page 
> advanced section under home path.
>
> check that the path to the builds directory has the $PROJECT_NAME (check 
> the help for correct variable) specified in it somewhere.
>
>
> The reason for this is that Jenkins uses the build folders 
> (2012-09-26_11-01-17, etc) as referencs for the past builds, so having them 
> all generated into the same root directory causes it to see all build 
> results for every job. And if the OS supports links these are overridden by 
> the job that last ran, causing links to be pointing to different builds 
> than they should be.
>
> Chris
>
>
> On Wednesday, September 26, 2012 12:32:21 PM UTC+1, Felix Köhler wrote:
>>
>> Hi erveryone,
>>
>> Im new to this list. I tried serveral other communication way but found 
>> no good solution.
>>
>> After i restarted my Server with my tomcat/jenkins installation i got a 
>> strange problem.
>> Every Job (if they are the same type - Free Job Configuration) they have 
>> the same Build History. 
>>
>> For example at job "Alice Project" the build number was 107 and an other 
>> job "Bob Project" with the highest build number 42 in the Build History. 
>> After restarting, every Job has the same Build History. If i start a new 
>> build on "Bob Project", the new choosen build number is correct 43. But 
>> this number is not shown on the in the Build history because the highest 
>> number shown is #107 and so #43 will not displayed. The Alice and Bob 
>> Project are on the same git repository and it makes no difference if they 
>> are on different branches.
>>
>> When i check the Tomcatlog i get serval warnings like:
>>
>> WARNUNG: multiple runs claiming to be #0; using run from 
>> C:\Jenkins\builds\2012-09-26_10-55-40
>> 26.09.2012 11:35:05 hudson.model.RunMap load
>> WARNUNG: multiple runs claiming to be #0; using run from 
>> C:\Jenkins\builds\2012-09-26_11-01-16
>> 26.09.2012 11:35:05 hudson.model.RunMap load
>> WARNUNG: multiple runs claiming to be #0; using run from 
>> C:\Jenkins\builds\2012-09-26_11-01-17
>>
>> Information:
>>
>>- Buildsystem: Jenkins 1.483 Win XP 32 bit Java 7
>>- 5 Jobs on the same git-repsoitory
>>- Building of an Eclipse application and an Andorid application with 
>>Maven
>>
>>
>> I have to add that i get an Error while stopping Tomcat but i think that 
>> they different problems.
>>
>> ...
>>
>> [some more errors like the follow ones]
>>
>> SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
>> type [org.apache.tools.ant.Project$1] (value 
>> [org.apache.tools.ant.Project$1@1cf3d]) and a value of type 
>> [java.lang.Boolean] (value [false]) but failed to remove it when the web 
>> application was stopped. Threads are going to be renewed over time to try 
>> and avoid a probable memory leak.
>> 26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
>> checkThreadLocalMapForLeaks
>> SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
>> type [org.kohsuke.stapler.Stapler$1] (value 
>> [org.kohsuke.stapler.Stapler$1@18af3ef]) and a value of type 
>> [java.text.SimpleDateFormat] (value [java.text.SimpleDateFormat@c4dc9900]) 
>> but failed to remove it when the web application was stopped. Threads are 
>> going to be renewed over time to try and avoid a probable memory leak.
>> 26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
>> checkThreadLocalMapForLeaks
>> SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
>> type [net.sf.json.AbstractJSON$1] (value 
>> [net.sf.json.AbstractJSON$1@194e11d]) and a value of type 
>> [java.util.HashSet] (value [[]]) but failed to remove it when the web 
>> application was stopped. Threads are going to be renewed over time to try 
>> and avoid a probable memory leak.
>> 26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
>> checkThreadLocalMapForLeaks
>>
>> ...
>>
>> And i have to kill the tomcat process.
>>
>>
>>

Re: Feedback of your CI architecture

2012-09-26 Thread Michaël Pailloncy
Other question : What do you use to launch Jenkins ?
Currently,  we are using Winstone. Is this the best way?


2012/9/26 mpapo - Michaël Pailloncy 

> Hi all,
>
> Currently, we manage near 250 jobs related to several java projects and
> several teams in our company.
>
> Our CI architecture characteristics :
> - a Jenkins master on AIX 5.3 with 8 processors and 10 GB of RAM
> - 3 RHEL slaves with 2 processors and 4 GB of RAM
> - 2 Windows slaves with 1 processors and 2 GB of RAM
>
> We arrive sometimes has limitations with Jenkins. Especially during
> releases.
>
> Due to an increase of job number in our Jenkins in my company,  we want to
> change our architecture to meet our needs. We are going to manage near 500
> jobs.
> We want to switch the master on a RHEL OS (our new main target platform)
> and add an AIX slave for projects that need this platform.
>
> Here are our thoughts :
>
> - Do you think it would be interesting to have a master only used to
> monitor the jobs (0 executor, all builds are delegate to slaves) ?
>
> This could be interesting to have a more stable and more reliable master.
>
> - On the other hand, do you think it could be interesting to use multiple
> masters ? One for each team for example ?
>
> This could be nice to have a more specialized master per team but I guess
> it must increase the maintenance time.
>
>
>
> I need feedbacks from the community to choose the best architecture :
> How many jobs do you manage ?
> What are the characteristics of your architecture ? (number of slaves, of
> master ??)
> Would you prefer to use a slave with large capacity, or more with
> capacities smaller?
>
>
> Thanks in advance from any help and feeback !
>
> Michaël Pailloncy
>
>
>


Re: ln -s fails

2012-09-26 Thread Ilko Iliev
nobody? should I file a bug for this?

On Wed, Sep 19, 2012 at 12:26 PM, Ilko Iliev  wrote:

> yes - that's correct, this is the root user. Additional info: jenkins is
> running in WebSphere on the same machine:
>
> Product List
>
> 
> ND   installed
>
> Installed Product
>
> 
> Name  IBM WebSphere Application Server Network Deployment
> Version   8.5.0.0
> IDND
> Build Level   gm1218.01
> Build Date5/1/12
> Package   com.ibm.websphere.ND.v85_8.5.0.20120501_1108
> Architecture  System z (64 bit)
> Installed FeaturesIBM 64-bit WebSphere SDK for Java
>   WebSphere Application Server Full Profile
>   EJBDeploy tool for pre-EJB 3.0 modules
>   Embeddable EJB container
>   Stand-alone thin clients and resource adapters
>
>
> no slaves involved.
>
>
> On Wed, Sep 19, 2012 at 10:22 AM, Richard Bywater wrote:
>
>> Just to confirm (as some people forget), are you trying the ln -s
>> command on the command line whilst logged in as the same user that
>> Jenkins is running under?
>>
>> Richard.
>>
>> On Wed, Sep 19, 2012 at 8:16 PM, Ilko Iliev  wrote:
>> >
>> > Hi,
>> >
>> > I'm getting failed: -1 from ln -s at the end of each build. I saw
>> > JENKINS-4301 and JENKINS-4820, which I think is more related to my
>> > installation. I assume this is related to my "exotic" OS:
>> >
>> > Linux 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b)
>> > s390x s390x s390x GNU/Linux
>> >
>> > JDK (from WebSphere 8.5):
>> >
>> > java version "1.6.0"
>> > Java(TM) SE Runtime Environment (build
>> > pxz6460_26sr2ifix-20120419_02(SR2+IV19661))
>> > IBM J9 VM (build 2.6, JRE 1.6.0 Linux s390x-64 20120322_106210 (JIT
>> enabled,
>> > AOT enabled)
>> > J9VM - R26_Java626_SR2_20120322_1722_B106210
>> > JIT  - r11_20120322_22976
>> > GC   - R26_Java626_SR2_20120322_1722_B106210
>> > J9CL - 20120322_106210)
>> > JCL  - 20120316_01
>> >
>> > Jenkins at 1.447.2
>> >
>> > ln -s from command line works as expected.
>> >
>> > I can't find any log entries in the log files.
>> >
>> > Someone aware of this problem and fix for it?
>> >
>> > TIA,
>> > Ilko
>>
>


Re: CVS Users <-> Jenkins Users (using Active Directory etc)

2012-09-26 Thread nicolas de loof
Le 26 sept. 2012 12:36, "John McCabe"  a écrit :
>
> Thank you for that Nicolas. There are a couple of things I'm slightly
confused by.
>
> First of all, that page says this plugin is not yet released (and it's
not on the download page as far as I can see - which I need as I've got an
offline install!). Is that correct?

Indeed, I was waiting for jenkins core to be released and then forgot to
release the plugin. Will do asap

>
> Secondly you mention that the SCM plugins will need to be modified. Am I
right in presuming that this hasn't yet been done? If so, do you have any
idea when all this will get to the stage that it will all work together?

Only the "realm" feature will require changes in scm plugins

>
> Thanks again
> John
>
> On Wednesday, September 26, 2012 8:06:38 AM UTC+1, Nicolas De loof wrote:
>>
>> This is exactly the use-case I created
https://wiki.jenkins-ci.org/display/JENKINS/Additional+Identities+Pluginfor.
>>
>> 2012/9/25 John McCabe 
>>
>>> Hi all,
>>>
>>> I've seen something similar asked before, but the answers didn't seem
to fit my needs properly so hopefully this is a slightly different question
:-)
>>>
>>> I'm currently experimenting with Jenkins with a view to getting it
rolled out in the near future. For various reasons, I'm using the Active
Directory plugin to restrict access to AD group members. Through that, the
users that have logged in have their configuration set up automatically
including their email addresses.
>>>
>>> However, we're also using CVS with pserver authentication where the
usernames are different on the CVS system than on the AD system so I was
hoping there would be a way to easily map either CVS user names to email
addresses, or CVS user names on to AD user names that have been pulled in
by Jenkins. (At a later date we may move to SSPI authentication at which
point the user names might map properly, but that's a bit up in the air at
the moment).
>>>
>>> Can anyone make any suggestions?
>>>
>>> Thanks for your help.
>>> John
>>>
>>
>>


Feedback of your CI architecture

2012-09-26 Thread mpapo - Michaël Pailloncy
Hi all,

Currently, we manage near 250 jobs related to several java projects and 
several teams in our company.

Our CI architecture characteristics : 
- a Jenkins master on AIX 5.3 with 8 processors and 10 GB of RAM
- 3 RHEL slaves with 2 processors and 4 GB of RAM
- 2 Windows slaves with 1 processors and 2 GB of RAM

We arrive sometimes has limitations with Jenkins. Especially during 
releases.

Due to an increase of job number in our Jenkins in my company,  we want to 
change our architecture to meet our needs. We are going to manage near 500 
jobs.
We want to switch the master on a RHEL OS (our new main target platform) 
and add an AIX slave for projects that need this platform.

Here are our thoughts :

- Do you think it would be interesting to have a master only used to 
monitor the jobs (0 executor, all builds are delegate to slaves) ? 

This could be interesting to have a more stable and more reliable master.

- On the other hand, do you think it could be interesting to use multiple 
masters ? One for each team for example ?

This could be nice to have a more specialized master per team but I guess 
it must increase the maintenance time.



I need feedbacks from the community to choose the best architecture :
How many jobs do you manage ?
What are the characteristics of your architecture ? (number of slaves, of 
master ??)
Would you prefer to use a slave with large capacity, or more with 
capacities smaller?


Thanks in advance from any help and feeback !

Michaël Pailloncy

 


Re: multiple runs claiming to be #

2012-09-26 Thread cjo
I saw a similar issue once when I miss configured an instance, when the 
builds directory was set the same for all projects.
 

>From the paths to the builds you give, it seems like you have the same 
problem.

under the Manage Jenkins/configure page 
advanced section under home path.

check that the path to the builds directory has the $PROJECT_NAME (check 
the help for correct variable) specified in it somewhere.


The reason for this is that Jenkins uses the build folders 
(2012-09-26_11-01-17, etc) as referencs for the past builds, so having them 
all generated into the same root directory causes it to see all build 
results for every job. And if the OS supports links these are overridden by 
the job that last ran, causing links to be pointing to different builds 
than they should be.

Chris


On Wednesday, September 26, 2012 12:32:21 PM UTC+1, Felix Köhler wrote:
>
> Hi erveryone,
>
> Im new to this list. I tried serveral other communication way but found no 
> good solution.
>
> After i restarted my Server with my tomcat/jenkins installation i got a 
> strange problem.
> Every Job (if they are the same type - Free Job Configuration) they have 
> the same Build History. 
>
> For example at job "Alice Project" the build number was 107 and an other 
> job "Bob Project" with the highest build number 42 in the Build History. 
> After restarting, every Job has the same Build History. If i start a new 
> build on "Bob Project", the new choosen build number is correct 43. But 
> this number is not shown on the in the Build history because the highest 
> number shown is #107 and so #43 will not displayed. The Alice and Bob 
> Project are on the same git repository and it makes no difference if they 
> are on different branches.
>
> When i check the Tomcatlog i get serval warnings like:
>
> WARNUNG: multiple runs claiming to be #0; using run from 
> C:\Jenkins\builds\2012-09-26_10-55-40
> 26.09.2012 11:35:05 hudson.model.RunMap load
> WARNUNG: multiple runs claiming to be #0; using run from 
> C:\Jenkins\builds\2012-09-26_11-01-16
> 26.09.2012 11:35:05 hudson.model.RunMap load
> WARNUNG: multiple runs claiming to be #0; using run from 
> C:\Jenkins\builds\2012-09-26_11-01-17
>
> Information:
>
>- Buildsystem: Jenkins 1.483 Win XP 32 bit Java 7
>- 5 Jobs on the same git-repsoitory
>- Building of an Eclipse application and an Andorid application with 
>Maven
>
>
> I have to add that i get an Error while stopping Tomcat but i think that 
> they different problems.
>
> ...
>
> [some more errors like the follow ones]
>
> SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
> type [org.apache.tools.ant.Project$1] (value 
> [org.apache.tools.ant.Project$1@1cf3d]) and a value of type 
> [java.lang.Boolean] (value [false]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try 
> and avoid a probable memory leak.
> 26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
> type [org.kohsuke.stapler.Stapler$1] (value 
> [org.kohsuke.stapler.Stapler$1@18af3ef]) and a value of type 
> [java.text.SimpleDateFormat] (value [java.text.SimpleDateFormat@c4dc9900]) 
> but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> 26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
> type [net.sf.json.AbstractJSON$1] (value 
> [net.sf.json.AbstractJSON$1@194e11d]) and a value of type 
> [java.util.HashSet] (value [[]]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try 
> and avoid a probable memory leak.
> 26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
>
> ...
>
> And i have to kill the tomcat process.
>
>
>

Re: Automatic diagram

2012-09-26 Thread kikou
Hello
sorry for this late answer

I didnt pay attention but indeed it is working
Nevertheless i found pity that we need another graphical lib, i am sure 
that a plugin could be done with java tools only or html object, i really 
prefer a plugin which not needs external binaries.

K.

Le mercredi 5 septembre 2012 15:23:40 UTC+2, Mark Waite a écrit :
>
> We use that plugin very frequently and it works great for us.  Why do you 
> say "what a pity that this plugin is not maintained"?  We've not found any 
> cases where it had bugs or issues that blocked our work, and I don't recall 
> any recent complaints from other users either.
>  
> Can you describe further why you think it might need an update?
>  
> Mark Waite
>
>*From:* kikou >
> *To:* jenkins...@googlegroups.com  
> *Sent:* Wednesday, September 5, 2012 5:20 AM
> *Subject:* Re: Automatic diagram
>  
> Hi Gergo
>
> Thank you. The plugin you gave is exaclty what i am looking for.
> I maybe do a missunderstanding but it is the dependancy indeed i'd like to 
> have in a graph showing the sequence of projects (not build number), in 
> other words  seeing upstream and downstream projects in one graph.
>
> what a pitty that this plugin is not maintained. Yes maybe i could update 
> it but not now.
>
> Thank you a lot Gergo
>
> Rgds
> K.
>
> Le mercredi 5 septembre 2012 12:15:51 UTC+2, Gergo a écrit :
>
> Hi,
> You mention "job sequence" but if you mean "build sequence" - I don't 
> think it's predictable/static as it depends on dynamic factors (e.g 
> availability of slaves, build duration changes affect allocation).
> Not exactly sure about your requirements, but I'm using Dependency Graph 
> View: 
> http://wiki.hudson-ci.org/display/HUDSON/Dependency+Graph+View+Plugin , 
> this seems to be how far you can get solely looking at the jobs.
>
> hth,
> Gergo
>
> On Wed, Sep 5, 2012 at 8:14 AM, kikou  wrote:
>
> Hi all
>
> Is there any plugin which draw automatically a diagram showing the job 
> sequence ?
> So that it is more easy to show to some people the 
>
> i dont like the format of pipeline view and it is more to show the result 
> of last builds than the sequence.
>
>
> Rgds
> K.
>
>
>  
>
>  

multiple runs claiming to be #

2012-09-26 Thread Felix Köhler
Hi erveryone,

Im new to this list. I tried serveral other communication way but found no 
good solution.

After i restarted my Server with my tomcat/jenkins installation i got a 
strange problem.
Every Job (if they are the same type - Free Job Configuration) they have 
the same Build History. 

For example at job "Alice Project" the build number was 107 and an other 
job "Bob Project" with the highest build number 42 in the Build History. 
After restarting, every Job has the same Build History. If i start a new 
build on "Bob Project", the new choosen build number is correct 43. But 
this number is not shown on the in the Build history because the highest 
number shown is #107 and so #43 will not displayed. The Alice and Bob 
Project are on the same git repository and it makes no difference if they 
are on different branches.

When i check the Tomcatlog i get serval warnings like:

WARNUNG: multiple runs claiming to be #0; using run from 
C:\Jenkins\builds\2012-09-26_10-55-40
26.09.2012 11:35:05 hudson.model.RunMap load
WARNUNG: multiple runs claiming to be #0; using run from 
C:\Jenkins\builds\2012-09-26_11-01-16
26.09.2012 11:35:05 hudson.model.RunMap load
WARNUNG: multiple runs claiming to be #0; using run from 
C:\Jenkins\builds\2012-09-26_11-01-17

Information:

   - Buildsystem: Jenkins 1.483 Win XP 32 bit Java 7
   - 5 Jobs on the same git-repsoitory
   - Building of an Eclipse application and an Andorid application with 
   Maven


I have to add that i get an Error while stopping Tomcat but i think that 
they different problems.

...

[some more errors like the follow ones]

SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
type [org.apache.tools.ant.Project$1] (value 
[org.apache.tools.ant.Project$1@1cf3d]) and a value of type 
[java.lang.Boolean] (value [false]) but failed to remove it when the web 
application was stopped. Threads are going to be renewed over time to try 
and avoid a probable memory leak.
26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
type [org.kohsuke.stapler.Stapler$1] (value 
[org.kohsuke.stapler.Stapler$1@18af3ef]) and a value of type 
[java.text.SimpleDateFormat] (value [java.text.SimpleDateFormat@c4dc9900]) 
but failed to remove it when the web application was stopped. Threads are 
going to be renewed over time to try and avoid a probable memory leak.
26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [] created a ThreadLocal with key of 
type [net.sf.json.AbstractJSON$1] (value 
[net.sf.json.AbstractJSON$1@194e11d]) and a value of type 
[java.util.HashSet] (value [[]]) but failed to remove it when the web 
application was stopped. Threads are going to be renewed over time to try 
and avoid a probable memory leak.
26.09.2012 10:47:52 org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks

...

And i have to kill the tomcat process.




Re: deploy to Spring Insight server?

2012-09-26 Thread Ed Young
I should probably mention that this is Spring Insight version VMware
vFabric tc Runtime 2.7.1.RELEASE/6.0.35.B.RELEASE.

On Wed, Sep 26, 2012 at 5:09 AM, Ed Young  wrote:

>
> I'm trying unsuccessfully  to deploy from jenkins to the Spring Insight
> server (embedded tomcat 7)  using the Jenkins Deploy to Container plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin
>
> Is this the right plugin or is there another for Spring Insight?
>
> I've used it to deploy successfully to Tomcat 6.0 and to Tomcat 7.0 app
> servers in the past. I believe the embedded tomcat server is a Tomcat 7.0
> instance so I've configured the plugin so it deploys to Tomcat 7.0 and I've
> configured the embedded Tomcat tomcat-users.xml with
> roles="admin-gui,manager-gui,manager-script" as prescribed for Tomcst 7.0.
>
> The app is the ROOT.war app so the context is /.
>
> I've set the tomcat url to http://lite-dev.cable.company.com/manager/htmland 
> to
> http://lite-dev.cable.company.com and to
> http://lite-dev.cable.company.com/ in desperate attempts to have some
> success but so far no luck.
>



-- 
- Ed


deploy to Spring Insight server?

2012-09-26 Thread Ed Young
I'm trying unsuccessfully  to deploy from jenkins to the Spring Insight
server (embedded tomcat 7)  using the Jenkins Deploy to Container plugin
https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin

Is this the right plugin or is there another for Spring Insight?

I've used it to deploy successfully to Tomcat 6.0 and to Tomcat 7.0 app
servers in the past. I believe the embedded tomcat server is a Tomcat 7.0
instance so I've configured the plugin so it deploys to Tomcat 7.0 and I've
configured the embedded Tomcat tomcat-users.xml with
roles="admin-gui,manager-gui,manager-script" as prescribed for Tomcst 7.0.

The app is the ROOT.war app so the context is /.

I've set the tomcat url to http://lite-dev.cable.company.com/manager/htmland to
http://lite-dev.cable.company.com and to
http://lite-dev.cable.company.com/in desperate attempts to have some
success but so far no luck.


Does jenkins periodically re check out the workspace

2012-09-26 Thread John R. Cary

This is a behavior that we are seeing.

Is this standard?

Is there a regularity to it?

Thx.John Cary


Re: Using variables within the Jenkins email subject lines ?

2012-09-26 Thread Youri
I'm using this subject: Projec ${ENV,var="releaseVersion"} has been released
And releaseVersion is variable typed in by the user launching the job, now 
i'm not sure if you can actually create a variable during the job execution 
(from a shell script) and use it.

Le mardi 25 septembre 2012 23:31:23 UTC+2, Tom80112 a écrit :
>
> I would like to use variables within Jenkins email subject lines. 
>
> I am using the "editable email notification" plugin. 
>
> Instead of having a set-in-stone email subject line, I would like define 
> the subject line using a variable that I define based upon the job's 
> execution. 
>
> Anyone have any ideas? 
>
>   
>
>
>
> -- 
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/Using-variables-within-the-Jenkins-email-subject-lines-tp4641373.html
>  
> Sent from the Jenkins users mailing list archive at Nabble.com. 
>


Re: CVS Users <-> Jenkins Users (using Active Directory etc)

2012-09-26 Thread John McCabe
Thank you for that Nicolas. There are a couple of things I'm slightly 
confused by.
 
First of all, that page says this plugin is not yet released (and it's not 
on the download page as far as I can see - which I need as I've got an 
offline install!). Is that correct?
 
Secondly you mention that the SCM plugins will need to be modified. Am I 
right in presuming that this hasn't yet been done? If so, do you have any 
idea when all this will get to the stage that it will all work together?
 
Thanks again
John

On Wednesday, September 26, 2012 8:06:38 AM UTC+1, Nicolas De loof wrote:

> This is exactly the use-case I created 
> https://wiki.jenkins-ci.org/display/JENKINS/Additional+Identities+Pluginfor.
>
> 2012/9/25 John McCabe >
>
>> Hi all,
>>  
>> I've seen something similar asked before, but the answers didn't seem to 
>> fit my needs properly so hopefully this is a slightly different question :-)
>>  
>> I'm currently experimenting with Jenkins with a view to getting it rolled 
>> out in the near future. For various reasons, I'm using the Active Directory 
>> plugin to restrict access to AD group members. Through that, the users that 
>> have logged in have their configuration set up automatically including 
>> their email addresses.
>>  
>> However, we're also using CVS with pserver authentication where the 
>> usernames are different on the CVS system than on the AD system so I was 
>> hoping there would be a way to easily map either CVS user names to email 
>> addresses, or CVS user names on to AD user names that have been pulled in 
>> by Jenkins. (At a later date we may move to SSPI authentication at which 
>> point the user names might map properly, but that's a bit up in the air at 
>> the moment).
>>  
>> Can anyone make any suggestions?
>>  
>> Thanks for your help.
>> John
>>  
>>
>
>

Build flow - allow additional build steps

2012-09-26 Thread Reuben Gow
Hi,

I would like to be able to add additional build steps before and after the 
DSL in a 'Build Flow' job. I want to be able to execute system groovy 
scripts and shell scripts before to prepare certain things before kicking 
off other builds. Would it be possible for this functionality to be added 
to the plugin?

Thanks


Re: 'Even Load Strategy' Plugin

2012-09-26 Thread Stephen Connolly
On 26 September 2012 09:42, David Aldrich wrote:

>  Hi Stephen
>
> ** **
>
> Thanks for the indication that there is some hope that 'Even Load
> Strategy' could one day become free.
>
> **
>

Long long in the future ;-)


>  **
>
> However, I can’t imagine what a supporting business case might be.
>

Nor can I, hence why I say long long in the future for Even Load Strategy.
But situations change, and sometimes can change rapidly.


> 
>
> ** **
>
> What business case did you make for ‘Credentials’?
>

Credentials provides a core abstraction. In order for that abstraction to
be of any value, the abstraction needs to be used by the open source
plugins, such as ssh-slaves, subversion, git, jira, etc

As such the plugin needs to be open source.

The higher level functionality that we have in mind based off of, e.g. our
RBAC plugin, etc can remain closed source... though some of the use cases
that we have driving that have to wait for more open source plugins to
support Credentials.

Credentials was easy!


> 
>
> ** **
>
> David
>
> ** **
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Stephen Connolly
> *Sent:* 26 September 2012 09:38
>
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: 'Even Load Strategy' Plugin
>
>  ** **
>
> On 26 September 2012 09:12, David Aldrich 
> wrote:
>
> Thanks for the clarification.
>
> It would be nice if there was some initiative to produce an open-source
> plugin with similar functionality.  But I guess that will not come from
> CloudBees.
>
>  ** **
>
> Well we do like to push our plugins "down the stack" *when it makes
> sense*. 
>
> ** **
>
> So for example the Folders plugin started off life as a Paid plugin, it is
> now Free (closed source).
>
> ** **
>
> The Credentials plugin started off life as being Paid functionality that
> was to be an enhancement to the Folders plugin. In the end, however, I was
> able to make a good business case that that specific plugin should be Free
> (open source).
>
> ** **
>
> [My only gripe is that no paying customer has pestered us to integrate the
> Credentials plugin into the Subversion and Git plugins... if enough of them
> pester Product Management then I get to work on that during work hours and
> not just my spare time (current spare time < none) ;-) ]
>
> ** **
>
> If we (the cloudbees developers) can make a good business case for a
> plugin being made Free (open source), then my experience shows that our
> management is responsive.
>
> ** **
>
> I cannot currently see such a business case for the Even Load plugin. 
>
> ** **
>
> But that does not mean that such a business case cannot be made!
>
> ** **
>
> -Stephen
>
>  
>
> Best regards
>
> David
>
> 
>
>
>
> 
>
> Click 
> hereto
>  report this email as spam.
> 
>


RE: 'Even Load Strategy' Plugin

2012-09-26 Thread David Aldrich
Hi Stephen

Thanks for the indication that there is some hope that 'Even Load Strategy' 
could one day become free.

However, I can't imagine what a supporting business case might be.

What business case did you make for 'Credentials'?

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly
Sent: 26 September 2012 09:38
To: jenkinsci-users@googlegroups.com
Subject: Re: 'Even Load Strategy' Plugin

On 26 September 2012 09:12, David Aldrich 
mailto:david.aldr...@emea.nec.com>> wrote:
Thanks for the clarification.

It would be nice if there was some initiative to produce an open-source plugin 
with similar functionality.  But I guess that will not come from CloudBees.

Well we do like to push our plugins "down the stack" *when it makes sense*.

So for example the Folders plugin started off life as a Paid plugin, it is now 
Free (closed source).

The Credentials plugin started off life as being Paid functionality that was to 
be an enhancement to the Folders plugin. In the end, however, I was able to 
make a good business case that that specific plugin should be Free (open 
source).

[My only gripe is that no paying customer has pestered us to integrate the 
Credentials plugin into the Subversion and Git plugins... if enough of them 
pester Product Management then I get to work on that during work hours and not 
just my spare time (current spare time < none) ;-) ]

If we (the cloudbees developers) can make a good business case for a plugin 
being made Free (open source), then my experience shows that our management is 
responsive.

I cannot currently see such a business case for the Even Load plugin.

But that does not mean that such a business case cannot be made!

-Stephen

Best regards

David




Click 
here
 to report this email as spam.


Re: 'Even Load Strategy' Plugin

2012-09-26 Thread Stephen Connolly
On 26 September 2012 09:12, David Aldrich wrote:

> Thanks for the clarification.
>
> It would be nice if there was some initiative to produce an open-source
> plugin with similar functionality.  But I guess that will not come from
> CloudBees.
>
>
Well we do like to push our plugins "down the stack" *when it makes sense*.

So for example the Folders plugin started off life as a Paid plugin, it is
now Free (closed source).

The Credentials plugin started off life as being Paid functionality that
was to be an enhancement to the Folders plugin. In the end, however, I was
able to make a good business case that that specific plugin should be Free
(open source).

[My only gripe is that no paying customer has pestered us to integrate the
Credentials plugin into the Subversion and Git plugins... if enough of them
pester Product Management then I get to work on that during work hours and
not just my spare time (current spare time < none) ;-) ]

If we (the cloudbees developers) can make a good business case for a plugin
being made Free (open source), then my experience shows that our management
is responsive.

I cannot currently see such a business case for the Even Load plugin.

But that does not mean that such a business case cannot be made!

-Stephen


> Best regards
>
> David
>
>
>


Re: way to determine if plugin is being used

2012-09-26 Thread Stephen Connolly
I do hate to put this hat on excessively on this list

[CloudBees hat]
We have an Enterprise plugin that provides that feature:
http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/plugin-usage.html

It is currently available as a beta release, but will be in the 12.11
release
[/CloudBees hat]

[Not wearing CloudBees hat at all and I never said this]
If you just have a one time need, you could try the plugin with the
evaluation license... but then once the evaluation license expires you will
never be able to get an evaluation license on that Jenkins instance again
:-(
[/Not wearing CloudBees hat at all and I never said this]

-Stephen

On 24 September 2012 19:47, grayaii  wrote:

> Hi,
> Is there a way to figure out if a plugin is being used? (either groovy
> script, CLI, api/xml, etc)
> We have a bunch of plugins installed, but I don't think we are not using
> half of them and I would like to uninstall them.
> Thanks!
>
>
>
> --
> View this message in context:
> http://jenkins.361315.n4.nabble.com/way-to-determine-if-plugin-is-being-used-tp4641231.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
>


RE: 'Even Load Strategy' Plugin

2012-09-26 Thread David Aldrich
Thanks for the clarification.

It would be nice if there was some initiative to produce an open-source plugin 
with similar functionality.  But I guess that will not come from CloudBees.

Best regards

David




Re: 'Even Load Strategy' Plugin

2012-09-26 Thread Stephen Connolly
I am developer not sales but yes, paid only (and you can try before you
buy with the evaluation license)

On 26 September 2012 08:33, David Aldrich wrote:

>  Hi Stephen
>
> ** **
>
> So, just to be clear, is the 'Even Load Strategy' Plugin only available
> under the paid license?
>
> ** **
>
> BR
>
> ** **
>
> David
>
> ** **
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Stephen Connolly
> *Sent:* 25 September 2012 21:25
>
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: 'Even Load Strategy' Plugin
>
>  ** **
>
> [CloudBees hat]
>
> The evaluation license is a time limited full license allowing the use of
> all CloudBees plugins.
>
> ** **
>
> We have three license types:
>
> ** **
>
> * Free license - covers the free (but closed source) plugins, e.g.
> folders, cloud-backup, etc
>
> ** **
>
> * Evalutation license - a time limited license for all plugins with no
> restrictions (other than the time)
>
> ** **
>
> * Paid license - a license for all plugins and a set number of executors.*
> ***
>
> ** **
>
> HTH
>
> ** **
>
> -Stephen
>
> [/CloudBees hat]
>
> On 25 September 2012 19:26, Jason Swager  wrote:
>
> The wiki page has the following text:
>
> ** **
>
> "If you evaluate our value-add plugins in this manner and decide not to
> purchase a license, you need to remove all the value-add plugins to keep
> using it as a stock Jenkins installation."
>
> ** **
>
> This seems to imply that an evaluation license is only to evaluate, not to
> use for production.  Production use of the plugins requires a purchased
> license.
>
>
> On Tuesday, September 25, 2012 11:21:34 AM UTC-7, Nicolas De loof wrote:**
> **
>
> ** **
>
> 2012/9/25 David Aldrich 
>
> ** **
>
>
> > No evaluation restriction, you can run CloudBees Enterprise plugins on
> you own
> > jenkins if you don't want / can't install Jenkins Enteprise. You'll need
> a valid license,
> > and can request an evaluation one to test those plugins.
>
> Well, I don't know. It looks like an evaluation license to me.
>
>  ** **
>
> Sure it is, I'm a CloudBees employee !
>
> What make you think this is for evaluation purpose only ? This reveals we
> are failing to make documentation clear on this wiki page.
>
> ** **
>
>  
>
>
> David
>
>   ** **
>
> ** **
>
> ** **
>
> Click 
> hereto
>  report this email as spam.
> 
>


Re: 'Even Load Strategy' Plugin

2012-09-26 Thread nicolas de loof
yes it is

2012/9/26 David Aldrich 

>  Hi Stephen
>
> ** **
>
> So, just to be clear, is the 'Even Load Strategy' Plugin only available
> under the paid license?
>
> ** **
>
> BR
>
> ** **
>
> David
>
> ** **
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Stephen Connolly
> *Sent:* 25 September 2012 21:25
>
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: 'Even Load Strategy' Plugin
>
>  ** **
>
> [CloudBees hat]
>
> The evaluation license is a time limited full license allowing the use of
> all CloudBees plugins.
>
> ** **
>
> We have three license types:
>
> ** **
>
> * Free license - covers the free (but closed source) plugins, e.g.
> folders, cloud-backup, etc
>
> ** **
>
> * Evalutation license - a time limited license for all plugins with no
> restrictions (other than the time)
>
> ** **
>
> * Paid license - a license for all plugins and a set number of executors.*
> ***
>
> ** **
>
> HTH
>
> ** **
>
> -Stephen
>
> [/CloudBees hat]
>
> On 25 September 2012 19:26, Jason Swager  wrote:
>
> The wiki page has the following text:
>
> ** **
>
> "If you evaluate our value-add plugins in this manner and decide not to
> purchase a license, you need to remove all the value-add plugins to keep
> using it as a stock Jenkins installation."
>
> ** **
>
> This seems to imply that an evaluation license is only to evaluate, not to
> use for production.  Production use of the plugins requires a purchased
> license.
>
>
> On Tuesday, September 25, 2012 11:21:34 AM UTC-7, Nicolas De loof wrote:**
> **
>
> ** **
>
> 2012/9/25 David Aldrich 
>
> ** **
>
>
> > No evaluation restriction, you can run CloudBees Enterprise plugins on
> you own
> > jenkins if you don't want / can't install Jenkins Enteprise. You'll need
> a valid license,
> > and can request an evaluation one to test those plugins.
>
> Well, I don't know. It looks like an evaluation license to me.
>
>  ** **
>
> Sure it is, I'm a CloudBees employee !
>
> What make you think this is for evaluation purpose only ? This reveals we
> are failing to make documentation clear on this wiki page.
>
> ** **
>
>  
>
>
> David
>
>   ** **
>
> ** **
>
> ** **
>
> Click 
> hereto
>  report this email as spam.
> 
>


RE: 'Even Load Strategy' Plugin

2012-09-26 Thread David Aldrich
Hi Stephen

So, just to be clear, is the 'Even Load Strategy' Plugin only available under 
the paid license?

BR

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly
Sent: 25 September 2012 21:25
To: jenkinsci-users@googlegroups.com
Subject: Re: 'Even Load Strategy' Plugin

[CloudBees hat]
The evaluation license is a time limited full license allowing the use of all 
CloudBees plugins.

We have three license types:

* Free license - covers the free (but closed source) plugins, e.g. folders, 
cloud-backup, etc

* Evalutation license - a time limited license for all plugins with no 
restrictions (other than the time)

* Paid license - a license for all plugins and a set number of executors.

HTH

-Stephen
[/CloudBees hat]
On 25 September 2012 19:26, Jason Swager 
mailto:j.a.swa...@gmail.com>> wrote:
The wiki page has the following text:

"If you evaluate our value-add plugins in this manner and decide not to 
purchase a license, you need to remove all the value-add plugins to keep using 
it as a stock Jenkins installation."

This seems to imply that an evaluation license is only to evaluate, not to use 
for production.  Production use of the plugins requires a purchased license.

On Tuesday, September 25, 2012 11:21:34 AM UTC-7, Nicolas De loof wrote:

2012/9/25 David Aldrich mailto:david@emea.nec.com>>


> No evaluation restriction, you can run CloudBees Enterprise plugins on you own
> jenkins if you don't want / can't install Jenkins Enteprise. You'll need a 
> valid license,
> and can request an evaluation one to test those plugins.
Well, I don't know. It looks like an evaluation license to me.

Sure it is, I'm a CloudBees employee !
What make you think this is for evaluation purpose only ? This reveals we are 
failing to make documentation clear on this wiki page.



David




Click 
here
 to report this email as spam.


Re: maven installation config gets lost

2012-09-26 Thread Lars Fischer
Hello,

2012/9/26 dimasla :
> Exactly same problem, also in 1.483.
>
> On Tuesday, September 25, 2012 7:22:43 PM UTC+7, Lars Fischer wrote:
>>
>> I just recognized a problem with my Jenkins instance (version 1.483).
>>
>> After changing some other values on the system config page, the maven
>> installation value was lost.
>> Trying to configure a new maven installation, it looks like there is a
>> problem storing this config value.


I filed a new issue: https://issues.jenkins-ci.org/browse/JENKINS-15312


Regards,
Lars


Re: CVS Users <-> Jenkins Users (using Active Directory etc)

2012-09-26 Thread nicolas de loof
This is exactly the use-case I created
https://wiki.jenkins-ci.org/display/JENKINS/Additional+Identities+Pluginfor.

2012/9/25 John McCabe 

> Hi all,
>
> I've seen something similar asked before, but the answers didn't seem to
> fit my needs properly so hopefully this is a slightly different question :-)
>
> I'm currently experimenting with Jenkins with a view to getting it rolled
> out in the near future. For various reasons, I'm using the Active Directory
> plugin to restrict access to AD group members. Through that, the users that
> have logged in have their configuration set up automatically including
> their email addresses.
>
> However, we're also using CVS with pserver authentication where the
> usernames are different on the CVS system than on the AD system so I was
> hoping there would be a way to easily map either CVS user names to email
> addresses, or CVS user names on to AD user names that have been pulled in
> by Jenkins. (At a later date we may move to SSPI authentication at which
> point the user names might map properly, but that's a bit up in the air at
> the moment).
>
> Can anyone make any suggestions?
>
> Thanks for your help.
> John
>
>