Re: why does 1.480.1 LTS offer me 1.493 as an upgrade?

2012-12-17 Thread Martin Ba

On 16.12.2012 09:50, Chris Withers wrote:

Hi All,

I've just upgraded my Jenkins install to 1.480.1 LTS is the hope of a 
bit more stability, however, the 'Manage Jenkins' screen is now 
offering 1.493 as an upgrade.


I thought one you moved to an LTS release, only future LTS releases 
would be offered as upgrades?


What am I doing wrong?

Chris



http://your-server/jenkins/pluginManager/advanced

needs to list [http://updates.jenkins-ci.org/stable/update-center.json] 
(note the stable) as update site


Do you have this set?


Re: JSON API

2012-12-17 Thread Taner Topal
Nobody any idea's? Or maybe sources where I can look it up?

Cheers
Taner

On Friday, December 14, 2012 5:42:55 PM UTC+1, Taner Topal wrote:

 Hey everyone,

 is there a way to add some additional entries into the response headers of 
 the jenkins API calls?

 I am trying to get some data from jenkins via AJAX/JSON/Jenkins JSON API.

 My Jenkins is secured so I need to use Basic Authentication which wont 
 work because I am using JSONP. If I use JSON I could use Basic Auth but 
 then I get a CORS error...
 So I need to modify the reponse headers and add 
 Access-Control-Allow-Origin: *
 How to do that?

 Cheers
 Taner 



Re: Request on JENKINS Process on SUPPORT and other details

2012-12-17 Thread jes Struck
the wiki page
https://wiki.jenkins-ci.org/display/JENKINS/Commercial+Support
https://wiki.jenkins-ci.org/display/JENKINS/Commercial+SupportList
allot of companies the delivers support on jenkins and CI support,
we at Praqma also consider our self as ClearCase experts.
if you want to more about us you can contact os on www.praqma.com or
supp...@pramqa.net


/Jes - Praqma




On 17 December 2012 08:31, bala baluch...@gmail.com wrote:

 tools are ClearCase and SVN
 3) ci tool is Jenkins



Re: Request on JENKINS Process on SUPPORT and other details

2012-12-17 Thread jes Struck
our mail is of course supp...@praqma.net sorry for that



  *Jes Struck*
Consultant
Praqma A/S

Tel:+45 22 71 82 46

Mail: j...@praqma.net

web: www.praqma.net







On 17 December 2012 13:32, jes Struck j...@praqma.net wrote:


 the wiki page
 https://wiki.jenkins-ci.org/display/JENKINS/Commercial+Support  
 https://wiki.jenkins-ci.org/display/JENKINS/Commercial+SupportList allot of 
 companies the delivers support on jenkins and CI support,
 we at Praqma also consider our self as ClearCase experts.
 if you want to more about us you can contact os on www.praqma.com or
 supp...@pramqa.net


 /Jes - Praqma




 On 17 December 2012 08:31, bala baluch...@gmail.com wrote:

  tools are ClearCase and SVN
 3) ci tool is Jenkins





Re: issue with Chrome Version 23.0.1271.95

2012-12-17 Thread Slide
I can give it a try on Ubuntu, but I doubt that is the issue.


On Sun, Dec 16, 2012 at 7:56 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 Hi Slide,
 Could ubuntu 12.04 have something to do with this, which is what i am
 using.
 see also: https://issues.jenkins-ci.org/browse/JENKINS-11396
 so is it solved by installing Crowd2 plugin ?


   --
 *From:* Slide slide.o@gmail.com
 *To:* jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com

 *Sent:* Thursday, December 6, 2012 6:45 AM
 *Subject:* Re: issue with Chrome Version 23.0.1271.95

 I am unable to replicate this. I grabbed the source from github and used
 the tag for 1.492. I ran Jenkins and was able to add items to the builder
 list. I am using the same version of chrome.


 On Wed, Dec 5, 2012 at 8:27 PM, Kamal Ahmed kamalah...@yahoo.comwrote:

 i am getting the following in Javascript console when i do a pull down and
 try ot select :

 Add Build Step -- execute Shell



 http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render

