Re: AtomicFileWriterTest fails

2018-04-16 Thread Jesse Glick
On Mon, Apr 16, 2018 at 4:14 PM, Devin Nusbaum  wrote:
> I would just
> ignore it on Windows unconditionally.

Yes, especially given JENKINS-37862.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2f58KoC10HUYMB_ZfZauaUQOJNW2y34brzvDzr3vS1PA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Newbie] Jenkins.instance vs Hudson.instance?

2018-04-16 Thread Calvin
Thank you Oleg. I'll dig more into Descriptor.java to get a better 
understanding.



On Monday, April 16, 2018 at 2:11:23 AM UTC-7, Oleg Nenashev wrote:
>
> Hi Calvin,
>
> Jenkins.instance vs Hudson.instance? Which contains what and why?
>>
>
>- There is no real difference. "Hudson.getInstance()" xists for 
>compatibility reasons but returns the same object
>
> Hudson.instance.tasks.dump()
>
>
> As designed, there is no "tasks" in the Jenkins object: 
> https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/Jenkins.java
>  
> . Likely you got confused by package names.
>
> How do I access the setShell() method?
>
>
> It should be something like that (untested):
> *Jenkins.instance.getDescriptor(hudson.tasks.Shell.class).setShell()* 
>  
> Hopefully it helps,
> Oleg
>
> On Sunday, April 15, 2018 at 10:32:45 PM UTC+2, Calvin wrote:
>>
>> I recently watched Sam's video guides 
>>  on how to modify Jenkins 
>> settings via Groovy scripts.
>>
>> I'm trying to modify the default shell programmatically and running into 
>> difficulties.
>>
>> 
>>
>> On a different Jenkins instance, I see that hudson.tasks.Shell.xml 
>> contains this config
>>
>> 
>>
>>   bash
>>
>> 
>>
>>
>> How do I access that field using Groovy?
>>
>> I found hudson.tasks.Shell.DescriptorImpl.setShell(String shell) doc 
>> .
>> When I tried to access hudson.tasks via Hudson.instance.tasks.dump() I 
>> got this error
>>
>> groovy.lang.MissingPropertyException: No such property: tasks for class: 
>> hudson.model.Hudson
>> Possible solutions: class
>>
>>
>> 1. Jenkins.instance vs Hudson.instance? Which contains what and why?
>> 2. How do I access the setShell() method?
>>
>> Thanks for your help in advance
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/61b81205-cee0-456c-bd9d-7f19e921a6b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AtomicFileWriterTest fails

2018-04-16 Thread Devin Nusbaum
AIUI creating symlinks in Windows 10+ requires running as administrator unless 
developer mode is enabled. Blog post from Microsoft on the changes: 
https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/ 
. I’m 
not sure if there is an easy way to check that setting from Java. UtilTest 
currently ignores all symlink tests on Windows. (It does have one test for 
junctions, which are a little different.)

Since this test is unrelated to posix file permissions so I would just ignore 
it on Windows unconditionally. If you really wanted it to run when symlinks are 
supported then I guess you could run `cmd.exe /C mklink /d link target` using 
ProcessBuilder and if that exits successfully and the symlink exists then 
creating a symlink via NIO should also work.

Devin

