Re: Creating a new Job Programatically.

2012-08-21 Thread Stephen Connolly
The schema is dynamic based on the plugins installed and their serialisation via xstream. Backwards compatibility constrains should ensure that it is reasonably stable, but you need to look at the backing classes to infer the purpose of each field and what values it can take On Tuesday, 21

Remote Api Sample (Secured Main) seems to be broken.

2012-08-21 Thread Ramith Jayasinghe
Hi Guys, I just tried to run the sample at [1] and it seems to be broken. Quick look at the code and login form in Jenkins ver. 1.476 showed me that: after I correct, 'j_security_check' to 'j_acegi_security_check things started working. Thought I should let guys know. [1]

Re: 'This node is offline because it uses old slave.jar'

2012-08-21 Thread lata
Richard, it was from 1.443. It seemed to have been caused due to the version column plugin. And when I disabled the plugin, the gui itself went down. [ JENKINS-14401 https://issues.jenkins-ci.org/browse/JENKINS-14401 ]. We couldn't afford the down-time, this is what we did, re-enabled the

RE: change password LDAP-user in Jenkins

2012-08-21 Thread Dalen, van William
LDAP services have differing passwords setup and requirements. It's impossible for third party services to be able to handle that. I,m sorry, but i already did establish this among for JIRA. A user can change his own password in JIRA and through OpenDJ (with a PostgreSQL database) the new

IRC bot: Notification only setting?

2012-08-21 Thread random
We want the bot to only notify, not accept any commands from users. What does the Notification only setting in the IRC Notification option in the plugin, within the 'post build actions' actually do? It says it disallows bot commands, but it doesn't seem to work. Firstly, the bot seems to only

how can I introspect what versions of what plugins are installed?

2012-08-21 Thread Chris Withers
Hi All, Where are the versions of the plugins currently installed stored? They don't appear to be recorded anywhere in the config files.. I'm looking to have something watch them and record when they change... (a bit like the job config history plugin) cheers, Chris -- Simplistix - Content

Re: how can I introspect what versions of what plugins are installed?

2012-08-21 Thread Stephen Connolly
The PluginManager will tell you what plugin versions are installed and enabled, you will have to iterate it yourself. If not running within Jenkins, i.e. doing this as an external process, you need to scan $JENKINS_HOME/plugins for the exploded directories and parse the version out of the

Re: how can I introspect what versions of what plugins are installed?

2012-08-21 Thread cjo
I was running a small groovy script to do this, and then used the trigger on start plugin to run the job when Jenkins is restarted, also gives you the enabled and pinned states so that you can see if these have changed. Script: import hudson.model.* println(plugin name, version, active,

Re: Creating a new Job Programatically.

2012-08-21 Thread Mark Waite
I am not aware of any documentation which describes the tags and attributes available in the job definition config.xml file.  It seems like it would be difficult to maintain that type of documentation, since the allowed tags and their attributes are defined by the sum of the Jenkins core tags

RE: change password LDAP-user in Jenkins

2012-08-21 Thread Lars Nordin
How did you setup Jira? Do you use Crowd? You can setup Jira to users to only use LDAP for users and passwords (no internal Jira accounts), to create Jira accounts seeded from LDAP and use LDAP for passwords, or only internal Jira accounts (no LDAP). Adding Crowd SSO to the mix, means that you

ClearCase node != compile node: Notify users who broke the build

2012-08-21 Thread natalie_public
Hi there, I'm trying to use Jenkins to build a C++ application. Since ClearCase and compilation run on different operation systems, I created two jobs: The first job runs on Windows and extracts the code (to a Unix directory mounted as network drive on Windows). It triggers the second job

Re: ClearCase node != compile node: Notify users who broke the build

2012-08-21 Thread David Doughty
Natalie, Can you not install ClearCase on the build box? dD On 21/08/2012 13:34, natalie_pub...@gmx.net natalie_pub...@gmx.net wrote: Hi there, I'm trying to use Jenkins to build a C++ application. Since ClearCase and compilation run on different operation systems, I created two jobs: The

Re: ClearCase node != compile node: Notify users who broke the build

2012-08-21 Thread Slide
I use email-ext to do this in conjunction with a groovy script to determine the committers of the upstream job. I have posted the code to the mailing list before, so you should be able to find it in the archives. Thanks, slide On Tue, Aug 21, 2012 at 5:34 AM, natalie_pub...@gmx.net wrote: Hi

Global Properties

2012-08-21 Thread Mike Guiney
Hi All, I'm trying to setup several Jenkins installations (1.478) to monitor different branches of .NET code in TFS. I want to be able to set variables/properties in the master config.xml, which the individual job config.xml files can read. e.g. path to branch in TFS this way when I create a new

Re: Relative path running a windows batch

2012-08-21 Thread nietzsche44
Sorry slide I wasn't aware of that possibility, the problem is that I have not Visual Studio installed in the server. David I am specifying the command in Visual Studio (the server downloads the code from the repository) in the tab Build Events, Post-Build event command line textbox. Thank

Combining coverage reports

2012-08-21 Thread Andrew Melo
Hello all, We have a large unittesting suite split into a matrix job. I'd like to combine the coverage reports from the different matrix configurations into one coverage report. I can handle the actual munging of the coverage reports, but before I go off trying to make glue things together, I was

Upgrading Jenkins on CentOS

2012-08-21 Thread Daniel Barbato
Hi Gang, I recently installed Jenkins by adding the rpm repo and running an rpm install jenkins on a CentOS box, as per the installation instructions. How often is the repo updated with the latest version? What's the lag time between a new release being available and something being available in

Problem with the CloverPublisher plugin

2012-08-21 Thread austin_ios_developer
Hi. I'm using Jenkins to build my iOS app and I want to add coverage reports for my unit tests to my build. So far, I have been able to successfully generate gcov output for my project. Next, I tried to look for a plugin that can interpret the gcov data and roll it up into a report. The

Re: Problem with the CloverPublisher plugin

2012-08-21 Thread Mark Waite
If the clover publisher and gcovr route does not work for you, you could consider an alternate technique.   I use the lcov command (usually bundled with gcov) to convert the gcov results into HTML pages (browsable source code annotated with the coverage results) and then use the HTML publisher

Re: Problem with the CloverPublisher plugin

2012-08-21 Thread Brant Merryman
Thanks, Mark. Reports from lcov look pretty cool. Certainly better than a crash :-) Brant Merryman email brant.se...@silvercar.com cell(512) 547-7400 skype brant_sears On Aug 21, 2012, at 4:50 PM, Mark Waite markwa...@yahoo.com wrote: If the clover publisher and gcovr route does not

Re: LDAP and other authentication not working after switching to LTS

2012-08-21 Thread Garret Pick
Turns out this was a browser-side issue. After I cleared out the cookies in Chrome, it worked fine...

Re: Perforce Plugin Recent Changes

2012-08-21 Thread Rob Petti
Not currently. See below: https://issues.jenkins-ci.org/browse/JENKINS-9342 On Monday, 20 August 2012 15:17:32 UTC-6, chelusly wrote: Is it possible to configure the Recent Changes views to only show changes from the branch specified in the View Mask? The Recent Changes log is showing

How to auto-rebuild job

2012-08-21 Thread Shanghai Fu
hi all, I want to auto-rebuild a job when this job taking too long time. There have a plugin named 'Build-timeour', which can abord job when it take long time, but it cannot auto-rebuild job. Anyone know the solutions? Thanks in advance! br,