Re: Jenkins failed to record SCM polling

2012-11-22 Thread hezjing
This problem is fixed in Jenkins 1.491 (issue JENKINS-15733 ). My Mercurial is polling correctly now! Thank you! On Fri, Nov 9, 2012 at 2:48 AM, Mark Waite wrote: > You could consider switching to the long term support release. It arrives >

Copying/Cloning Jobs Maintaining the Building Order (Dependency)

2012-11-22 Thread Francisco Díaz Trepat
Hi Guys, a colleague of mine is working on automation of release and jenkins job reordering in general. We have a repo.git that contains a number of projects we build in jenkins, we want to automate the release process by using the jenkins api and clone all the _develop jobs to _release jobs.

Re: Jenkins + GIT ls-remote error

2012-11-22 Thread Casper
Works now, thanks to Mark pointing out the memory error. Jenkins needs some more RAM to use external software like GIT. Op donderdag 22 november 2012 15:50:12 UTC+1 schreef Casper het volgende: > > It returns nothing, but when I omit the HEAD at the end, it returns all > the head just fine: > >

Re: Query about running different job steps on different slaves

2012-11-22 Thread Jason Swager
I would LOVE to see a plugin like this. If you could send me github information after you make it available, I would be very grateful! Thanks, Jason On Wednesday, November 21, 2012 10:40:36 PM UTC-8, Ivan Kalinin wrote: > > Hi! > > Actually, I've managed to develop a plugin for my own needs that

SCM Polling fails: Cannot run program "cleartool"

2012-11-22 Thread natalie_public
Hello everyone, Since a few days the clear case polling does not work anymore (I'm not 100% sure if it ever worked...). The scm_polling.log is as follows: -- Started on Nov 22, 2012 6:45:09 PM *** get view CSPEC *** [] $ cleartool catcs -tag FA

How does Jenkins know tests history

2012-11-22 Thread Yaron Naveh
When a test fails Jenkins writes something like "Failing for the past 4 build (Since #12)". How does Jenkins know the test history - is it by string matching the class/test name to previous results? If so and the class name changes does it mean that all history context for its tests is also los

Build flow plugin: fails build if there are unstable builds

2012-11-22 Thread Egle
Hi, I am trying to set up a following flow if builds: build( "A" ) build( "B" ) build( "C" ) Now I get "FATAL: null" error and stack trace in console if build B is unstable. So the flow does not execute job C. Is there a way to configure a flow that it would only terminate if the performed buil

Re: Jenkins + GIT ls-remote error

2012-11-22 Thread Casper
It returns nothing, but when I omit the HEAD at the end, it returns all the head just fine: jenkins@damocles:/home/casper/git/4xS$ /usr/bin/git ls-remote -h file:///home/casper/git/4xS/.git HEAD jenkins@damocles:/home/casper/git/4xS$ /usr/bin/git ls-remote -h file:///home/casper/git/4xS/.git

404 on using --prefix

2012-11-22 Thread Straaten, Onno van der
Hi, I'm deploying latest release of Jenkins on Windows 2008 server. Now I want to run jenkins in web context /jenkins so I in my jenkins.xml I added a prefix. For example -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8282 --ajp13P

Changes since last success in Email Extension Plugin

2012-11-22 Thread Dirk Kuypers
Hi, I have a compile job that runs continuously triggered by SCM which starts about 40 or 50 test jobs after successful compilation. I am printing the changes since last success (coming from the upstream compile job) of a test job which is run after a compile job like this: ${CHANGES_SINCE_LAST_SU

Re: Query about running different job steps on different slaves

2012-11-22 Thread alok kumar
Hey there, That would be great!! Can you please share it with me? Also, please let me know how to get it from github as I am new to this. Thanks a lot for the help. Alok On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin wrote: > Hi! > > Actually, I've managed to develop a plugin for my own needs

Re: Jenkins + GIT ls-remote error

2012-11-22 Thread Mark Waite
That seems to indicate that the Jenkins user can't read the /home/casper/git/4xS/.git directory. Since you've confirmed that the Jenkins user can run the git command, could you also confirm that the Jenkins user can successfully run the command:  /usr/bin/git ls-remote -h file:///home/casper/gi

Re: Cannot remove old users

2012-11-22 Thread clem
Hey Phil, the Jenkins Userdatabase is just a folder in your JENKINS_HOME Directory. "Users" is where you find all your "Members". Maybe, just remove the folder from one of your users, who is getting the Error Message, "Username is already taken". Now he should be able to register again. I also

Re: Retrieve server configuration via http

2012-11-22 Thread clem
Hi, if you want to use the Information from the config.xml file for a Plugin, maybe "XMLHttpRequest" is what you are looking for. In this case, you can get the config.xml file and all Information you want to work with. Or in which case you want to use the server Configuration Information ? clem

Re: How to create a new page view.

2012-11-22 Thread clem
https://wiki.jenkins-ci.org/display/JENKINS/Sidebar-Link+Plugin

Re: How to create a new page view.

2012-11-22 Thread clem
Hi, if you just want to add some Links , for example to the sidebar of a Job, or to the Mainpage, have a look at this Plugin for getting Informations about creating Links. Its also working with Action, like the Plugin ogondza posted. (But simple and easy to understand, if you are developing your

Re: jobs workspaces copied between Windows and Linux - quick question

2012-11-22 Thread clem
Hi, im not totally sure what you mean with "side effects" and where you want to copy your jobs and workspaces ? If you are creating a plugin, you have to watch out for the Filepath. (Using / or \) Or you just want to copy your folders ?

Re: How to create a new page view.

2012-11-22 Thread oliver gondža
On Thu, 22 Nov 2012 05:48:02 +0100, Bharathi Ramalingam wrote: Hi All, I am developing a plugin where I want to display Job statistics when clicked on the Job link. My question is how can i define a URL and bind it to the page view. Really appreciate any clues or help. Thanks, Hi, an Ac

Re: How to restrict user from viewing a particular view?

2012-11-22 Thread clem
Hi, maybe you just change your Security Settings. For example, you can hide the "Views" from users without permissions. But this includes "all" Views. Not sure about one special View. But have a look at this Plugin, maybe this will help you: https://wiki.jenkins-ci.org/display/JENKINS/View+Job+F

Re: need help groovy script getBuildnumber

2012-11-22 Thread Sven Finsterwalder
I have got the solution: import jenkins.* import jenkins.model.* import hudson.model.* import org.apache.commons.httpclient.* import org.apache.commons.httpclient.auth.* import org.apache.commons.httpclient.methods.* def buildNumber = 2 def urlDeployment = "http://:8080/hudson/job/" def buildVers

Jenkins + GIT ls-remote error

2012-11-22 Thread Casper
Hey everyone, I've been trying to install Jenkins with the GIT plugin, but somehow the GIT plugin doesn't seem to work for me. I'm running Debian 5, with Jenkins as a service through apt-get. Jenkins itself works just fine. I installed the GIT plugin through Jenkins, but it does not seem to be

Re: Report C++ compiling errors in Jenkins

2012-11-22 Thread Miguel Algaba Borrego
Thanks a lot! I will also install the LogParser plugin to extract some useful data from the log. Bests regards! Miguel Algaba. On Friday, November 16, 2012 4:44:33 PM UTC+1, mgimza wrote: > > > We use the LogParser plugin. > > http://wiki.hudson-ci.org/display/HUDSON/Log+Parser+Plugin > > It al