> On Apr 16, 2018, at 15:58, Baptiste Mathus  wrote:
> 
> Yeah, introduced in https://github.com/jenkinsci/jenkins/commit/4f2e2615055 
>  / 
> https://github.com/jenkinsci/jenkins/pull/2548 
> 
> 
> Just checked, and though the PR history is now deleted, I'm pretty sure the 
> CI did run on Windows for this too. 
> 
> 
> 
> So there must be a reason why this works or not under some circumstances I 
> suspect.
> 
> I think I will file something tomorrow for this if nobody beats me to it. 
> Though I'd like to understand why it succeeds sometimes or not, maybe just 
> when running under cygwin or not indeed.
> Or maybe I should just try to be smart... Ever.
> And use Functions.isWindows() to disable this globally on Windows, and not 
> just when that new isPosixSupported() method I added returns true or false.
> 
> -- Baptiste
> 
> 
> 2018-04-16 20:55 GMT+02:00 Jesse Glick  >:
> On Sat, Apr 14, 2018 at 1:13 PM, Jonathan Bergh
> > wrote:
> > This helper function in the test led me to
> > believe this test should not be running on the Windows platform
> 
> The `checkPermissionsRespectUmask` test is skipped on Windows. (Well,
> at least potentially—not sure about Cygwin.) `symlinkToDirectory` is
> not skipped on Windows. Probably it should start with:
> 
> assumeFalse(Functions.isWindows());
> 
> Feel free to add that and file a PR claiming to follow up
> 
> https://github.com/jenkinsci/jenkins/pull/2548 
> 
> https://github.com/jenkinsci/jenkins/pull/3233 
> 
> https://github.com/jenkinsci/jenkins/pull/3275 
> 
> 
> -- 
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2YVN2s7D5QLaKZFzgHXUxBs7j1QZbWaHYzyvQAzju%2BJQ%40mail.gmail.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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6%3DxQCVqvjJbz95NTcs62mwy90C5jH0fbwCd1cWDL9exQ%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/8BCC4947-291B-4FD3-837A-98FAA0395780%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.


Re: AtomicFileWriterTest fails

2018-04-16 Thread Baptiste Mathus
Yeah, introduced in https://github.com/jenkinsci/jenkins/commit/4f2e2615055
/ https://github.com/jenkinsci/jenkins/pull/2548

Just checked, and though the PR history is now deleted, I'm pretty sure the
CI did run on Windows for this too.


So there must be a reason why this works or not under some circumstances I
suspect.

I think I will file something tomorrow for this if nobody beats me to it.
Though I'd like to understand why it succeeds sometimes or not, maybe just
when running under cygwin or not indeed.
Or maybe I should just try to be smart... Ever.
And use Functions.isWindows() to disable this globally on Windows, and not
just when that new isPosixSupported() method I added returns true or false.

-- Baptiste


2018-04-16 20:55 GMT+02:00 Jesse Glick :

> On Sat, Apr 14, 2018 at 1:13 PM, Jonathan Bergh
>  wrote:
> > This helper function in the test led me to
> > believe this test should not be running on the Windows platform
>
> The `checkPermissionsRespectUmask` test is skipped on Windows. (Well,
> at least potentially—not sure about Cygwin.) `symlinkToDirectory` is
> not skipped on Windows. Probably it should start with:
>
> assumeFalse(Functions.isWindows());
>
> Feel free to add that and file a PR claiming to follow up
>
> https://github.com/jenkinsci/jenkins/pull/2548
> https://github.com/jenkinsci/jenkins/pull/3233
> https://github.com/jenkinsci/jenkins/pull/3275
>
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/CANfRfr2YVN2s7D5QLaKZFzgHXUxBs7j1QZbWaHYzyvQAzju%2BJQ%
> 40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6%3DxQCVqvjJbz95NTcs62mwy90C5jH0fbwCd1cWDL9exQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Looking for details on Job, Node, and Computer

2018-04-16 Thread Jesse Glick
On Sun, Apr 15, 2018 at 4:04 PM, Joe Fair  wrote:
> I'm working on changing a plugin to use pipeline syntax

https://jenkins.io/doc/developer/plugin-development/pipeline-integration/

> I'm not finding
> much detail around agent, node, and computer.

Can you be more specific?

> I want to create a
> new agent

>From inside the plugin? Not sure what you are getting at here.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1FkyWe_MUm0FSwqp9_5v8-r6J-x8zYREmqiYOEB%2B2ksg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: AtomicFileWriterTest fails

2018-04-16 Thread Jesse Glick
On Sat, Apr 14, 2018 at 1:13 PM, Jonathan Bergh
 wrote:
> This helper function in the test led me to
> believe this test should not be running on the Windows platform

The `checkPermissionsRespectUmask` test is skipped on Windows. (Well,
at least potentially—not sure about Cygwin.) `symlinkToDirectory` is
not skipped on Windows. Probably it should start with:

assumeFalse(Functions.isWindows());

Feel free to add that and file a PR claiming to follow up

https://github.com/jenkinsci/jenkins/pull/2548
https://github.com/jenkinsci/jenkins/pull/3233
https://github.com/jenkinsci/jenkins/pull/3275

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2YVN2s7D5QLaKZFzgHXUxBs7j1QZbWaHYzyvQAzju%2BJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins External Artifact Storage core changes in LTS

2018-04-16 Thread Carlos Sanchez
On Mon, Apr 16, 2018 at 9:32 AM, Oliver Gondža  wrote:

> Thanks for the details, guys. I have rechecked all new API is annotated
> with Beta. I am wondering, what plugins are going to consume this? I am
> trying to understand what userbase will be exposed to the change, what use
> cases can be affected.
>

To be clear, this would be for the next LTS picked in May, not for the
current in progress one.

Existing artifact manager usage is unaffected, everything continues to work
as before storing things on disk.
Only when the new plugin implementing the artifact manager for s3 is
enabled artifacts would go to S3

https://github.com/jenkinsci/jep/blob/master/jep/202/README.adoc#prototype-
implementation

The new one is artifact-manager-s3-plugin


Related PRs

   -

   JENKINS-26810  File
   attribute/symlink support in VirtualFile - fixed as a side effect
   -

   JENKINS-49635  Permit
   VirtualFile to serve external file contents
   -

   Jenkins core PR-3302 
   -

   WAR packaging implementation for the reference implementation
   

Downstream improvements to use the new APIs

   -

   workflow-api-plugin PR-67
   
   -

   workflow-basic-steps-plugin PR-60
   
   -

   copyartifact-plugin PR-100
   
   -

   compress-artifacts-plugin PR-1
   




>
> Having said that, I see this backportable into .3 provided it will be
> merged by the end of the backporting window. Also, It would be great if you
> can either provide ATH tests for the new plugin functionality for RC
> testing window or retest and report during that window.


> Thanks!
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/jenkinsci-dev/9760335c-57cd-0d30-cc90-0053107cfbcb%40gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALHFn6MTY1qEH4uQhdr0%2BoA7rsHKU4AxFhaz3MjtQ%3DOg%2BbLirw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Jenkins World 2018] - Graders wanted

2018-04-16 Thread Alyssa Tong
Hi Girish,

Basically you will be reviewing the submissions received and giving it a
score, and or add comments (your opinion). That's it!

Thanks,
alyssa

On Sun, Apr 15, 2018 at 10:07 PM, Girish Kg  wrote:

> I am interested. Please provide more details on the roles and
> responsibilities. Thanks.
>
> Warm Regards
> Girish KG
>
> On 16 April 2018 at 00:49, Joe Fair  wrote:
>
>> I'd be glad to help, too.
>> Joe
>>
>> On Friday, April 13, 2018 at 12:09:08 PM UTC-4, alytong13 wrote:
>>>
>>> Hello,
>>>
>>> I am looking for additional graders to join the Jenkins World (JW)
>>> review committee to help grade Jenkins World 2018 SF & EU proposals.
>>>
>>> Time commitment expected:
>>>
>>>- JW SF: 137 Jenkins submissions.
>>>- JW EU: 76 Jenkins submissions at the moment but most likely will
>>>increase after close of CFP this Sunday.
>>>
>>> What you get:
>>>
>>>- Pix, bio on the Committee webpage (part of JW website)
>>>- JW swag
>>>- Free conference ticket to JW
>>>
>>> Criteria:
>>>
>>>- You love to read and has a keen mind for the latest and greatest,
>>>trendy technical topics
>>>
>>> Pls respond to this thread if you're interested.
>>>
>>> BR,
>>> alyssa
>>>
>>> --
>> 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.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-dev/de7f7cd8-e48e-4a48-a8f6-6f5f989d7642%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Warm Regards
> .//Girish KG
>
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/CADtmhQOysSGz_S4-GnoQ5Bdu7LjjCZagyJea87ziDR46v4
> CVAA%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAMBsfbtkpSTmbA-nfO6DSxXm4EK9%3DmMQeiFnBgpsfvixJmJ%2B3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


support document for develop UI plugin

2018-04-16 Thread Nalakajayaruwan Kulasekara
Hi Team,

I'm beginner for creating Jenkins plugin. I want to create a Jenkins UI 
plugin to create workflow diagram. Then I tried to find some tutorial or 
helping document for create new UI Plugin, but I couldn't found complete 
document.

So Would you please help me to know, Jenkins UI Plugin creating tutorials 
and related   article. 

Thanks,
Nalaka

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/aa5226f9-ac3a-4b69-9c3c-6cde14eba5a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Request for comments: Special Interest Groups (SIGs) for the Jenkins project

2018-04-16 Thread R. Tyler Croy
(replies inline)

On Wed, 11 Apr 2018, Ewelina Wilkosz wrote:

> I must say I only briefly scanned the part with all the jenkinsci-foo and 
> sig-foo :( it seemed like a lot indeed. I like the rest of the document 
> though! but this part was almost verwhelming... 
> that's why I asked about SIG Lead responsibility. If we want to do a good 
> job we should make it as easy as possible - not that I'm lazy, but let's be 
> realistic 
> 
> We can see people being confused about Jenkins Developers and Jenkins Users 
> mailing list - if we have too many groups to choose from I would probably 
> spend so much time trying to figure out which one is the one I should post 
> in


Thanks Ewelina and Ba(p)tiste, I've made some changes and removed the manymany
recommended mailing lists as I don't think we're at the point of needing them
yet.


Filed as a proper Draft now: https://github.com/jenkinsci/jep/pull/81

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/20180416141708.GH1836%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: State of Xcode plugin??

2018-04-16 Thread Kazuhide Takahashi
Maintainers of 'Jenkins Xcode Plugin' are currently inactive, and 
reflections of pull requests are delayed, so I am willing to take over 
their duties.
To do this, you need write access to WiKi pages and git repositories, so 
please approve this.

2016年9月7日水曜日 2時37分33秒 UTC+9 Brantone:
>
> Curious as to the current state of Xcode plugin. Although there was a 
> recent merge last month, there hasn't been a release in almost a year and a 
> list of PRs piling up.
> I've attempted to contact current maintainer about helping out, but have 
> not heard word back.
> Is there a process for such a situation??
> With changes in Jenkins 2.x and Xcode 8, would be a shame for the plugin 
> to get further behind.
>
> Cheers
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/d56c3da8-06ae-48e9-af74-08b971286bbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Request to become maintainer of the statistics-gatherer-plugin

2018-04-16 Thread Luca Milanesio
Hi all,
the PR has been waiting for 13 days now (see 
https://github.com/jenkinsci/statistics-gatherer-plugin/pull/4 
) and still no 
news from the current maintainer :-(

Can we process my request this week? As discussed, I would rather avoid forking 
the plugin and create confusion. However, we need to get this done and get the 
SCM Info fixed.

Thank you in advance.
Luca.

> On 13 Apr 2018, at 10:37, Luca Milanesio  wrote:
> 
> PIng ... any news from the current Maintainers?
> Are we set for end of next week to make a decision on this?
> 
> Luca.
> 
>> On 10 Apr 2018, at 08:07, Luca Milanesio  wrote:
>> 
>> 2 weeks sound good to me, and yes, I always avoid forks :-)
>> 
>> Luca.
>> 
>>> On 10 Apr 2018, at 08:02, Joseph P  wrote:
>>> 
>>> Usually the wait period is 2 weeks :) I would not recommend creating 
>>> another plugin.
>>> 
>>> -- 
>>> 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.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-dev/8b9ce146-6cf1-4b5a-a702-108ffe540d29%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/8CAA50DD-A447-4362-9570-9D6373D5E13E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSoC 2018] - Preliminary announcement

2018-04-16 Thread Oleg Nenashev
Hi Vidhi,

Sorry for the response delay. I see you were able to update the document.

It is a bit late for joining the mentor team, we are at the student 
selection phase. And the most of the mentor teams are already formed. OTOH, 
we still welcome people to join as experts and mentors if they are 
interested an existing project and can contribute to it with their 
expertise.

Could you please update the document to reflect your Jenkins experience and 
clarify which project ideas 
 you would like 
to work on as a mentor?

Thanks in advance,
Oleg

On Thursday, April 12, 2018 at 9:09:09 AM UTC+2, vidhi jindal wrote:
>
> Hi, 
>
> I want to be a mentor. I cannot access this link. Is there any new link?
>
> On Tuesday, December 19, 2017 at 4:32:42 PM UTC+5:30, Oleg Nenashev wrote:
>>
>> Hi,
>>
>> I suggest discussing the ideas in a Google Doc.
>> Wiki is fine, but it is complicated to handle the feedback there.
>> I have started 
>> https://docs.google.com/document/d/1q2p_XZEdbkcVDMpEPTtjPS15i2Oq3CQgH_geJjPhofY/edit?usp=sharing
>>  
>> for now, so please feel free to propose your project ideas there.
>>
>> Once the ideas are finalized, I will be moving them to the jenkins.io 
>> website.
>>
>> BR, Oleg
>>
>>
>>
>> понедельник, 18 декабря 2017 г., 9:18:13 UTC+1 пользователь Ewelina 
>> Wilkosz написал:
>>>
>>> Count me in, for Jenkins Configuration as Code
>>>
>>> On Saturday, December 16, 2017 at 5:50:19 PM UTC+1, martinda wrote:

 I would like to renew this experience. You can count me in as a mentor.

 Where should we propose and discuss project ideas? I suggest a page on 
 the Wiki like GSoC 2016 project idea examples 
 .
 I have a few ideas already:

- Improvements to workspace data retention feature (aka automatic 
workspace clean up)
   - Erase  builds older than X days of builds but always keep the 
   last Y builds regardless of how old the builds are
   - Erase the external workspaces 
    in 
   accordance with the workspace retention policy
   - Summary Report plugin 
 workflow compatibility
- Speed improvements to the ATH (like use a dockerized jenkins 
instead of restarting jenkins for every test, but I am sure there are 
 many 
ideas here)

 Martin

>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/01b7a3ce-150f-4647-b55d-d821b0cf63e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adopting xUnit plugin

2018-04-16 Thread Oleg Nenashev
Thanks for it Nikolas!
Please feel free to ping me or code-reviewers if you need any help with 
reviews.

Best regards,
Oleg

On Sunday, April 15, 2018 at 9:32:25 AM UTC+2, Nikolas Falco wrote:
>
> Good news, a pull request has been submitted - 
> https://github.com/jenkins-infra/repository-permissions-updater/pull/668
>
> Il giorno mercoledì 11 aprile 2018 23:48:35 UTC+2, Andrew Bayer ha scritto:
>>
>> That'd be fine by me.
>>
>> A.
>>
>> On Mon, Apr 9, 2018 at 6:35 AM, 'Nikolas Falco' via Jenkins Developers <
>> jenkin...@googlegroups.com> wrote:
>>
>>> I know that the xUnit plugin was already adopted on 15/11/2017 (
>>> https://groups.google.com/forum/#!searchin/jenkinsci-dev/xunit%7Csort:date/jenkinsci-dev/RROnSHD36-A/u4DcVHygAQAJ
>>> )
>>>
>>> Jimilian, one month ago had ask news about movement on the plugin (for 
>>> example pending PRs already approved by Oleg).
>>> In my society we are using xUnit but recently we had a blocking issue. 
>>> We already open a PR and a JIRA issue (JENKINS-50658) but from what I 
>>> can see there are not commits on the plugin since 2016 and no response to 
>>> any JIRA issue. 
>>>
>>> Maybe abayer is very busy in develop of other cloudbee plugins so if is 
>>> not a problem I would be added as co-adopter (at least) of the xUnit plugin 
>>> to manage and fix (at least) the actual approved PRs, move plugin under 
>>> pipeline, update parent pom and other minor fixes.
>>>
>>> Best Regards
>>> Falco Nikolas
>>>
>>> -- 
>>> 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.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-dev/72a5095b-cce4-42f0-9192-8733e6da3ba6%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/5d0eb3a0-f493-433c-aa61-fba01d9191bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Newbie] Jenkins.instance vs Hudson.instance?

2018-04-16 Thread Oleg Nenashev
Hi Calvin,

Jenkins.instance vs Hudson.instance? Which contains what and why?
>

   - There is no real difference. "Hudson.getInstance()" xists for 
   compatibility reasons but returns the same object

Hudson.instance.tasks.dump()


As designed, there is no "tasks" in the Jenkins object: 
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/Jenkins.java
 
. Likely you got confused by package names.

How do I access the setShell() method?


It should be something like that (untested):
*Jenkins.instance.getDescriptor(hudson.tasks.Shell.class).setShell()* 
 
Hopefully it helps,
Oleg

On Sunday, April 15, 2018 at 10:32:45 PM UTC+2, Calvin wrote:
>
> I recently watched Sam's video guides 
>  on how to modify Jenkins 
> settings via Groovy scripts.
>
> I'm trying to modify the default shell programmatically and running into 
> difficulties.
>
> 
>
> On a different Jenkins instance, I see that hudson.tasks.Shell.xml 
> contains this config
>
> 
>
>   bash
>
> 
>
>
> How do I access that field using Groovy?
>
> I found hudson.tasks.Shell.DescriptorImpl.setShell(String shell) doc 
> .
> When I tried to access hudson.tasks via Hudson.instance.tasks.dump() I 
> got this error
>
> groovy.lang.MissingPropertyException: No such property: tasks for class: 
> hudson.model.Hudson
> Possible solutions: class
>
>
> 1. Jenkins.instance vs Hudson.instance? Which contains what and why?
> 2. How do I access the setShell() method?
>
> Thanks for your help in advance
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3176f78e-0d2b-4539-b9b2-370a962150da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Jenkins World 2018] - Graders wanted

2018-04-16 Thread Oleg Nenashev
Unfortunately I have to abstain due to personal reasons.
But I encourage other people to join the review board, it was an 
interesting activity in last 2 years.

BR, Oleg

On Monday, April 16, 2018 at 10:08:05 AM UTC+2, Girish Kg wrote:
>
> I am interested. Please provide more details on the roles and 
> responsibilities. Thanks.
>
> Warm Regards
> Girish KG
>
> On 16 April 2018 at 00:49, Joe Fair  
> wrote:
>
>> I'd be glad to help, too.
>> Joe
>>
>> On Friday, April 13, 2018 at 12:09:08 PM UTC-4, alytong13 wrote:
>>>
>>> Hello,
>>>
>>> I am looking for additional graders to join the Jenkins World (JW) 
>>> review committee to help grade Jenkins World 2018 SF & EU proposals.
>>>
>>> Time commitment expected:
>>>
>>>- JW SF: 137 Jenkins submissions.
>>>- JW EU: 76 Jenkins submissions at the moment but most likely will 
>>>increase after close of CFP this Sunday.
>>>
>>> What you get:
>>>
>>>- Pix, bio on the Committee webpage (part of JW website)
>>>- JW swag
>>>- Free conference ticket to JW
>>>
>>> Criteria:
>>>
>>>- You love to read and has a keen mind for the latest and greatest, 
>>>trendy technical topics
>>>
>>> Pls respond to this thread if you're interested.
>>>
>>> BR,
>>> alyssa 
>>>
>>> -- 
>> 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 .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/de7f7cd8-e48e-4a48-a8f6-6f5f989d7642%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Warm Regards
> .//Girish KG
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/ee39f15c-bcb0-4d10-87d0-dc90aeef4215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: State of Xcode plugin??

2018-04-16 Thread Arnaud Héritier
Hi Kazuhide

  Thanks a lot. Based on the discussion we had on this PR I agree to share
the maintainer role.

https://github.com/jenkinsci/xcode-plugin/pull/87

  Your gitHub Id is kazuhidet I added you as committer

  What is your Jenkins account ID (used for Jira for exemple) ?

  To be able to release the plugin you'll need also to do a PR here

https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-xcode-plugin.yml


On Mon, Apr 16, 2018 at 3:10 AM, Kazuhide Takahashi 
wrote:

> Maintainers of 'Jenkins Xcode Plugin' are currently inactive, and
> reflections of pull requests are delayed, so I am willing to take over
> their duties.
> To do this, you need write access to WiKi pages and git repositories, so
> please approve this.
>
> 2016年9月7日水曜日 2時37分33秒 UTC+9 Brantone:
>>
>> Curious as to the current state of Xcode plugin. Although there was a
>> recent merge last month, there hasn't been a release in almost a year and a
>> list of PRs piling up.
>> I've attempted to contact current maintainer about helping out, but have
>> not heard word back.
>> Is there a process for such a situation??
>> With changes in Jenkins 2.x and Xcode 8, would be a shame for the plugin
>> to get further behind.
>>
>> Cheers
>>
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/153f8fb4-849d-4c9c-ab81-ab4b589006e3%
> 40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-_dgfhjYkUUGD9cS3vgMSy7xRyagUVZSz9fwcR6NHNfgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Jenkins World 2018] - Graders wanted

2018-04-16 Thread Girish Kg
I am interested. Please provide more details on the roles and
responsibilities. Thanks.

Warm Regards
Girish KG

On 16 April 2018 at 00:49, Joe Fair  wrote:

> I'd be glad to help, too.
> Joe
>
> On Friday, April 13, 2018 at 12:09:08 PM UTC-4, alytong13 wrote:
>>
>> Hello,
>>
>> I am looking for additional graders to join the Jenkins World (JW) review
>> committee to help grade Jenkins World 2018 SF & EU proposals.
>>
>> Time commitment expected:
>>
>>- JW SF: 137 Jenkins submissions.
>>- JW EU: 76 Jenkins submissions at the moment but most likely will
>>increase after close of CFP this Sunday.
>>
>> What you get:
>>
>>- Pix, bio on the Committee webpage (part of JW website)
>>- JW swag
>>- Free conference ticket to JW
>>
>> Criteria:
>>
>>- You love to read and has a keen mind for the latest and greatest,
>>trendy technical topics
>>
>> Pls respond to this thread if you're interested.
>>
>> BR,
>> alyssa
>>
>> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/de7f7cd8-e48e-4a48-a8f6-6f5f989d7642%
> 40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Warm Regards
.//Girish KG

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CADtmhQOysSGz_S4-GnoQ5Bdu7LjjCZagyJea87ziDR46v4CVAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: State of Xcode plugin??

2018-04-16 Thread Kazuhide Takahashi
Maintainers of 'Jenkins Xcode Plugin' are currently inactive, and 
reflections of pull requests are delayed, so I am willing to take over 
their duties.
To do this, you need write access to WiKi pages and git repositories, so 
please approve this.

2016年9月7日水曜日 2時37分33秒 UTC+9 Brantone:
>
> Curious as to the current state of Xcode plugin. Although there was a 
> recent merge last month, there hasn't been a release in almost a year and a 
> list of PRs piling up.
> I've attempted to contact current maintainer about helping out, but have 
> not heard word back.
> Is there a process for such a situation??
> With changes in Jenkins 2.x and Xcode 8, would be a shame for the plugin 
> to get further behind.
>
> Cheers
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/153f8fb4-849d-4c9c-ab81-ab4b589006e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Looking for details on Job, Node, and Computer

2018-04-16 Thread Markus Winter
I found the best way to understand is reading the javadoc and sometimes 
also looking into the code of Jenkins itself.



On 15.04.2018 22:04, Joe Fair wrote:
I'm working on changing a plugin to use pipeline syntax, but I'm not 
finding much detail around agent, node, and computer.


Is there a document that talks about how these relate?  I want to 
create a new agent, but I'm having trouble getting started.


Thanks,
Joe
--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/018e5a30-9f9b-4ff8-b5aa-97ec6a907243%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/401c23d1-90a4-c555-ec5c-577d6f0c1e7f%40gmx.de.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins External Artifact Storage core changes in LTS

2018-04-16 Thread Oliver Gondža
Thanks for the details, guys. I have rechecked all new API is annotated 
with Beta. I am wondering, what plugins are going to consume this? I am 
trying to understand what userbase will be exposed to the change, what 
use cases can be affected.


Having said that, I see this backportable into .3 provided it will be 
merged by the end of the backporting window. Also, It would be great if 
you can either provide ATH tests for the new plugin functionality for RC 
testing window or retest and report during that window.


Thanks!
--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9760335c-57cd-0d30-cc90-0053107cfbcb%40gmail.com.
For more options, visit https://groups.google.com/d/optout.