1. POST

 http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render404
  (Not Found)

 prototype.js:1585http://localhost:9000/static/013b5ec5/scripts/prototype.js
   1. 
 Ajax.Request.Class.create.requestprototype.js:1585http://localhost:9000/static/013b5ec5/scripts/prototype.js
   2. 
 Ajax.Request.Class.create.initializeprototype.js:1550http://localhost:9000/static/013b5ec5/scripts/prototype.js
   3. (anonymous 
 function)prototype.js:452http://localhost:9000/static/013b5ec5/scripts/prototype.js
   4. 
 klassprototype.js:101http://localhost:9000/static/013b5ec5/scripts/prototype.js
   5. proxy.(anonymous 
 function)bind.js:27http://localhost:9000/adjuncts/013b5ec5/org/kohsuke/stapler/bind.js
   6. 
 renderOnDemandhudson-behavior.js:505http://localhost:9000/static/013b5ec5/scripts/hudson-behavior.js
   7. (anonymous 
 function)hetero-list.js:53http://localhost:9000/adjuncts/013b5ec5/lib/form/hetero-list/hetero-list.js
   8. 
 YAHOO.util.CustomEvent.notifyevent-min.js:7http://localhost:9000/static/013b5ec5/scripts/yui/event/event-min.js
   9. 
 YAHOO.util.CustomEvent.fireevent-min.js:7http://localhost:9000/static/013b5ec5/scripts/yui/event/event-min.js
   10. 
 emenu-min.js:7http://localhost:9000/static/013b5ec5/scripts/yui/menu/menu-min.js
   11. 
 nevent-min.js:7http://localhost:9000/static/013b5ec5/scripts/yui/event/event-min.js


   --
 *From:* Alex Earl slide.o@gmail.com
 *To:* Kamal Ahmed kamalah...@yahoo.com; 
 jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com
 *Sent:* Wednesday, December 5, 2012 9:10 PM
 *Subject:* RE: issue with Chrome Version 23.0.1271.95

 Any errors on the JavaScript console?

 Sent from my Windows Phone
 --
 From: Kamal Ahmed
 Sent: 12/5/2012 6:55 PM
 To: jenkinsci-users@googlegroups.com
 Subject: issue with Chrome Version 23.0.1271.95

 There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down
 Menu Items stop working in a project.
 I was not able to create Execute Shell. I then switched over to Firefox,
 and the same version of Jenkins  1.492 , works
 Just thought to let you guys know.
 -Kamal.





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





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


Export of cppcheck charts

2012-12-17 Thread neiduebbeln
Hallo everybody,
 
i Want to get the cpp check statistic for all builds. Is it possible to 
export the complete data for a cppcheck graph for all the builds using the 
rest API or do I have first to get all builds numbers and than iterate on 
the single builds to get the data?
 
Thank's.


Re: Export of cppcheck charts

2012-12-17 Thread neiduebbeln

Am Montag, 17. Dezember 2012 16:17:51 UTC+1 schrieb neiduebbeln: 

 Hallo everybody,
  
 i want to get the cpp check statistic for all builds. Is it possible to 
 export the complete data for a cppcheck graph for all the builds using the 
 rest API or do I have first to get all builds numbers and than iterate on 
 the single builds to get the data?
  
 Thank's.



Re: JSON API

2012-12-17 Thread R. Tyler Croy

On Fri, 14 Dec 2012, Taner Topal wrote:

 Hey everyone,
 
 is there a way to add some additional entries into the response headers of 
 the jenkins API calls?
 
 I am trying to get some data from jenkins via AJAX/JSON/Jenkins JSON API.
 
 My Jenkins is secured so I need to use Basic Authentication which wont work 
 because I am using JSONP. If I use JSON I could use Basic Auth but then I 
 get a CORS error...
 So I need to modify the reponse headers and add 
 Access-Control-Allow-Origin: *
 How to do that?


I think you have two options here, one is to write a plugin that adds the
headers and the other would be to run Jenkins with Tomcat or behind Apache's
mod_proxy.

The benefit of the latter is that I believe you can configure additional
headers to be served fairly easily, but I'm afraid I don't have any good
references on hand to do that.

- R. Tyler Croy
--
Code: https://github.com/rtyler
 Chatter: https://twitter.com/agentdero


signature.asc
Description: Digital signature


Re: Archived Artifacts

