Re: Version upgrade

2013-09-16 Thread Steffen Breitbach
Hi Suri,

from what you describe I (can only) guess that your issue is with a plug
in. Have you updated plug ins after updating to 1.509.2 LTS?

You might try to disable the plugins manually and then re-enable then
one by one.

Regards
  Steffen

On Mon, 2013-09-16 at 23:34 -0700, Suri wrote: 
> Dear all,
> 
>  
> 
> I need your advice. Recently i have upgraded my Jenkins version 1.466
> to 1.509.2 LTS version. I have noticed that there is new security
> Re-key feature is added in latest LTS version.
> 
> I have seen 3 options in manage Jenkins page for continue new security
> re-key feature, i have selected “dismiss the message” option and
> re-started Jenkins.
> 
>  
> 
> I could able to access Jenkins without any issues. As per my business
> team requirement, i have  replaced Jenkins war from 1.509.2 to 1.466
> my existing version.
> 
> After that, i am not able to see Jenkins index page in console. I am
> getting below error. 
> 
>  
> 
> Status Code: 500
> 
> Exception: org.apache.commons.jelly.JellyTagException:
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/hudson/model/View/index.jelly:44:43:
>   org.apache.commons.jelly.JellyTagException: 
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/lib/hudson/projectView.jelly:64:22:
>   java.lang.NullPointerException
> Stacktrace: 
> 
> javax.servlet.ServletException:
> org.apache.commons.jelly.JellyTagException:
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/hudson/model/View/index.jelly:44:43:
>   org.apache.commons.jelly.JellyTagException: 
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/lib/hudson/projectView.jelly:64:22:
>   java.lang.NullPointerException
> 
> at
> org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117)
> 
>  
> 
> Please can anyone help me to resolve this error.  
> 
>  
> 
>  
> 
> 

-- 
lies http://www.tty1.net/smart-questions_de.html
read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

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


Version upgrade

2013-09-16 Thread Suri


Dear all,

 

I need your advice. Recently i have upgraded my Jenkins version 1.466 to 
1.509.2 LTS version. I have noticed that there is new security Re-key 
feature is added in latest LTS version.

I have seen 3 options in manage Jenkins page for continue new security 
re-key feature, i have selected “dismiss the message” option and re-started 
Jenkins.

 

I could able to access Jenkins without any issues. As per my business team 
requirement, i have  replaced Jenkins war from 1.509.2 to 1.466 my existing 
version.

After that, i am not able to see Jenkins index page in console. I am 
getting below error. 

 

*Status Code: 500*

Exception: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/hudson/model/View/index.jelly:44:43:
 
 org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/lib/hudson/projectView.jelly:64:22:
 
 java.lang.NullPointerException
Stacktrace: **

javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/hudson/model/View/index.jelly:44:43:
 
 org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/lib/hudson/projectView.jelly:64:22:
 
 java.lang.NullPointerException

at 
org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117)

 

Please can anyone help me to resolve this error.  

 

 

-- 
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: Detect when a slave status changes from offline to online

2013-09-16 Thread Geoff Cummings
This plugin might help:
https://wiki.jenkins-ci.org/display/JENKINS/Startup+Trigger

You can use it to trigger a job when any slaves come online or just
specific slaves.

Geoff


On 16 Sep 2013, at 14:11, "Tânia Magalhães" 
wrote:

Hi!

Does anyone knows if there is a way to "tell" jenkins to detect when a
slave becomes online and in that situation to trigger a specific job?

Thanks,
Tânia

-- 
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: Continuous release with Maven and Jenkins - Multi module or Aggregation module

2013-09-16 Thread Nestor Urquiza
Thanks for replying. It is actually more than that. How can we use jenkins 
to call the command is the most important part of it all. About directory 
structure that is the second part. Anybody?

On Monday, September 16, 2013 12:49:10 PM UTC-4, Deryl Spielman wrote:
>
> It's almost as if you have to put the dependent Jenkins projects 
> workspaces in the same directory structure. Otherwise a pre-build script 
> should checkout dependent projects in the parent pom workspace?
>

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


jenkins swallowing errors

2013-09-16 Thread Andreas Zschorn
Hi together, 
Does anyone has seen a similar error or do i have to create a ticket ? 

i don't know since when exaclty but jenkins is swallowing the latest build 
error. It cuts everything behind "final memory".

 Most probably since 1.527 but i am not sure.
Environment: windows slave, linux master,
jenkins 1.530,
On jenkins latest messages on console are:

[INFO] 
[INFO] 
[INFO] Building components.build.bl.entitybuild-api 1.2.0-RCP-bundling-SNAPSHOT
[INFO] 
[WARNING]
 The POM for 
de.zeb.control.components.build.bl:components.build.bl.resource-api:jar:1.2.3-RCP-bundling-SNAPSHOT
 is missing, no dependency information available[WARNING] The POM for 
de.zeb.control.components.entity.bl:components.entity.bl.entityadmin-api:jar:1.3.0-RCP-bundling-SNAPSHOT
 is missing, no dependency information available[WARNING] The POM for 
de.zeb.control.components.model.bl:components.model.bl.issuerepo-api:jar:1.1.0-RCP-bundling-SNAPSHOT
 is missing, no dependency information available[JENKINS] Archiving disabled
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 2.792s
[INFO] Finished at: Mon Sep 16 17:31:15 CEST 2013
[INFO] Final Memory: 10M/80M
[INFO] --

on local maven build:
[INFO] 
[INFO] Total time: 8.845s
[INFO] Finished at: Mon Sep 16 17:32:59 CEST 2013
[INFO] Final Memory: 8M/39M
[INFO] 
[ERROR] Failed to execute goal on project components.build.bl.entitybuild-api: C
ould not resolve dependencies for project de.zeb.control.components.build.bl:com
ponents.build.bl.entitybuild-api:jar:1.2.0-RCP-bundling-SNAPSHOT: The following
artifacts could not be resolved: de.zeb.control.components.build.bl:components.b
uild.bl.resource-api:jar:1.2.3-RCP-bundling-SNAPSHOT, de.zeb.control.components.
entity.bl:components.entity.bl.entityadmin-api:jar:1.3.0-RCP-bundling-SNAPSHOT,
de.zeb.control.components.model.bl:components.model.bl.issuerepo-api:jar:1.1.0-R
CP-bundling-SNAPSHOT: Could not find artifact de.zeb.control.components.build.bl
:components.build.bl.resource-api:jar:1.2.3-RCP-bundling-SNAPSHOT in allmirror (
http://maven.zeb.de/content/groups/public) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso



-- 
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: Detect when a slave status changes from offline to online

2013-09-16 Thread mark_kendzior
Can you use the Jenkins CLI to launch the job when the machine starts up? 
 Or possibly just the URL to the build job with the build parameter?

A few more details on the process you are trying to follow may generate 
some other suggestions.

Mark

On Monday, September 16, 2013 7:11:26 AM UTC-6, Tânia Magalhães wrote:
>
> Hi!
>
> Does anyone knows if there is a way to "tell" jenkins to detect when a 
> slave becomes online and in that situation to trigger a specific job?
>
> Thanks,
> Tânia
>

-- 
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: Copy Artifacts Configuration Under Source Control

2013-09-16 Thread Eric Blom
I have never looked at the Envfile Plugin. Until now.

I'm not aware of a way to define the Copy Artifacts settings via an environment 
variable. Maybe I'm lacking in my understanding of Jenkins. It would be very 
useful to be able to override any configuration setting with a matching 
environment variable.

Eric



On Sep 16, 2013, at 1:04 PM, Eric Pyle 
mailto:eric.p...@cd-adapco.com>> wrote:

Couldn't you define the versions in a file in source control, which would then 
be read by the Jenkins Environment File 
Plugin?

Eric

On 9/16/2013 2:41 PM, Eric Blom wrote:

Hello Everyone,

I have a number of different jobs that I want to bundle together under several 
different configurations. My plan is to have a job for each software product 
and then another job for each bundle configuration. In the bundle configuration 
jobs I'll use the copy artifacts plug in to grab the specific build of each 
software product. The copy artifacts plugin's "which build" option gives me 
good flexibility in controlling what goes into the bundle. The one thing I 
can't figure out is how can I get the copy artifacts configurations (bundle 
configurations) to come from a file that is under source control. I feel the 
bundle definitions will be too complex to manage them via the job configuration 
web page.

Cheers,
Eric

This message and any attachments may contain Cypress (or its subsidiaries) 
confidential information. If it has been received in error, please advise the 
sender and immediately delete this message.




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

This message and any attachments may contain Cypress (or its subsidiaries) 
confidential information. If it has been received in error, please advise the 
sender and immediately delete this message.

-- 
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: Job Parameters used in Build Steps question

2013-09-16 Thread Daniel Beck
Use a simple script (e.g. Windows batch) build step instead. Then you'll have 
full control over your build tool invocation.

On 16.09.2013, at 23:01, Bob Bick  wrote:

> Hi,
>  
> Our Jenkins jobs have various command line parameters which apply to various 
> build steps. Some build steps (e.g. Top-level Maven build, Grails build step) 
> add all of the jobs input parameters to its command line.
>  
> Q. Is there a way to limit the command line parameters that are applied to 
> the various build steps? That is, I don’t want every job input parameter to 
> be passed to the Grails and/or Maven command line.
>  
> Thanks for any help in advance,
> Bob
> 
> *** *** ***
> This message contains information which may be confidential and privileged. 
> Unless you are the addressee (or authorized to receive for the addressee), 
> you may not use, copy or disclose to anyone the message or any information 
> contained in the message. If you have received the message in error,  please 
> advise the sender by reply e-mail and delete the message.
> 
> 
> -- 
> 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.


Job Parameters used in Build Steps question

2013-09-16 Thread Bob Bick
Hi,

Our Jenkins jobs have various command line parameters which apply to various 
build steps. Some build steps (e.g. Top-level Maven build, Grails build step) 
add all of the jobs input parameters to its command line.

Q. Is there a way to limit the command line parameters that are applied to the 
various build steps? That is, I don't want every job input parameter to be 
passed to the Grails and/or Maven command line.

Thanks for any help in advance,
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
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 Settings problem

2013-09-16 Thread Eric Pyle
When I have worked with Jenkins and Maven, we also had a build trigger 
on the trunk. But it does not trigger a release build, instead it 
triggers a snapshot build. Snapshot build does not execute 
release:prepare, so it does not cause a change in source control in the 
trunk. You do get one technically unnecessary build of the trunk when 
you perform a release build and it checks in the new tag, but that's it. 
A release build is only triggered manually when you need to release a 
stable set of artifacts to others, e.g. for testing before a public release.


Eric

On 9/16/2013 3:18 PM, Manoj Kumar Bardhan wrote:


Thanks for your reply.Yes.Actually its working.But when 
release:prepare execute it re-increment the trunk pom.XML version.And 
successfully create the tag with out snapshot.And when my Jenkins runs 
after 15 mins it found that a new version in trunk , and it start 
build process again. Repeats same ...in every 15 mins.But, I know 
there is no code changes.


On Sep 17, 2013 12:35 AM, "Richard Bywater" > wrote:


Do you really want to build a version every build? I've not used
Maven within Jenkins but I'd imagine you'd have a separate release
job that did that part?

Richard.

On Monday, September 16, 2013, Manoj Kumar Bardhan wrote:

Hi,

I am using Maven Release Plugin for automate the build &
release process.Its working fine but one problem I am facing.

I have created a job, which is checking trunk in every 15
mins, if any changes found it starts the build & release
process.And its working fine.

But , small problem is when the |release:prepare| is executing
, it is creating the tag and auto increment the trunk/pom.xml
version (with SNAPSHOT) to next release version-SNAPSHOT.

Suppose my current build version is 2.0-SNAPSHOT. After
successfully build it create the tag with only 2.0 (without
SNAPSHOT). Also it auto increments the pom.xml inside trunk to
2.1-SNAPSHOT.

The problem is , when my Jenkins (crontab) checking the trunk
in every 15 mins ,it is found a new version inside the trunk
(i.e. pom.xml ). And it creates another build again. This
process is happening again and again.Where as I know there is
no code changes in trunk, only version has incremented by
|release:prepare| command.

How to avoid this.


What mistake I did.
Thanks in Advance.
-- 
You received this message because you are subscribed to the

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

-- 
You received this message because you are subscribed to a topic in

the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jenkinsci-users/CQib5RUIWzo/unsubscribe.
To unsubscribe from this group and all its topics, send an email
to jenkinsci-users+unsubscr...@googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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: Copy Artifacts Configuration Under Source Control

2013-09-16 Thread Eric Pyle
Couldn't you define the versions in a file in source control, which 
would then be read by the Jenkins Environment File Plugin 
?


Eric

On 9/16/2013 2:41 PM, Eric Blom wrote:

Hello Everyone,

I have a number of different jobs that I want to bundle together under several different 
configurations. My plan is to have a job for each software product and then another job 
for each bundle configuration. In the bundle configuration jobs I'll use the copy 
artifacts plug in to grab the specific build of each software product. The copy artifacts 
plugin's "which build" option gives me good flexibility in controlling what 
goes into the bundle. The one thing I can't figure out is how can I get the copy 
artifacts configurations (bundle configurations) to come from a file that is under source 
control. I feel the bundle definitions will be too complex to manage them via the job 
configuration web page.

Cheers,
Eric

This message and any attachments may contain Cypress (or its subsidiaries) 
confidential information. If it has been received in error, please advise the 
sender and immediately delete this message.



--
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 Settings problem

2013-09-16 Thread Richard Bywater
Do you really want to build a version every build? I've not used Maven
within Jenkins but I'd imagine you'd have a separate release job that did
that part?

Richard.

On Monday, September 16, 2013, Manoj Kumar Bardhan wrote:

> Hi,
>
> I am using Maven Release Plugin for automate the build & release
> process.Its working fine but one problem I am facing.
>
> I have created a job, which is checking trunk in every 15 mins, if any
> changes found it starts the build & release process.And its working fine.
>
> But , small problem is when the release:prepare is executing , it is
> creating the tag and auto increment the trunk/pom.xml version (with
> SNAPSHOT) to next release version-SNAPSHOT.
>
> Suppose my current build version is 2.0-SNAPSHOT. After successfully build
> it create the tag with only 2.0 (without SNAPSHOT). Also it auto increments
> the pom.xml inside trunk to 2.1-SNAPSHOT.
> The problem is , when my Jenkins (crontab) checking the trunk in every 15
> mins ,it is found a new version inside the trunk (i.e. pom.xml ). And it
> creates another build again. This process is happening again and
> again.Where as I know there is no code changes in trunk, only version has
> incremented by release:prepare command.
>
> How to avoid this.
>
>
> What mistake I did.
> Thanks in Advance.
>
> --
> 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  'cvml', 'jenkinsci-users%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to 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 Settings problem

2013-09-16 Thread Manoj Kumar Bardhan
Thanks for your reply.Yes.Actually its working.But when release:prepare
execute it re-increment the trunk pom.XML version.And successfully create
the tag with out snapshot.And when my Jenkins runs after 15 mins it found
that a new version in trunk , and it start build process again. Repeats
same ...in every 15 mins.But, I know there is no code changes.
On Sep 17, 2013 12:35 AM, "Richard Bywater"  wrote:

> Do you really want to build a version every build? I've not used Maven
> within Jenkins but I'd imagine you'd have a separate release job that did
> that part?
>
> Richard.
>
> On Monday, September 16, 2013, Manoj Kumar Bardhan wrote:
>
>> Hi,
>>
>> I am using Maven Release Plugin for automate the build & release
>> process.Its working fine but one problem I am facing.
>>
>> I have created a job, which is checking trunk in every 15 mins, if any
>> changes found it starts the build & release process.And its working fine.
>>
>> But , small problem is when the release:prepare is executing , it is
>> creating the tag and auto increment the trunk/pom.xml version (with
>> SNAPSHOT) to next release version-SNAPSHOT.
>>
>> Suppose my current build version is 2.0-SNAPSHOT. After successfully
>> build it create the tag with only 2.0 (without SNAPSHOT). Also it auto
>> increments the pom.xml inside trunk to 2.1-SNAPSHOT.
>> The problem is , when my Jenkins (crontab) checking the trunk in every 15
>> mins ,it is found a new version inside the trunk (i.e. pom.xml ). And it
>> creates another build again. This process is happening again and
>> again.Where as I know there is no code changes in trunk, only version has
>> incremented by release:prepare command.
>>
>> How to avoid this.
>>
>>
>> What mistake I did.
>> Thanks in Advance.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/CQib5RUIWzo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

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


Copy Artifacts Configuration Under Source Control

2013-09-16 Thread Eric Blom
Hello Everyone,

I have a number of different jobs that I want to bundle together under several 
different configurations. My plan is to have a job for each software product 
and then another job for each bundle configuration. In the bundle configuration 
jobs I'll use the copy artifacts plug in to grab the specific build of each 
software product. The copy artifacts plugin's "which build" option gives me 
good flexibility in controlling what goes into the bundle. The one thing I 
can't figure out is how can I get the copy artifacts configurations (bundle 
configurations) to come from a file that is under source control. I feel the 
bundle definitions will be too complex to manage them via the job configuration 
web page.

Cheers,
Eric

This message and any attachments may contain Cypress (or its subsidiaries) 
confidential information. If it has been received in error, please advise the 
sender and immediately delete this message.

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


Re: Build Pipeline post build step does not appear

2013-09-16 Thread Eric Wood
It appears that the documentation for the build pipeline plugin 1.4 is not 
correct.  The document states:

1. Scroll down to the Post-build Actions section.
1. For an Automated downstream build step;
To add a build step that will trigger automatically upon the successful 
completion of the previous one:
1. Select the Build other projects check-box
2. Enter the name(s) of the downstream projects in the Projects to 
build field. (n.b. Multiple projects can be specified by using comma, like 
"abc, def".)
2. For a Manually Triggered downstream build step:
To add a build step that will wait for a manual trigger:
1. Select the Build Pipeline Plugin -> Manually Execute Downstream 
Project check-box
2. Enter the name(s) of the downstream projects in the Downstream 
Project Names field. (n.b. Multiple projects can be specified by using comma, 
like "abc, def".)


What appears on my "Add post-build action" drop-down is "Build other projects 
(manual step)".




 From: Eric Wood 
To: "jenkinsci-users@googlegroups.com"  
Sent: Monday, September 16, 2013 2:04 PM
Subject: Build Pipeline post build step does not appear
 


I have updated to the latest version of Jenkins 1.530 and the associated latest 
version of the Build Pipeline (1.4), but now the build pipeline post action 
does not appers.  Existing jobs seem ok set up as build pipelines appear to be 
working.

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


Build Pipeline post build step does not appear

2013-09-16 Thread Eric Wood
I have updated to the latest version of Jenkins 1.530 and the associated latest 
version of the Build Pipeline (1.4), but now the build pipeline post action 
does not appers.  Existing jobs seem ok set up as build pipelines appear to be 
working.

Please help.

-- 
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: Continuous release with Maven and Jenkins - Multi module or Aggregation module

2013-09-16 Thread Deryl Spielman
It's almost as if you have to put the dependent Jenkins projects workspaces 
in the same directory structure. Otherwise a pre-build script should 
checkout dependent projects in the parent pom workspace?

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


Re: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Les Mikesell
On Mon, Sep 16, 2013 at 8:44 AM, Ginga, Dick  wrote:
> There are a number of ways to “pick” the artifacts to archive. Use the
>
>
>
> In your DSL, do
>
> B1 = build(“job 1”)
>
> B2 = build(“job 2”)
>
>
>
> Then pass them to Deploy as parameters.
>
>
>
> Then, as just stated, your deploy job can pick specific builds.

This approach should work as long as the artifacts are copied by
another job started after the builds complete.   Is there any way for
the parent build-flow job to collect  (and then archive) them itself
instead of having another job do it?   I can't find a way to use the
copy artifact plugin from a build flow job.

-- 
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: Detect when a slave status changes from offline to online

2013-09-16 Thread Baptiste Mathus
Hi Tania,
I don't think it's currently possible with a standard installation and
don't know a plugin doing that, but I think this should be feasible writing
your own plugin.
Cheers
Le 16 sept. 2013 15:11, "Tânia Magalhães"  a
écrit :

> Hi!
>
> Does anyone knows if there is a way to "tell" jenkins to detect when a
> slave becomes online and in that situation to trigger a specific job?
>
> Thanks,
> Tânia
>
> --
> 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 swallowing errors

2013-09-16 Thread Jeff
Known issue .. please vote for it! :)

https://issues.jenkins-ci.org/browse/JENKINS-19352



On Mon, Sep 16, 2013 at 9:39 AM, Andreas Zschorn wrote:

> Hi together,
> Does anyone has seen a similar error or do i have to create a ticket ?
>
> i don't know since when exaclty but jenkins is swallowing the latest build
> error. It cuts everything behind "final memory".
>
>  Most probably since 1.527 but i am not sure.
> Environment: windows slave, linux master,
> jenkins 1.530,
> On jenkins latest messages on console are:
>
> [INFO]
> [INFO] 
> 
> [INFO] Building components.build.bl.entitybuild-api 
> 1.2.0-RCP-bundling-SNAPSHOT
> [INFO] 
> [WARNING]
>  The POM for 
> de.zeb.control.components.build.bl:components.build.bl.resource-api:jar:1.2.3-RCP-bundling-SNAPSHOT
>  is missing, no dependency information available[WARNING] The POM for 
> de.zeb.control.components.entity.bl:components.entity.bl.entityadmin-api:jar:1.3.0-RCP-bundling-SNAPSHOT
>  is missing, no dependency information available[WARNING] The POM for 
> de.zeb.control.components.model.bl:components.model.bl.issuerepo-api:jar:1.1.0-RCP-bundling-SNAPSHOT
>  is missing, no dependency information available[JENKINS] Archiving disabled
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 2.792s
> [INFO] Finished at: Mon Sep 16 17:31:15 CEST 2013
> [INFO] Final Memory: 10M/80M
> [INFO] --
>
> on local maven build:
> [INFO] 
> 
>
> [INFO] Total time: 8.845s
> [INFO] Finished at: Mon Sep 16 17:32:59 CEST 2013
> [INFO] Final Memory: 8M/39M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project 
> components.build.bl.entitybuild-api: C
>
> ould not resolve dependencies for project 
> de.zeb.control.components.build.bl:com
> ponents.build.bl.entitybuild-api:jar:1.2.0-RCP-bundling-SNAPSHOT: The 
> following
> artifacts could not be resolved: 
> de.zeb.control.components.build.bl:components.b
>
> uild.bl.resource-api:jar:1.2.3-RCP-bundling-SNAPSHOT, 
> de.zeb.control.components.
> entity.bl:components.entity.bl.entityadmin-api:jar:1.3.0-RCP-bundling-SNAPSHOT,
> de.zeb.control.components.model.bl:components.model.bl.issuerepo-api:jar:1.1.0-R
>
> CP-bundling-SNAPSHOT: Could not find artifact 
> de.zeb.control.components.build.bl
> :components.build.bl.resource-api:jar:1.2.3-RCP-bundling-SNAPSHOT in 
> allmirror (
> http://maven.zeb.de/content/groups/public) -> [Help 1]
>
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
>
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
>
>
>
>  --
> 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.
>



-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

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


RE: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Ginga, Dick
You need a way to export the build numbers outside the build flow environment 
so that they are available to a later archive step.

I tried doing this but could not. I do not know DSL/Groovy/Jenkins enough to do 
it. 

-Original Message-
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell
Sent: Monday, September 16, 2013 10:51 AM
To: jenkinsci-users
Subject: Re: Build Flow Plugin and artifacts management in the DSL

On Mon, Sep 16, 2013 at 8:44 AM, Ginga, Dick  wrote:
> There are a number of ways to "pick" the artifacts to archive. Use the
>
>
>
> In your DSL, do
>
> B1 = build("job 1")
>
> B2 = build("job 2")
>
>
>
> Then pass them to Deploy as parameters.
>
>
>
> Then, as just stated, your deploy job can pick specific builds.

This approach should work as long as the artifacts are copied by
another job started after the builds complete.   Is there any way for
the parent build-flow job to collect  (and then archive) them itself
instead of having another job do it?   I can't find a way to use the
copy artifact plugin from a build flow job.

-- 
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: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread teilo


To be honest I wouldn't pass buildnumber, I would use a run parameter so 
that manual triggering should you ever need it (e.g. a failed deploy) would 
be easier.

Format the build as 

def job1runparam =  build1.project.fullName + "#" build1.number

and then add that to the paramerers

def myparams = new HashMap();

myparams['job1', 'job1runparam']

then in the copy artifact a bit of fudging to use version '${job1_NUMBER'}

/James

On Monday, 16 September 2013 14:47:24 UTC+1, Emmanuel Boudrant wrote:
>
> Thanks, I will try !
> -emmanuel
>
> On Monday, September 16, 2013 6:04:02 AM UTC-7, Emmanuel Boudrant wrote:
>>
>> Hello,
>>
>> We've checked the Build Flow Plugin for parallel execution, is is 
>> possible to manage the artifact in the plugin.
>>
>> Example :
>>
>> parallel (
>> // Each job is going to produce one artifact{ build("job1") },
>> { build("job2") },
>>
>> ...
>>
>> { build("jobN") }
>>
>> )
>>
>>
>> // deploy need access to all the artifact generated by job1, job2, ..., jobN.
>> build("deploy")
>>
>>
>> Our use case is we have plenty of slaves for building the artifacts but only 
>> one slave can deploy them.
>>
>>
>> Thanks,
>>
>> -emmanuel
>>
>>

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


RE: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Ginga, Dick
There are a number of ways to "pick" the artifacts to archive. Use the

In your DSL, do
B1 = build("job 1")
B2 = build("job 2")

Then pass them to Deploy as parameters.

Then, as just stated, your deploy job can pick specific builds.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Emmanuel Boudrant
Sent: Monday, September 16, 2013 9:34 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Build Flow Plugin and artifacts management in the DSL

I am not sure it will work, copy Artifact plugin is going to only copy the last 
successful artifact of a given job ?

When I launch N job in parallel they are actually the same job with different 
parameter. Could it copy the artifacts generated by each job build ?


On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote:
The Copy Artifact Plugin will allow your "deploy" job to copy artifacts from 
your other jobs and put them in the deploy workspace.

From: jenkins...@googlegroups.com 
[mailto:jenkins...@googlegroups.com] On Behalf Of Emmanuel Boudrant
Sent: Monday, September 16, 2013 9:04 AM
To: jenkins...@googlegroups.com
Subject: Build Flow Plugin and artifacts management in the DSL

Hello,

We've checked the Build Flow Plugin for parallel execution, is is possible to 
manage the artifact in the plugin.

Example :


parallel (

// Each job is going to produce one artifact

{ build("job1") },

{ build("job2") },

...

{ build("jobN") }



)



// deploy need access to all the artifact generated by job1, job2, ..., jobN.
build("deploy")



Our use case is we have plenty of slaves for building the artifacts but only 
one slave can deploy them.



Thanks,

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

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


append arbitrary versioning to the generated war file

2013-09-16 Thread Kamal Ahmed
Hi,
I am running a maven build and the output artifact is saved as 
dite-application.war

I would like to append versioning to the war file, like:

build23_345767 < which is svn head >.dite-application.war

Any idea how ? i can do this, without adding some plugin and setup to the 
pom.xml ? and JUST using Jenkins 


Thanks,
-Kamal.

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


Re: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Emmanuel Boudrant
Thanks, I will try !
-emmanuel

On Monday, September 16, 2013 6:04:02 AM UTC-7, Emmanuel Boudrant wrote:
>
> Hello,
>
> We've checked the Build Flow Plugin for parallel execution, is is possible 
> to manage the artifact in the plugin.
>
> Example :
>
> parallel (
> // Each job is going to produce one artifact{ build("job1") },
> { build("job2") },
>
> ...
>
> { build("jobN") }
>
> )
>
>
> // deploy need access to all the artifact generated by job1, job2, ..., jobN.
> build("deploy")
>
>
> Our use case is we have plenty of slaves for building the artifacts but only 
> one slave can deploy them.
>
>
> Thanks,
>
> -emmanuel
>
>

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


RE: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Ginga, Dick
Sorry missed the important statement:

After each build, get the build number as B1.build.number

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick
Sent: Monday, September 16, 2013 9:44 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Build Flow Plugin and artifacts management in the DSL

There are a number of ways to "pick" the artifacts to archive. Use the

In your DSL, do
B1 = build("job 1")
B2 = build("job 2")

Then pass them to Deploy as parameters.

Then, as just stated, your deploy job can pick specific builds.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Emmanuel Boudrant
Sent: Monday, September 16, 2013 9:34 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Build Flow Plugin and artifacts management in the DSL

I am not sure it will work, copy Artifact plugin is going to only copy the last 
successful artifact of a given job ?

When I launch N job in parallel they are actually the same job with different 
parameter. Could it copy the artifacts generated by each job build ?


On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote:
The Copy Artifact Plugin will allow your "deploy" job to copy artifacts from 
your other jobs and put them in the deploy workspace.

From: jenkins...@googlegroups.com 
[mailto:jenkins...@googlegroups.com] On Behalf Of Emmanuel Boudrant
Sent: Monday, September 16, 2013 9:04 AM
To: jenkins...@googlegroups.com
Subject: Build Flow Plugin and artifacts management in the DSL

Hello,

We've checked the Build Flow Plugin for parallel execution, is is possible to 
manage the artifact in the plugin.

Example :


parallel (

// Each job is going to produce one artifact

{ build("job1") },

{ build("job2") },

...

{ build("jobN") }



)



// deploy need access to all the artifact generated by job1, job2, ..., jobN.
build("deploy")



Our use case is we have plenty of slaves for building the artifacts but only 
one slave can deploy them.



Thanks,

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

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


Re: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread nicolas de loof
copy artifact can be used with a fixed build selection passed as parameter
afaik
so just have to get build number from previously executed jobs and pass as
parameter to deploy


2013/9/16 Emmanuel Boudrant 

> I am not sure it will work, copy Artifact plugin is going to only copy the
> last successful artifact of a given job ?
>
> When I launch N job in parallel they are actually the same job with
> different parameter. Could it copy the artifacts generated by each job
> build ?
>
>
> On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote:
>>
>>  The Copy Artifact Plugin will allow your “deploy” job to copy artifacts
>> from your other jobs and put them in the deploy workspace.
>>
>>
>>
>> *From:* jenkins...@googlegroups.**com [mailto:jenkins...@**
>> googlegroups.com] *On Behalf Of *Emmanuel Boudrant
>> *Sent:* Monday, September 16, 2013 9:04 AM
>> *To:* jenkins...@googlegroups.**com
>> *Subject:* Build Flow Plugin and artifacts management in the DSL
>>
>>
>>
>> Hello,
>>
>>
>>
>> We've checked the Build Flow Plugin for parallel execution, is is
>> possible to manage the artifact in the plugin.
>>
>>
>>
>> Example :
>>
>>
>>
>> parallel (
>>
>> // Each job is going to produce one artifact
>>
>> { build("job1") },
>>
>> { build("job2") },
>>
>> ...
>>
>> { build("jobN") }
>>
>>
>>
>> )
>>
>>
>>
>> // deploy need access to all the artifact generated by job1, job2, ..., jobN.
>> build("deploy")
>>
>>
>>
>> Our use case is we have plenty of slaves for building the artifacts but only 
>> one slave can deploy them.
>>
>>
>>
>> Thanks,
>>
>> -emmanuel
>>
>>   --
>> 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.
>

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


Re: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Emmanuel Boudrant
I am not sure it will work, copy Artifact plugin is going to only copy the 
last successful artifact of a given job ?

When I launch N job in parallel they are actually the same job with 
different parameter. Could it copy the artifacts generated by each job 
build ?


On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote:
>
>  The Copy Artifact Plugin will allow your “deploy” job to copy artifacts 
> from your other jobs and put them in the deploy workspace.
>
>  
>
> *From:* jenkins...@googlegroups.com  [mailto:
> jenkins...@googlegroups.com ] *On Behalf Of *Emmanuel 
> Boudrant
> *Sent:* Monday, September 16, 2013 9:04 AM
> *To:* jenkins...@googlegroups.com 
> *Subject:* Build Flow Plugin and artifacts management in the DSL
>
>  
>  
> Hello,
>  
>  
>  
> We've checked the Build Flow Plugin for parallel execution, is is possible 
> to manage the artifact in the plugin.
>  
>  
>  
> Example :
>  
>  
>  
> parallel (
>
> // Each job is going to produce one artifact
>
> { build("job1") },
>
> { build("job2") },
>
> ...
>
> { build("jobN") }
>
>  
>
> )
>
>  
>
> // deploy need access to all the artifact generated by job1, job2, ..., jobN.
> build("deploy")
>
>  
>
> Our use case is we have plenty of slaves for building the artifacts but only 
> one slave can deploy them.
>
>  
>
> Thanks,
>
> -emmanuel
>
>   -- 
> 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.


ldap: using uid to bind instead of cn

2013-09-16 Thread Brian J. Murrell
It would seem that when using the LDAP authentication plugin that the 
bind attempt to the LDAP server to verify the user credentials is trying 
to bind using the CN DN.


Our LDAP server (AD) is configured to allow binding using the e-mail 
address of the user rather than their CN (easier to remember I guess 
since the CN is quite long).


Is there any way to configure the LDAP plugin to bind using the user's 
e-mail address rather than a CN DN for the bind credential?


Cheers,
b.

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


Detect when a slave status changes from offline to online

2013-09-16 Thread Tânia Magalhães
Hi!

Does anyone knows if there is a way to "tell" jenkins to detect when a 
slave becomes online and in that situation to trigger a specific job?

Thanks,
Tânia

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


RE: Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Ginga, Dick
The Copy Artifact Plugin will allow your "deploy" job to copy artifacts from 
your other jobs and put them in the deploy workspace.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Emmanuel Boudrant
Sent: Monday, September 16, 2013 9:04 AM
To: jenkinsci-users@googlegroups.com
Subject: Build Flow Plugin and artifacts management in the DSL

Hello,

We've checked the Build Flow Plugin for parallel execution, is is possible to 
manage the artifact in the plugin.

Example :


parallel (

// Each job is going to produce one artifact

{ build("job1") },

{ build("job2") },

...

{ build("jobN") }



)



// deploy need access to all the artifact generated by job1, job2, ..., jobN.
build("deploy")



Our use case is we have plenty of slaves for building the artifacts but only 
one slave can deploy them.



Thanks,

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


Build Flow Plugin and artifacts management in the DSL

2013-09-16 Thread Emmanuel Boudrant
Hello,

We've checked the Build Flow Plugin for parallel execution, is is possible 
to manage the artifact in the plugin.

Example :

parallel (
// Each job is going to produce one artifact{ build("job1") },
{ build("job2") },

...

{ build("jobN") }

)


// deploy need access to all the artifact generated by job1, job2, ..., jobN.
build("deploy")


Our use case is we have plenty of slaves for building the artifacts but only 
one slave can deploy them.


Thanks,

-emmanuel

-- 
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 Settings problem

2013-09-16 Thread Baptiste Mathus
Not sure that could work correctly. If you always ignore pom.xml changes,
you'll sure have other issues soon.

Just had a look inside SVN config and found some interesting parameter
(which I don't find in the Git plugin, btw) : "Excluded Commit Messages".
Ignoring the "copy to tag" and so on messages, you might still be able to
watch pom.xml file for other commits than the release ones.

And if the git plugin doesn't support it yet, I suppose this could be a
useful addition.


2013/9/16 Mark Waite 

> The git SCM plugin has a way to ignore changes to certain files, by
> specifying those exclusion patterns with a regular expression.  It is in
> the "advanced" section of the plugin configuration items on the job
> configuration page.  Your SCM plugin may have a similar setting which would
> allow you to ignore changes to that file as part of the process (assuming
> that file changes rarely for other reasons).
>
> We used a technique like that quite successfully, though our version
> information was stored in a separate file dedicated to only storing the
> version number.
>
>
> On Mon, Sep 16, 2013 at 12:31 AM, Baptiste Mathus wrote:
>
>> I understand you're releasing a new version for almost every commit.
>> Though I like the idea of continuous delivery or equivalent I'm not sure
>> it's conceptually correct this way.
>> For your issue, if you really want to stay this way, I suppose I would
>> just try to update the working copy at the end of the build, so that next
>> check doesn't see the release commit as a content commit.
>>
>> Cheers
>> Le 16 sept. 2013 07:25, "Manoj Kumar Bardhan" 
>> a écrit :
>>
>>  Hi,
>>>
>>> I am using Maven Release Plugin for automate the build & release
>>> process.Its working fine but one problem I am facing.
>>>
>>> I have created a job, which is checking trunk in every 15 mins, if any
>>> changes found it starts the build & release process.And its working fine.
>>>
>>> But , small problem is when the release:prepare is executing , it is
>>> creating the tag and auto increment the trunk/pom.xml version (with
>>> SNAPSHOT) to next release version-SNAPSHOT.
>>>
>>> Suppose my current build version is 2.0-SNAPSHOT. After successfully
>>> build it create the tag with only 2.0 (without SNAPSHOT). Also it auto
>>> increments the pom.xml inside trunk to 2.1-SNAPSHOT.
>>> The problem is , when my Jenkins (crontab) checking the trunk in every
>>> 15 mins ,it is found a new version inside the trunk (i.e. pom.xml ). And it
>>> creates another build again. This process is happening again and
>>> again.Where as I know there is no code changes in trunk, only version has
>>> incremented by release:prepare command.
>>>
>>> How to avoid this.
>>>
>>>
>>> What mistake I did.
>>> Thanks in Advance.
>>>
>>> --
>>> 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.
>
> --
> Baptiste  MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!
>

-- 
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 Settings problem

2013-09-16 Thread Mark Waite
The git SCM plugin has a way to ignore changes to certain files, by
specifying those exclusion patterns with a regular expression.  It is in
the "advanced" section of the plugin configuration items on the job
configuration page.  Your SCM plugin may have a similar setting which would
allow you to ignore changes to that file as part of the process (assuming
that file changes rarely for other reasons).

We used a technique like that quite successfully, though our version
information was stored in a separate file dedicated to only storing the
version number.


On Mon, Sep 16, 2013 at 12:31 AM, Baptiste Mathus wrote:

> I understand you're releasing a new version for almost every commit.
> Though I like the idea of continuous delivery or equivalent I'm not sure
> it's conceptually correct this way.
> For your issue, if you really want to stay this way, I suppose I would
> just try to update the working copy at the end of the build, so that next
> check doesn't see the release commit as a content commit.
>
> Cheers
> Le 16 sept. 2013 07:25, "Manoj Kumar Bardhan" 
> a écrit :
>
> Hi,
>>
>> I am using Maven Release Plugin for automate the build & release
>> process.Its working fine but one problem I am facing.
>>
>> I have created a job, which is checking trunk in every 15 mins, if any
>> changes found it starts the build & release process.And its working fine.
>>
>> But , small problem is when the release:prepare is executing , it is
>> creating the tag and auto increment the trunk/pom.xml version (with
>> SNAPSHOT) to next release version-SNAPSHOT.
>>
>> Suppose my current build version is 2.0-SNAPSHOT. After successfully
>> build it create the tag with only 2.0 (without SNAPSHOT). Also it auto
>> increments the pom.xml inside trunk to 2.1-SNAPSHOT.
>> The problem is , when my Jenkins (crontab) checking the trunk in every 15
>> mins ,it is found a new version inside the trunk (i.e. pom.xml ). And it
>> creates another build again. This process is happening again and
>> again.Where as I know there is no code changes in trunk, only version has
>> incremented by release:prepare command.
>>
>> How to avoid this.
>>
>>
>> What mistake I did.
>> Thanks in Advance.
>>
>> --
>> 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: build hangs on slave

2013-09-16 Thread Kenneth Westelinck
We decided to replace Jenkins with Bamboo. We had far too many issues with
Jenkins.


On Mon, Sep 16, 2013 at 9:06 AM, Santosh Hadawale <
sant...@provasolutions.com> wrote:

> Hi, I am also having similar Jenkins Master-Slave configuration and facing
> the same issue while building the job.
> The build which suppose to take 40 mins for successful execution, is
> running more than 2 hrs and still running.
>
>
> On Wednesday, February 8, 2012 3:26:15 PM UTC+5:30, Kenneth Westelinck
> wrote:
>>
>> Sorry, forgot to mention, this is running the latest and greatest 1.450.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/HIqesMjZoYg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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: Uninstall jenkins in Ubuntu

2013-09-16 Thread Gocol Dev
And there is also

*/root/.jenkins/config.xml*
/root/.jenkins/{{jenkins-user-id}}/config.xml

I missed mentioning the /root/.jenkins/config.xml in previous email


On Mon, Sep 16, 2013 at 4:27 PM, Gocol Dev  wrote:

> Thanks Richard, I was looking at finding it too..
>
> So here are the findings...
>
> The default location is /root/.jenkins
>
> and the config.xml is created per user eg:
> /root/.jenkins/tom/config.xml
> /root/.jenkins/gocool/config.xml
>
> tom and gocool are jenkins user id's.
>
> Once I deleted the /root/.jenkins all were fine and it is working fine.
>
> Thanks again for all your time.
>
>
> On Mon, Sep 16, 2013 at 4:10 PM, Richard Bywater wrote:
>
>> It might take a while, but try:
>> find / -name config.xml
>>
>> and see what comes up. You'll need to be root to get the best results.
>>
>> Richard.
>>
>>
>> On Mon, Sep 16, 2013 at 7:59 PM, Gocol Dev  wrote:
>>
>>> No, actually I did not set it up :(
>>>
>>> And, I assume it is defaulted to some location which  I am not able to
>>> find and that is why re-installs still remember and ask for log-in.
>>>
>>> I just tried adding the CATALINA_OPTS and JENKINS_HOME now, but it is of
>>> no use - I guess I have to know the default path or do something for it to
>>> forget the config and then the config.xml might be added in the path
>>> specified by CATALINA_OPTS or JENKINS_HOME...
>>>
>>> So just keeping it open to find some help. Thanks again for your time.
>>>
>>>
>>> On Mon, Sep 16, 2013 at 3:35 PM, Richard Bywater wrote:
>>>
 I'm guessing the config file mentioned will most likely be whatever has
 been set as the Jenkins home using the CATALINA_OPTS variable as per
 https://wiki.jenkins-ci.org/display/JENKINS/Tomcat - I'm assuming
 you've set that. If you haven't I'm not sure what the default is so someone
 will have to pipe in here...

 Richard.


 On Mon, Sep 16, 2013 at 7:28 PM, Gocol Dev wrote:

> Hi Richard
>
>  Sorry for posting it in the dev.
>
> I did not use the sudo-apt get way of doing it, I just downloaded the
> war and I am copying it inside my tomcat webapps. And for removing it, I
> just did a rm -Rf of the folder.
>
> Thanks,
> G
>
>
> On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater wrote:
>
>> Have you seen
>> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
>>  ?
>>
>> Assuming you installed it that way, it would be better to remove it
>> via package management rather than manually deleting files - this should
>> then clean things up.
>>
>> Richard.
>>
>>
>> On Mon, Sep 16, 2013 at 6:18 PM, Go Cool wrote:
>>
>>> Hi,
>>>
>>>  I was unable to find the config.xml. I am using version 1.530. In
>>> the jenkins home, I just have the following  -
>>>
>>> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
>>> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
>>> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
>>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
>>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
>>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
>>> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
>>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
>>> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
>>> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
>>> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
>>> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
>>> -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
>>> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
>>> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
>>> -rw-r--r--  1 root root788 Mar  6  2013
>>> LogFileOutputStream$1.class
>>> -rw-r--r--  1 root root586 Mar  6  2013
>>> LogFileOutputStream$2.class
>>> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
>>> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
>>> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
>>> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
>>> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
>>> -rw-r--r--  1 root root512 Mar  6  2013
>>> Main$FileAndDescription.class
>>>
>>> Thanks,
>>> G
>>>
>>>
>>> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V <
>>> svvivekan...@gmail.com> wrote:
>>>
 Have you checked this
 https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?


 On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek <
 g0c00l.g...@gmail.com> wrote:

> Hi folks,
>
>  Sorry if this sound silly, but I am stuck hence wanted to know
> the answer.
>
>  I forgot my admin password and I am the only admin in 

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Gocol Dev
Thanks Richard, I was looking at finding it too..

So here are the findings...

The default location is /root/.jenkins

and the config.xml is created per user eg:
/root/.jenkins/tom/config.xml
/root/.jenkins/gocool/config.xml

tom and gocool are jenkins user id's.

Once I deleted the /root/.jenkins all were fine and it is working fine.

Thanks again for all your time.


On Mon, Sep 16, 2013 at 4:10 PM, Richard Bywater  wrote:

> It might take a while, but try:
> find / -name config.xml
>
> and see what comes up. You'll need to be root to get the best results.
>
> Richard.
>
>
> On Mon, Sep 16, 2013 at 7:59 PM, Gocol Dev  wrote:
>
>> No, actually I did not set it up :(
>>
>> And, I assume it is defaulted to some location which  I am not able to
>> find and that is why re-installs still remember and ask for log-in.
>>
>> I just tried adding the CATALINA_OPTS and JENKINS_HOME now, but it is of
>> no use - I guess I have to know the default path or do something for it to
>> forget the config and then the config.xml might be added in the path
>> specified by CATALINA_OPTS or JENKINS_HOME...
>>
>> So just keeping it open to find some help. Thanks again for your time.
>>
>>
>> On Mon, Sep 16, 2013 at 3:35 PM, Richard Bywater wrote:
>>
>>> I'm guessing the config file mentioned will most likely be whatever has
>>> been set as the Jenkins home using the CATALINA_OPTS variable as per
>>> https://wiki.jenkins-ci.org/display/JENKINS/Tomcat - I'm assuming
>>> you've set that. If you haven't I'm not sure what the default is so someone
>>> will have to pipe in here...
>>>
>>> Richard.
>>>
>>>
>>> On Mon, Sep 16, 2013 at 7:28 PM, Gocol Dev wrote:
>>>
 Hi Richard

  Sorry for posting it in the dev.

 I did not use the sudo-apt get way of doing it, I just downloaded the
 war and I am copying it inside my tomcat webapps. And for removing it, I
 just did a rm -Rf of the folder.

 Thanks,
 G


 On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater wrote:

> Have you seen
> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
>  ?
>
> Assuming you installed it that way, it would be better to remove it
> via package management rather than manually deleting files - this should
> then clean things up.
>
> Richard.
>
>
> On Mon, Sep 16, 2013 at 6:18 PM, Go Cool wrote:
>
>> Hi,
>>
>>  I was unable to find the config.xml. I am using version 1.530. In
>> the jenkins home, I just have the following  -
>>
>> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
>> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
>> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
>> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
>> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
>> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
>> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
>> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
>> -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
>> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
>> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
>> -rw-r--r--  1 root root788 Mar  6  2013
>> LogFileOutputStream$1.class
>> -rw-r--r--  1 root root586 Mar  6  2013
>> LogFileOutputStream$2.class
>> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
>> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
>> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
>> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
>> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
>> -rw-r--r--  1 root root512 Mar  6  2013
>> Main$FileAndDescription.class
>>
>> Thanks,
>> G
>>
>>
>> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V <
>> svvivekan...@gmail.com> wrote:
>>
>>> Have you checked this
>>> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?
>>>
>>>
>>> On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek >> > wrote:
>>>
 Hi folks,

  Sorry if this sound silly, but I am stuck hence wanted to know the
 answer.

  I forgot my admin password and I am the only admin in the jenkins,
 hence I wanted to re-install and start from scratch.

  I removed the physical directory where jenkins is in - under
 tomcat webapps. I pushed a new war file into webapps and restarted the
 server.

  Now when I access jenkins - the new one, it still takes me to the
 login screen. I was assuming it shoul

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Richard Bywater
It might take a while, but try:
find / -name config.xml

and see what comes up. You'll need to be root to get the best results.

Richard.


On Mon, Sep 16, 2013 at 7:59 PM, Gocol Dev  wrote:

> No, actually I did not set it up :(
>
> And, I assume it is defaulted to some location which  I am not able to
> find and that is why re-installs still remember and ask for log-in.
>
> I just tried adding the CATALINA_OPTS and JENKINS_HOME now, but it is of
> no use - I guess I have to know the default path or do something for it to
> forget the config and then the config.xml might be added in the path
> specified by CATALINA_OPTS or JENKINS_HOME...
>
> So just keeping it open to find some help. Thanks again for your time.
>
>
> On Mon, Sep 16, 2013 at 3:35 PM, Richard Bywater wrote:
>
>> I'm guessing the config file mentioned will most likely be whatever has
>> been set as the Jenkins home using the CATALINA_OPTS variable as per
>> https://wiki.jenkins-ci.org/display/JENKINS/Tomcat - I'm assuming you've
>> set that. If you haven't I'm not sure what the default is so someone will
>> have to pipe in here...
>>
>> Richard.
>>
>>
>> On Mon, Sep 16, 2013 at 7:28 PM, Gocol Dev  wrote:
>>
>>> Hi Richard
>>>
>>>  Sorry for posting it in the dev.
>>>
>>> I did not use the sudo-apt get way of doing it, I just downloaded the
>>> war and I am copying it inside my tomcat webapps. And for removing it, I
>>> just did a rm -Rf of the folder.
>>>
>>> Thanks,
>>> G
>>>
>>>
>>> On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater wrote:
>>>
 Have you seen
 https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
  ?

 Assuming you installed it that way, it would be better to remove it via
 package management rather than manually deleting files - this should then
 clean things up.

 Richard.


 On Mon, Sep 16, 2013 at 6:18 PM, Go Cool  wrote:

> Hi,
>
>  I was unable to find the config.xml. I am using version 1.530. In the
> jenkins home, I just have the following  -
>
> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
> -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
> -rw-r--r--  1 root root788 Mar  6  2013 LogFileOutputStream$1.class
> -rw-r--r--  1 root root586 Mar  6  2013 LogFileOutputStream$2.class
> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
> -rw-r--r--  1 root root512 Mar  6  2013
> Main$FileAndDescription.class
>
> Thanks,
> G
>
>
> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V <
> svvivekan...@gmail.com> wrote:
>
>> Have you checked this
>> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?
>>
>>
>> On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek 
>> wrote:
>>
>>> Hi folks,
>>>
>>>  Sorry if this sound silly, but I am stuck hence wanted to know the
>>> answer.
>>>
>>>  I forgot my admin password and I am the only admin in the jenkins,
>>> hence I wanted to re-install and start from scratch.
>>>
>>>  I removed the physical directory where jenkins is in - under tomcat
>>> webapps. I pushed a new war file into webapps and restarted the server.
>>>
>>>  Now when I access jenkins - the new one, it still takes me to the
>>> login screen. I was assuming it should be starting from scratch and 
>>> should
>>> not ask for log-in.
>>>
>>>  Please let me know how I can solve this issue?
>>>
>>> Thanks,
>>> G
>>>
>>> --
>>> 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 me

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Gocol Dev
No, actually I did not set it up :(

And, I assume it is defaulted to some location which  I am not able to find
and that is why re-installs still remember and ask for log-in.

I just tried adding the CATALINA_OPTS and JENKINS_HOME now, but it is of no
use - I guess I have to know the default path or do something for it to
forget the config and then the config.xml might be added in the path
specified by CATALINA_OPTS or JENKINS_HOME...

So just keeping it open to find some help. Thanks again for your time.


On Mon, Sep 16, 2013 at 3:35 PM, Richard Bywater  wrote:

> I'm guessing the config file mentioned will most likely be whatever has
> been set as the Jenkins home using the CATALINA_OPTS variable as per
> https://wiki.jenkins-ci.org/display/JENKINS/Tomcat - I'm assuming you've
> set that. If you haven't I'm not sure what the default is so someone will
> have to pipe in here...
>
> Richard.
>
>
> On Mon, Sep 16, 2013 at 7:28 PM, Gocol Dev  wrote:
>
>> Hi Richard
>>
>>  Sorry for posting it in the dev.
>>
>> I did not use the sudo-apt get way of doing it, I just downloaded the war
>> and I am copying it inside my tomcat webapps. And for removing it, I just
>> did a rm -Rf of the folder.
>>
>> Thanks,
>> G
>>
>>
>> On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater wrote:
>>
>>> Have you seen
>>> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
>>>  ?
>>>
>>> Assuming you installed it that way, it would be better to remove it via
>>> package management rather than manually deleting files - this should then
>>> clean things up.
>>>
>>> Richard.
>>>
>>>
>>> On Mon, Sep 16, 2013 at 6:18 PM, Go Cool  wrote:
>>>
 Hi,

  I was unable to find the config.xml. I am using version 1.530. In the
 jenkins home, I just have the following  -

 drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
 drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
 drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
 drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
 drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
 drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
 drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
 drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
 drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
 -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
 -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
 -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
 -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
 -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
 -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
 -rw-r--r--  1 root root788 Mar  6  2013 LogFileOutputStream$1.class
 -rw-r--r--  1 root root586 Mar  6  2013 LogFileOutputStream$2.class
 -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
 -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
 -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
 -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
 -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
 -rw-r--r--  1 root root512 Mar  6  2013
 Main$FileAndDescription.class

 Thanks,
 G


 On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V >>> > wrote:

> Have you checked this
> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?
>
>
> On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek 
> wrote:
>
>> Hi folks,
>>
>>  Sorry if this sound silly, but I am stuck hence wanted to know the
>> answer.
>>
>>  I forgot my admin password and I am the only admin in the jenkins,
>> hence I wanted to re-install and start from scratch.
>>
>>  I removed the physical directory where jenkins is in - under tomcat
>> webapps. I pushed a new war file into webapps and restarted the server.
>>
>>  Now when I access jenkins - the new one, it still takes me to the
>> login screen. I was assuming it should be starting from scratch and 
>> should
>> not ask for log-in.
>>
>>  Please let me know how I can solve this issue?
>>
>> Thanks,
>> G
>>
>> --
>> 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 becaus

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Richard Bywater
I'm guessing the config file mentioned will most likely be whatever has
been set as the Jenkins home using the CATALINA_OPTS variable as per
https://wiki.jenkins-ci.org/display/JENKINS/Tomcat - I'm assuming you've
set that. If you haven't I'm not sure what the default is so someone will
have to pipe in here...

Richard.


On Mon, Sep 16, 2013 at 7:28 PM, Gocol Dev  wrote:

> Hi Richard
>
>  Sorry for posting it in the dev.
>
> I did not use the sudo-apt get way of doing it, I just downloaded the war
> and I am copying it inside my tomcat webapps. And for removing it, I just
> did a rm -Rf of the folder.
>
> Thanks,
> G
>
>
> On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater wrote:
>
>> Have you seen
>> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
>>  ?
>>
>> Assuming you installed it that way, it would be better to remove it via
>> package management rather than manually deleting files - this should then
>> clean things up.
>>
>> Richard.
>>
>>
>> On Mon, Sep 16, 2013 at 6:18 PM, Go Cool  wrote:
>>
>>> Hi,
>>>
>>>  I was unable to find the config.xml. I am using version 1.530. In the
>>> jenkins home, I just have the following  -
>>>
>>> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
>>> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
>>> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
>>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
>>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
>>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
>>> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
>>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
>>> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
>>> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
>>> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
>>> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
>>> -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
>>> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
>>> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
>>> -rw-r--r--  1 root root788 Mar  6  2013 LogFileOutputStream$1.class
>>> -rw-r--r--  1 root root586 Mar  6  2013 LogFileOutputStream$2.class
>>> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
>>> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
>>> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
>>> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
>>> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
>>> -rw-r--r--  1 root root512 Mar  6  2013 Main$FileAndDescription.class
>>>
>>> Thanks,
>>> G
>>>
>>>
>>> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V 
>>> wrote:
>>>
 Have you checked this
 https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?


 On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek wrote:

> Hi folks,
>
>  Sorry if this sound silly, but I am stuck hence wanted to know the
> answer.
>
>  I forgot my admin password and I am the only admin in the jenkins,
> hence I wanted to re-install and start from scratch.
>
>  I removed the physical directory where jenkins is in - under tomcat
> webapps. I pushed a new war file into webapps and restarted the server.
>
>  Now when I access jenkins - the new one, it still takes me to the
> login screen. I was assuming it should be starting from scratch and should
> not ask for log-in.
>
>  Please let me know how I can solve this issue?
>
> Thanks,
> G
>
> --
> 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.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To uns

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Gocol Dev
Hi Richard

 Sorry for posting it in the dev.

I did not use the sudo-apt get way of doing it, I just downloaded the war
and I am copying it inside my tomcat webapps. And for removing it, I just
did a rm -Rf of the folder.

Thanks,
G


On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater  wrote:

> Have you seen
> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu ?
>
> Assuming you installed it that way, it would be better to remove it via
> package management rather than manually deleting files - this should then
> clean things up.
>
> Richard.
>
>
> On Mon, Sep 16, 2013 at 6:18 PM, Go Cool  wrote:
>
>> Hi,
>>
>>  I was unable to find the config.xml. I am using version 1.530. In the
>> jenkins home, I just have the following  -
>>
>> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
>> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
>> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
>> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
>> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
>> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
>> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
>> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
>> -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
>> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
>> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
>> -rw-r--r--  1 root root788 Mar  6  2013 LogFileOutputStream$1.class
>> -rw-r--r--  1 root root586 Mar  6  2013 LogFileOutputStream$2.class
>> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
>> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
>> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
>> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
>> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
>> -rw-r--r--  1 root root512 Mar  6  2013 Main$FileAndDescription.class
>>
>> Thanks,
>> G
>>
>>
>> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V 
>> wrote:
>>
>>> Have you checked this
>>> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?
>>>
>>>
>>> On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek wrote:
>>>
 Hi folks,

  Sorry if this sound silly, but I am stuck hence wanted to know the
 answer.

  I forgot my admin password and I am the only admin in the jenkins,
 hence I wanted to re-install and start from scratch.

  I removed the physical directory where jenkins is in - under tomcat
 webapps. I pushed a new war file into webapps and restarted the server.

  Now when I access jenkins - the new one, it still takes me to the
 login screen. I was assuming it should be starting from scratch and should
 not ask for log-in.

  Please let me know how I can solve this issue?

 Thanks,
 G

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

-- 
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: java.lang.OutOfMemoryError: PermGen space

2013-09-16 Thread Richard Bywater
No that won't give you what you want. Assuming you are running using
Winstone, you'll need to update the Winstone config file (the name of the
file and the exact location escapes me at the moment but it will be in the
one of the directories off the top level)

Richard.


On Mon, Sep 16, 2013 at 7:24 PM, Thomas  wrote:

> Hello,
>
> My jenkins server is installed a s a windows service, and I set these
> options through the global environment variable of jenkins (configure
> system), but I don't know if it the right w
>
>
> Le vendredi 13 septembre 2013 21:33:14 UTC+2, Jerry a écrit :
>
>> Hi, Thomas. If it's a matter of Jenkins itself crashing and giving you
>> the OOM error, you probably just need to set options on the server. If
>> you're starting it through a batch file, it probably needs to look
>> something like this:
>>
>> java -DJENKINS_HOME=C:\path\to\**jenkins\home\directory
>> -Djava.awt.headless=true -XX:MaxPermSize=200m -XX:+CMSClassUnloadingEnabled
>> -XX:+CMSPermGenSweepingEnabled -jar C:\path\to\jenkins.war
>>
>> 200m should be more than enough for MaxPermSize. Play with that value if
>> this doesn't work immediately.
>>
>> -- Jerry
>>
>>
>>
>> On Thursday, September 12, 2013 3:48:26 AM UTC-4, Thomas wrote:
>>>
>>> Hi All,
>>>
>>> I am repeatedly facing PermGen space errors with my jenkins server.
>>> My server is installed as a windows service, scheduling build jobs to 4
>>> slave nodes (windows and mac).
>>>
>>> I have found this link:
>>> https://wiki.jenkins-ci.org/**display/JENKINS/I'm+getting+**
>>> OutOfMemoryError
>>>
>>> But I'm not clear on how to solve this issue:
>>> - How to set options for the JVM when running windows batch or shell
>>> scripts ?
>>> - Must I set these options on server only, slave nodes only or both ?
>>>
>>> Thanks for helping,
>>> Thomas
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Sound Cloud - http://soundcloud.com/dilig0
>>>
>>>   --
> 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: java.lang.OutOfMemoryError: PermGen space

2013-09-16 Thread Thomas
oops, my message has been sent before I have finished...


Le lundi 16 septembre 2013 09:24:57 UTC+2, Thomas a écrit :
>
> Hello,
>
> My jenkins server is installed a s a windows service, and I set these 
> options through the global environment variable of jenkins (configure 
> system), 
>

but I don't if this is the right to do this.

It seems to have improved the situation (less crashes and better response 
times) but I now have some issues on the slave nodes, 
and my concern is "do I have to set memory settings on the slave nodes as 
well ? and how ?"

Thanks for your help

 

>  
>

>
> Le vendredi 13 septembre 2013 21:33:14 UTC+2, Jerry a écrit :
>>
>> Hi, Thomas. If it's a matter of Jenkins itself crashing and giving you 
>> the OOM error, you probably just need to set options on the server. If 
>> you're starting it through a batch file, it probably needs to look 
>> something like this:
>>
>> java -DJENKINS_HOME=C:\path\to\jenkins\home\directory 
>> -Djava.awt.headless=true -XX:MaxPermSize=200m -XX:+CMSClassUnloadingEnabled 
>> -XX:+CMSPermGenSweepingEnabled -jar C:\path\to\jenkins.war
>>
>> 200m should be more than enough for MaxPermSize. Play with that value if 
>> this doesn't work immediately.
>>
>> -- Jerry
>>
>>
>>
>> On Thursday, September 12, 2013 3:48:26 AM UTC-4, Thomas wrote:
>>>
>>> Hi All,
>>>
>>> I am repeatedly facing PermGen space errors with my jenkins server.
>>> My server is installed as a windows service, scheduling build jobs to 4 
>>> slave nodes (windows and mac).
>>>
>>> I have found this link:
>>> https://wiki.jenkins-ci.org/display/JENKINS/I'm+getting+OutOfMemoryError
>>>
>>> But I'm not clear on how to solve this issue:
>>> - How to set options for the JVM when running windows batch or shell 
>>> scripts ?
>>> - Must I set these options on server only, slave nodes only or both ?
>>>
>>> Thanks for helping,
>>> Thomas
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>>
>>> Sound Cloud - http://soundcloud.com/dilig0
>>>
>>> 

-- 
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: Uninstall jenkins in Ubuntu

2013-09-16 Thread Richard Bywater
Have you seen
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu ?

Assuming you installed it that way, it would be better to remove it via
package management rather than manually deleting files - this should then
clean things up.

Richard.


On Mon, Sep 16, 2013 at 6:18 PM, Go Cool  wrote:

> Hi,
>
>  I was unable to find the config.xml. I am using version 1.530. In the
> jenkins home, I just have the following  -
>
> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
> -rw-r--r--  1 root root 71 Aug 26 21:01 robots.txt
> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
> -rw-r--r--  1 root root788 Mar  6  2013 LogFileOutputStream$1.class
> -rw-r--r--  1 root root586 Mar  6  2013 LogFileOutputStream$2.class
> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
> -rw-r--r--  1 root root512 Mar  6  2013 Main$FileAndDescription.class
>
> Thanks,
> G
>
>
> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V wrote:
>
>> Have you checked this
>> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?
>>
>>
>> On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek wrote:
>>
>>> Hi folks,
>>>
>>>  Sorry if this sound silly, but I am stuck hence wanted to know the
>>> answer.
>>>
>>>  I forgot my admin password and I am the only admin in the jenkins,
>>> hence I wanted to re-install and start from scratch.
>>>
>>>  I removed the physical directory where jenkins is in - under tomcat
>>> webapps. I pushed a new war file into webapps and restarted the server.
>>>
>>>  Now when I access jenkins - the new one, it still takes me to the login
>>> screen. I was assuming it should be starting from scratch and should not
>>> ask for log-in.
>>>
>>>  Please let me know how I can solve this issue?
>>>
>>> Thanks,
>>> G
>>>
>>> --
>>> 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: java.lang.OutOfMemoryError: PermGen space

2013-09-16 Thread Thomas
Hello,

My jenkins server is installed a s a windows service, and I set these 
options through the global environment variable of jenkins (configure 
system), but I don't know if it the right w


Le vendredi 13 septembre 2013 21:33:14 UTC+2, Jerry a écrit :
>
> Hi, Thomas. If it's a matter of Jenkins itself crashing and giving you the 
> OOM error, you probably just need to set options on the server. If you're 
> starting it through a batch file, it probably needs to look something like 
> this:
>
> java -DJENKINS_HOME=C:\path\to\jenkins\home\directory 
> -Djava.awt.headless=true -XX:MaxPermSize=200m -XX:+CMSClassUnloadingEnabled 
> -XX:+CMSPermGenSweepingEnabled -jar C:\path\to\jenkins.war
>
> 200m should be more than enough for MaxPermSize. Play with that value if 
> this doesn't work immediately.
>
> -- Jerry
>
>
>
> On Thursday, September 12, 2013 3:48:26 AM UTC-4, Thomas wrote:
>>
>> Hi All,
>>
>> I am repeatedly facing PermGen space errors with my jenkins server.
>> My server is installed as a windows service, scheduling build jobs to 4 
>> slave nodes (windows and mac).
>>
>> I have found this link:
>> https://wiki.jenkins-ci.org/display/JENKINS/I'm+getting+OutOfMemoryError
>>
>> But I'm not clear on how to solve this issue:
>> - How to set options for the JVM when running windows batch or shell 
>> scripts ?
>> - Must I set these options on server only, slave nodes only or both ?
>>
>> Thanks for helping,
>> Thomas
>>
>>
>>
>>
>>
>> -- 
>>
>> Sound Cloud - http://soundcloud.com/dilig0
>>
>> 

-- 
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: java.lang.OutOfMemoryError: PermGen space

2013-09-16 Thread Thomas

Thanks for the advise
I will try the Monitoring plug-in.

Thomas


Le vendredi 13 septembre 2013 22:19:12 UTC+2, David Harkness a écrit :
>
> On Fri, Sep 13, 2013 at 12:33 PM, Jerry 
> > wrote:
>
>> 200m should be more than enough for MaxPermSize. Play with that value if 
>> this doesn't work immediately.
>>
>
> I recommend installing the Monitoring plugin which uses JavaMelody to 
> provide a detailed dashboard that will, among many other things, show you 
> how much PermGen space you're using.
>
> Peace,
> David
>
>

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


Re: build hangs on slave

2013-09-16 Thread Santosh Hadawale
Hi, I am also having similar Jenkins Master-Slave configuration and facing 
the same issue while building the job.
The build which suppose to take 40 mins for successful execution, is 
running more than 2 hrs and still running.


On Wednesday, February 8, 2012 3:26:15 PM UTC+5:30, Kenneth Westelinck 
wrote:
>
> Sorry, forgot to mention, this is running the latest and greatest 1.450.
>

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