Re: Need some advice on what to put and not to put on repo.jenkins-ci.org

2013-08-01 Thread Baptiste MATHUS
Le 1 août 2013 01:34, Jesse Glick jgl...@cloudbees.com a écrit : On Wed, Jul 31, 2013 at 10:55 AM, Sandell, Robert robert.sand...@sonymobile.com wrote: Hosting it on central seems like a big pain compared to keeping it here. Get yourself an OSSRH account and publish it on Central; it is not

Re: Autoinstaller plugin providing directory to the PATH

2013-08-01 Thread Oleg Nenashev
Hello, Probably, you could use Custom Tools Pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Custom+Tools+Plugin. Via this plugin you can specify your own tools and installers. Version 0.3 will add support of the variables and label-specific installation options. If you need to specify path

Re: Need some advice on what to put and not to put on repo.jenkins-ci.org

2013-08-01 Thread nicolas de loof
We also discussed on getting jenkins repo synced to central, any progress made on this topic ? 2013/8/1 Baptiste MATHUS m...@batmat.net Le 1 août 2013 01:34, Jesse Glick jgl...@cloudbees.com a écrit : On Wed, Jul 31, 2013 at 10:55 AM, Sandell, Robert robert.sand...@sonymobile.com

Re: Autoinstaller plugin providing directory to the PATH

2013-08-01 Thread Frédéric Camblor
Thanks to both of you, I should achieve what I want with these hints/examples :-) @Oleg Didn't knew of this two plugins which sound great ! Unfortunately, I already implemented everything in the NodeJS plugin which should make your Custom Tools Plugin example even easier by not having to write

Updating the standard information on a Plugin wiki page

2013-08-01 Thread Jim Gallagher
My wiki page contains the standard information generated by adding the snippet {jenkins-plugin-info:cucumber-perf} to the page. https://wiki.jenkins-ci.org/pages/editpage.action?pageId=68386913 However, the links are to the jenkinsci github repo, which is not where the code is actually

Re: Updating the standard information on a Plugin wiki page

2013-08-01 Thread Jan Molak
That's an excellent question Jim :) I'd like to update the links as well on https://wiki.jenkins-ci.org/display/JENKINS/Build+Monitor+Plugin Also, does anyone know how often is the plugin installation trend ( http://stats.jenkins-ci.org/plugin-installation-trend/) refreshed? Best, Jan On

RE: JENKINS-18641: Changes to Stapler's JavaScript proxy will break plugins depending on it

2013-08-01 Thread Sandell, Robert
It's my bad, It was one test case that I was unable to do when I made that change in stapler and of course it came back and bit me. On modern browsers the json2 lib isn't needed at all because it is included the standard Javascript api, but older browsers needs it to be able to serialize to

Re: JENKINS-18641: Changes to Stapler's JavaScript proxy will break plugins depending on it

2013-08-01 Thread Jan Molak
Thanks for looking into this Robert! I'm not sure if BindTag should have any awareness of plugins installed on Jenkins? Such as jquery-plugin? What happens if someone (including my humble self ;) ) would prefer to use Angular.js instead of jQuey, YUI or Prototype? I don't think that I should

Re: Autoinstaller plugin providing directory to the PATH

2013-08-01 Thread Oleg Nenashev
Regarding Custom Tools Plugin, we should thank Ryan Campbell, because he is an author of available versions (0.1 and 0.2) of Custom Tools Plugin. BTW, I'm going to add many sweet features into the next versions :) Best regards, Oleg Nenashev RD Engineer, Synopsys Inc. www.synopsys.com

Xcode plugin - build version

2013-08-01 Thread Peter Kasson
Hi group, Is there anyway to get the technical version information (from the plist) and use that for part of the generated ipa rather than the jenkins build number ? The build # from Jenkins of course will never be that of what is used in the Xcode build number (technical or marketing).

[Jenkins Infrastructure] - Can't release plugins. Server is unavailable

2013-08-01 Thread Oleg Nenashev
Hello, Seems that http://maven.jenkins-ci.org:8081/ address is not available (probably, server is down). I’ve tried to release plugins using different computers and internet providers, but results are same. *Connecting to maven.jenkins-ci.org|199.193.196.24|:8081... failed: Connection timed

Re: JENKINS-18641: Changes to Stapler's JavaScript proxy will break plugins depending on it

2013-08-01 Thread Jesse Glick
On Thu, Aug 1, 2013 at 7:20 AM, Jan Molak jan.mo...@smartcodeltd.co.uk wrote: for the time being, can we please roll this change set back? I would agree that unless a clearly correct solution can be introduced, this should just be rolled back in Stapler, with a new release cut and the

RE: JENKINS-18641: Changes to Stapler's JavaScript proxy will break plugins depending on it

2013-08-01 Thread Sandell, Robert
I took another look at how the bind tag behaved originally, before my change. And it is actually so that it starts by adding an adjunct tag for the bind script. The reason why this has worked in Jenkins before is because the bind script is included via the adjunct manager already in the header

Cannot access file on Jenkins slave

2013-08-01 Thread Stéphane Bruckert
Hello, Through my own plugin, I need to know about the existence of a file in the workspace of a Jenkins slave. But the file can't be found whereas it really exists on the slave (*D:\workspace\JOB_NAME\test.txt*). public class MyBuilder extends Builder implements Serializable {

Re: Cannot access file on Jenkins slave