2012-12-17 Thread Nicky Ramone
Did anyone notice the same behavior?

On Mon, Dec 10, 2012 at 2:41 PM, Nicky Ramone nixe...@gmail.com wrote:

 Hello.

 I noticed that despite my configuration is defined so that no artifacts
 are archived, the artifacts are stored in the disk anyway for all builds.
 Example:

 $JENKINS_HOME/jobs/dummy/modules/com.dummy/builds/2012-07-12_10-24-06/archive/com.dummy/dummy/dummy,tar.gz

 Is this due to fingerprinting? is there any way to avoid this?

 Thanks
 Regards



A quick question about security features and email notifications

2012-12-17 Thread Andrew Bayless
Hello, 

I had a quick question, Is it possible to configure Jenkins to send email 
notifications to Administrators and/or users if any system-wide 
configurations or job configuration settings are changed by someone other 
than the administrator or creator/owner of a job ? 

Thanks, 

Andrew


Amazon EC2 plugin reaping stopped slaves

2012-12-17 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)

I just setup Jenkins and EC2 last week, and it's really an awesome combination. 
I'm using Jenkins 1.480.1 and EC2 Plugin 1.17.

I've got four AMIs configured for launching slaves, all of them have a 30 
minute idle timeout, and they also have 'Stop/Disconnect on Idle Timeout' set 
as well. My goal is for these slaves to hang around in the stopped state 
indefinitely, so that they can spin up quickly when they are needed (and also 
to keep the workspace around to make subsequent builds run faster). I'll 
manually kill slaves when it is time make configuration changes or something 
similar.


Initially this seemed to work fine: the slaves launched when I started a job, 
they stopped when 30 minutes had passed since the jobs completed. However, a 
couple of days later (today), I noticed that all those slaves have been 
terminated (they are gone from Jenkins and the EC2 console). I've done a bit of 
Googling but I don't see any reports of this sort of behavior.


Is this to be expected? I'll launch another set of jobs and see how long the 
slaves hang around after they are complete, but I'm curious if there is some 
implicit behavior in the EC2 plugin that I haven't seen documentation for.


Scan for compiler warnings - how to use - quick question

2012-12-17 Thread Z W
Hi All

We are trying to use the Scan for compiler warnings options and
discover we like to ignore some warnings.
We tried to ignore them by inserting text
com.sun.org.apache.xpath.internal.XPathAPI into Warnings to ignore
box but it didnt help.
We then tried inserting the filename into Warnings to ignore box but
it didnt help.

How do we use this feature to ignore warnings ?
Are there examples out there to teach the basics to use this feature ?

thanks


M2_HOME - where is it - quick question

2012-12-17 Thread Z W
Hi All

We are using the bundled Maven of Jenkins.
We could not find M2_HOME variable used by Jenkins.

Where is it set in Jenkins as an enviroment variable ?

Thanks


Re: M2_HOME - where is it - quick question

2012-12-17 Thread Ben Caradoc-Davies

What are you trying to do?

If you are running jobs on master, there is an environment variables 
section under global properties; check the box and you might be able to 
set M2_HOME. I have not tried doing this, but it might work. The help 
says These key-value pairs apply for every build on every node. They 
can be used in Jenkins' configuration (as $key or ${key}) and will be 
added to the environment for processes launched from the build.


The automatically installed Maven is deployed onto a slave and uses the 
default repository location, for example, $HOME/.m2/repository on Linux. 
This is shared between all jobs on that slave. If you set the private 
repository option for a job, the repository is .repository in the 
workspace for that job.


There is provision in slave configuration to set environment variables, 
just like for the master; I expect that setting M2_HOME here might work, 
but I have not tried.


If you are starting your slave as a service that calls back to master 
via JNLP, I expect that you can set M2_REPO on the slave. For example, 
if you are starting your slave via an initscript, there are standard 
ways of setting daemon environment variables depending on platform.


Again, if you can tell us what you are trying to do, we might be able to 
give better advice.


Kind regards,
Ben.

On 18/12/12 13:35, Z W wrote:

Hi All

We are using the bundled Maven of Jenkins.
We could not find M2_HOME variable used by Jenkins.

Where is it set in Jenkins as an enviroment variable ?

Thanks



--
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre