Form validation for a hetero-list doesn't want to work

2014-06-25 Thread Daniel Olausson
Hi,

I've been developing Jenkins plugins for quite some time now but I just 
can't get this form validation to work.

Some code:

This is the variable I want to validate(In the Describable class):
private final List mySecrets;

This is the form validation method(It is in the Descriptor class of course):
public FormValidation doCheckMySecrets(@QueryParameter final 
List mySecrets) {
System.out.println("I am called");
return FormValidation.ok();
}

And this is the config.jelly:





>From the beginning the hetero-list wasn't wrapped in an entry tag and I 
thought adding it would solve the problem, but no...

Have I missed something?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update the

2014-06-25 Thread Daniel Beck

On 25.06.2014, at 21:53, Baptiste Mathus  wrote:

> Last time I remember, I think this was above 900 or so? Maybe 1000+ was even 
> reached? If so, shouldn't it be updated?

The exact number of plugins (that are published to update center?) is shown on 
the blog's sidebar:

http://jenkins-ci.org/node

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update the

2014-06-25 Thread Richard Bywater
I'd argue to remove the number completely as its going to get out of date
whichever number you put. Also I'm not sure that one should describe
something based on its size but rather its strengths.

Richard.


On Thu, Jun 26, 2014 at 7:53 AM, Baptiste Mathus  wrote:

> Hi all,
>
> Just saw that when you look for jenkins, Google actually displays the
> value contained in the HTML page in the 
> It currently says:
> 
>
> Isn't it actually far more than that. Last time I remember, I think this
> was above 900 or so? Maybe 1000+ was even reached? If so, shouldn't it be
> updated?
>
> My 2 cents.
>
> Cheers
> --
> Baptiste
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Update the

2014-06-25 Thread Baptiste Mathus
Hi all,

Just saw that when you look for jenkins, Google actually displays the value
contained in the HTML page in the 

Isn't it actually far more than that. Last time I remember, I think this
was above 900 or so? Maybe 1000+ was even reached? If so, shouldn't it be
updated?

My 2 cents.

Cheers
-- 
Baptiste

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins 1.554.3 RC Testing

2014-06-25 Thread oliver gondža

RC testing is over. We can proceed with the release.

Thanks everyone who helped with manual testing.

--
oliver

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Requesting to publish new jenkins plugin - threadfix-plugin

2014-06-25 Thread Oleg Nenashev
Useful links:

   - 
   
https://groups.google.com/forum/#!searchin/jenkinsci-dev/release$20snapshot/jenkinsci-dev/Dt0c8aDGnd8/CecSZVI4ykcJ
   - 
   
https://groups.google.com/forum/#!searchin/jenkinsci-dev/release$20snapshot/jenkinsci-dev/qkmbl3HrYgk/TBdhCTUGZgEJ
   
BTW, a description in the Known Issues section on JIRA would be useful...


среда, 25 июня 2014 г., 20:27:03 UTC+4 пользователь Brandon Spruth написал:
>
> I am attempting to get my plugin available on 
> https://updates.jenkins-ci.org/update-center.json.  However, I am only 
> successful with pushing to snapshots not releases (
> http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/threadfix).
>  
>  Any guidance to push to releases would be appreciated.
>
> Below is my snapshot URL.
>
> http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/threadfix/1.1-SNAPSHOT/threadfix-1.1-2014025.153550-2.hpi
>
> The command I ran in interactive mode was as follows:
> mvn release:prepare release:perform
> ...
> What is the release version for "ThreadFix Plugin"? 
> (org.jenkins-ci.plugins:threadfix) 1.1: :
> What is SCM release tag or label for "ThreadFix Plugin"? 
> (org.jenkins-ci.plugins:threadfix) threadfix-1.1: : threadfix
>
> Double checked my pom below with "mvn help:effective-pom"
> ...
> 
> 
>   maven.jenkins-ci.org
>   http://maven.jenkins-ci.org:8081/content/repositories/releases
> 
> 
> ...
>
>
> On Saturday, June 21, 2014 4:07:13 PM UTC-5, Brandon Spruth wrote:
>>
>> I wish to publish a new Jenkins plugin for ThreadFix.  My ID is 
>> automationdomination for jenkins-ci.org and the plugin source will be 
>> located here https://github.com/automationdomination/threadfix-plugin. 
>>  I plan on publishing within a couple of days if possible?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Requesting to publish new jenkins plugin - threadfix-plugin

2014-06-25 Thread Brandon Spruth
I am attempting to get my plugin available on 
https://updates.jenkins-ci.org/update-center.json.  However, I am only 
successful with pushing to snapshots not releases 
(http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/threadfix).
 
 Any guidance to push to releases would be appreciated.

Below is my snapshot URL.
http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/threadfix/1.1-SNAPSHOT/threadfix-1.1-2014025.153550-2.hpi

The command I ran in interactive mode was as follows:
mvn release:prepare release:perform
...
What is the release version for "ThreadFix Plugin"? 
(org.jenkins-ci.plugins:threadfix) 1.1: :
What is SCM release tag or label for "ThreadFix Plugin"? 
(org.jenkins-ci.plugins:threadfix) threadfix-1.1: : threadfix

Double checked my pom below with "mvn help:effective-pom"
...


  maven.jenkins-ci.org
  
http://maven.jenkins-ci.org:8081/content/repositories/releases

...


On Saturday, June 21, 2014 4:07:13 PM UTC-5, Brandon Spruth wrote:
>
> I wish to publish a new Jenkins plugin for ThreadFix.  My ID is 
> automationdomination for jenkins-ci.org and the plugin source will be 
> located here https://github.com/automationdomination/threadfix-plugin.  I 
> plan on publishing within a couple of days if possible?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Requesting to publish a new Jenkins plugin: CursePublish

2014-06-25 Thread Hakan Tandoğan
Just out of curiosity, because your example show "kerbal" as game... Which 
addon are you using this plugin for?

On Saturday, June 21, 2014 2:12:54 PM UTC+2, r04r wrote:
>
> @Oleg
> Sure, absolutely fine with me.
>
>
> On Sat, Jun 21, 2014 at 9:08 AM, Oleg Nenashev  > wrote:
>
>> Hello,
>>
>> What about renaming the plugin to: *curseforge-publisher* ?
>> The current id ("CursePublish") is not very good.
>>
>> The GitHub repository name in such case will be 
>> *curseforge-publisher-plugin*
>>
>> @r04r
>> Do you agree with such changes?
>>
>> Best regards,
>> Oleg Nenashev
>>
>> пятница, 20 июня 2014 г., 19:28:54 UTC+4 пользователь r04r написал:
>>
>>> Hi all,
>>>
>>> I've been working on a plugin for Jenkins which can be found at 
>>> https://github.com/r04r/CursePublisher-jenkins. This is the first 
>>> Jenkins plugin that I've made, and in general I have little experience with 
>>> maven so I hope that everything is in order. If not, please let me know and 
>>> I will try my best to resolve it.
>>>  
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Private message regarding: Updating a config.xml file for a job through Java code

2014-06-25 Thread Ulli Hafner
Please use the mailing list so others can participate.

I still do not understand your use case. Do you want to replace the job 
configuration page with a simpler one? When you are running a plugin inside 
Jenkins then there is no need to use the remote API, this is only required if 
you write an additional application... 

Am 24.06.2014 um 23:46 schrieb Karthik V S :

> Hi Ullrich,
> 
> Thank you for your reply. I now know which api to call to obtain the job 
> configuration config.xml and to post the job configuration.xml.
> 
> However, my query is that, where should the code for reading the xml file and 
> posting the xml file be placed?
> 
> Should it be in the class that extends from Plugin or should it be in a some 
> other class?
> 
> If it is the former, could you please let me know whether to place the code 
> in the start or the configure method?
> 
> If it is the latter, could you please let me know in which class should i 
> place that code and what Hudson class should that class extend reply?
> 
> Apologies for the numerous questions. But have been stuck on this for the 
> past two days. Any info would be really valuable.
> 
> Thanks,
> Karthik
> 
> On Saturday, 21 June 2014 01:27:14 UTC-7, Ullrich Hafner wrote:
> Can you please explain in more detail? What is a custom job configuration 
> page? A web page outside of the Jenkins web app?
> 
> You can update the job configuration using the remote api.
> 
> Am 21.06.2014 um 02:29 schrieb Karthik V S :
> 
>> Hi,
>> 
>> I have an custom job configuration page that is a subset of the options 
>> present in the main configuration page.
>> 
>> My requirement is to persist the changes done in this page to the config.xml 
>> file of the project?
>> 
>> Could anyone provide me valuable pointers on this?
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: jclouds-plugin disable floating ips with openstack (ec2-nova)

2014-06-25 Thread Tamás Kende
Any idea?

2014. június 13., péntek 15:22:52 UTC+2 időpontban Tamás Kende a következőt 
írta:
>
> Hi all,
>
> I just started to use jclouds plugin with openstack and I have an issue 
> with the floating ips... In Jclouds the default config for ec2 nova is to 
> use floating ips... (The autoAllocateElasticIps in the 
> org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet is true, 
> because org.jclouds.openstack.nova.ec2.NovaEC2ApiMetadata#defaultProperties 
> sets it to true)
>
> to disable it you have to change the properties in the jclouds context. 
> And here is my issue... It seems to me this property should be set in the 
> JCloudsCloud class (in one of the ctx methods or the getCompute), otherwise 
> it just wont work. I am willing to add a PR for that, but not sure about 
> the implementation. Do I have to add a new field in the constructor of 
> JCloudsCloud and set it but I am not sure how to pass data from 
> JCloudsSalveTemplate to it... or it is just by parameter name? or I am 
> completely off track and the issue is elsewhere?
>
> Thank you for your help,
>
> Cheers
>
> Tamas
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.