2013-08-01 Thread Hugh Perkins
I'm a newbie to Jenkins, and I don't know what's going on, but just in case it catalyzes some ideas: - for your builder it says 'unknown source'. maybe it might be useful to include the source code with your builder so you can get the exact line number of the error (I'm not sure if this is

Re: Cannot access file on Jenkins slave

2013-08-01 Thread Jesse Glick
On Thu, Aug 1, 2013 at 10:20 AM, Stéphane Bruckert stephane.bruck...@gmail.com wrote: String result = fp.act(new FileCallableString() { This is an antipattern: a FileCallable is Serializable, so if you make it an anonymous inner class, it picks us this$ references to the enclosing scope.

Re: Cannot access file on Jenkins slave

2013-08-01 Thread Vincent Latombe
Hi, Why not calling fp.exists() [1] directly? The FilePath instance is already a pointer to the remote filesystem. Vincent [1] http://javadoc.jenkins-ci.org/hudson/FilePath.html#exists%28%29 2013/8/1 Jesse Glick jgl...@cloudbees.com On Thu, Aug 1, 2013 at 10:20 AM, Stéphane Bruckert

Re: Cannot access file on Jenkins slave

2013-08-01 Thread Marc MacIntyre
This is working for me: FilePath setupDetailsFile = build.getWorkspace().child(filename.txt) On Thu, Aug 1, 2013 at 7:20 AM, Stéphane Bruckert stephane.bruck...@gmail.com wrote: Hello, Through my own plugin, I need to know about the existence of a file in the workspace of a Jenkins slave.

Re: Bytecode Compatibility Transformer

2013-08-01 Thread Kohsuke Kawaguchi
Thanks for the feedback. On 07/31/2013 04:32 PM, Jesse Glick wrote: On Tue, Jul 30, 2013 at 7:38 PM, Kohsuke Kawaguchi kkawagu...@cloudbees.com wrote: @AdaptField protected volatile DescribableList... triggers = ... @AdaptField(DESCRIPTOR) @Restricted(NoExternalUse.class)

New Plugin Available - OWASP Dependency-Check

2013-08-01 Thread Steve Springett
I developed a Jenkins plugin that brings the functionality of OWASP Dependency-Check to Jenkins. Dependency-Check is a utility that detects publicly disclosed vulnerabilities in project dependencies. https://www.owasp.org/index.php/OWASP_Dependency_Check The plugin is built using analysis-core

Requesting committer access for a new plug-in repository (mesos-plugin)

2013-08-01 Thread Chris Aniszczyk
We'd like to develop our Mesos plugin for Jenkins on the Jenkins GitHub organization: https://issues.apache.org/jira/browse/MESOS-608 Can you create a 'mesos-plugin' repo and give GitHub ids 'caniszczyk' and 'vinodkone' admin access to it? I'm not sure how this process exactly works here :)

Re: Cannot access file on Jenkins slave

2013-08-01 Thread Hugh Perkins
Just make it a static nested class so you can control all its fields. Currently, the documentation explicitly shows using a nested anonymous class: http://javadoc.jenkins-ci.org/hudson/FilePath.html#exists%28%29 I tried to reproduce the problem on linux, and failed to reproduce it. My test

Plugin not shown up

2013-08-01 Thread Zhengyuan Shen
I finished built a plugin and I uploaded to a Jenkins server that I need to run this plugin. After uploading, I can see the plugin in the manage plugin page but the plugin is not showing up in the configuration page and the job build step page. It all works in my local Jenkins instance. Does

Re: Plugin not shown up

2013-08-01 Thread Zhengyuan Shen
Yes. I restarted Jenkins, and I tried to upload it both way (from UI and drag and drop to the plugin folder). I did maven clean several times and tried several times, it still doesn't work. You mentioned log file, where can I find it? Thanks, On Thursday, August 1, 2013 12:58:15 PM UTC-7,

Re: Plugin not shown up

2013-08-01 Thread Daniel Beck
The log file location depends on your OS and how you installed Jenkins. But it's available from the UI as well: 'Manage Jenkins » System Log » All Logs'. On 01.08.2013, at 22:03, Zhengyuan Shen esdot...@gmail.com wrote: Yes. I restarted Jenkins, and I tried to upload it both way (from UI and

Re: [Jenkins Infrastructure] - Can't release plugins. Server is unavailable

2013-08-01 Thread Oleg Nenashev
Anyway, upload works well now... Thanks for fix (if it has been done) четверг, 1 августа 2013 г., 16:09:34 UTC+4 пользователь Oleg Nenashev написал: Hello, Seems that http://maven.jenkins-ci.org:8081/ address is not available (probably, server is down). I've tried to release plugins

Re: Plugin not shown up

2013-08-01 Thread Zhengyuan Shen
Aug 1, 2013 1:41:20 PM hudson.ExtensionFinder$Sezpoz scout WARNING: Failed to scout com.xxx.jenkins.test$DescriptorImpl java.lang.InstantiationException: file:/F:/Jenkins/plugins/test/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt:

Re: Plugin not shown up

2013-08-01 Thread Hugh Perkins
hudson.Extension is built by the sezpoz annotation processor. The maven goal associated with this is 'compiler:compile'. This file will be in your plugin project directory in the 'target/classes' subdirectory, ie 'target/classes/META-INF/annotations/hudson.Extension You want to first check