Uninstall jenkins in Ubuntu

2013-09-16 Thread Gocool Geek
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

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Vivekanand S V
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

Re: Uninstall jenkins in Ubuntu

2013-09-16 Thread Go Cool
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

RE: DRY Plugin fails, SAXParserFactoryImpl not found

2013-09-16 Thread Mikael Arvids
Thanks for the response. The job works on the master and the slave.jar is downloaded from the master as part of the startup of the slave, so it should be up to date (version 2.23). / Mikael From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ulli

Re: Jenkins Settings problem

2013-09-16 Thread Baptiste Mathus
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

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

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 gpjerry...@gmail.comjavascript: wrote: 200m should be more than enough for MaxPermSize. Play with that value if

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

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,

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

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

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

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

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 g0c00l.g...@gmail.com wrote: No, actually I did not set it up :( And, I assume it is defaulted to some location

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

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 g0c00l.g...@gmail.com wrote: Thanks Richard, I was looking at finding it too.. So here

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

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

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,

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

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

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

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,

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 emmanuel.boudr...@gmail.com I am not sure it will work, copy Artifact plugin is going to

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:

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

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

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

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

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

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 azsch...@googlemail.comwrote: 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

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 taniamagalh...@gmail.com a écrit : Hi! Does anyone knows if there is a

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 dick.gi...@perkinelmer.com 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

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

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

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

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

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

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

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 https://wiki.jenkins-ci.org/display/JENKINS/Envfile+Plugin? Eric On 9/16/2013 2:41 PM, Eric Blom wrote: Hello Everyone, I have a number of different jobs that I want

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

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

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 bb...@netjets.com wrote: Hi, Our Jenkins jobs have various command line parameters which apply to various build steps. Some build

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

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,

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,

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

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 taniamagalh...@gmail.com wrote: Hi! Does anyone knows if there is a way to