Re: Download local files from jenkins plugin page

2023-03-05 Thread Ullrich Hafner


> Am 06.03.2023 um 02:37 schrieb Young CJ :
> 
> Here are more details. I have a mac mini for iOS app packaging, and I 
> installed jenkins on this computer so we can access jenkin by localhost:8080. 
> After finishing iOS packaging, it will produce some files in local 
> folder(include IPA file).

What do you mean with „I will produce"? Do you mean a Jenkins build produces 
these artifacts? Then you do not need to write a plugin, your artifacts are 
automatically available in Jenkins UI via 
https://www.jenkins.io/doc/pipeline/steps/core/#archiveartifacts-archive-the-artifacts

When you are producing the artifacts outside of Jenkins then you are using 
Jenkins the wrong way.

> After this, I will provide this jenkins url to other user by some tools like 
> ngrok. They need IPA file that we generated,so I write a plugin to handle 
> this. But I don't know how to provide these files  to users in plugin. (As 
> said above, these files are stored in my mac mini.)

As mentioned above, you do not need to write a plugin for such things. What 
else does your plugin?

> 
> 在2023年3月6日星期一 UTC+8 04:16:54 写道:
>> I think you need to add some more details. What do you mean with local 
>> files? Do you want to have files uploaded from your local computer to the 
>> Jenkins controller? Or the other way round, provide a link to a file that is 
>> stored in a folder of the Jenkins controller? Where are these files stored, 
>> how doing you create these file...
>> 
>> 
>>> Am 03.03.2023 um 10:19 schrieb Young CJ >:
>>> 
>> 
>>> Hi everyone, I'm developing an iOS package plugin, I need to provide IPA 
>>> file to users, So I
>>> want to show a entrance on my plugin page. But I don't know how to access 
>>> local files in jelly. Can someone help me. Thanks a lot
>>> 
>> 
>>> -- 
>>> 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/639aecbc-0755-42e8-a851-7ca37241be39n%40googlegroups.com
>>>  
>>> .
>> 
> 
> 
> -- 
> 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/cf98b8f6-035d-4f3b-b6c1-741b3eb41b22n%40googlegroups.com
>  
> .

-- 
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/387036F3-BA1B-419F-9F6B-80A2A2335831%40gmail.com.


Re: Download local files from jenkins plugin page

2023-03-05 Thread Young CJ
Here are more details. I have a mac mini for iOS app packaging, and I 
installed jenkins on this computer so we can access jenkin by 
localhost:8080. After finishing iOS packaging, it will produce some files 
in local folder(include IPA file). After this, I will provide this jenkins 
url to other user by some tools like ngrok. They need IPA file that we 
generated,so I write a plugin to handle this. But I don't know how to 
provide these files  to users in plugin. (As said above, these files are 
stored in my mac mini.)

在2023年3月6日星期一 UTC+8 04:16:54 写道:

> I think you need to add some more details. What do you mean with local 
> files? Do you want to have files uploaded from your local computer to the 
> Jenkins controller? Or the other way round, provide a link to a file that 
> is stored in a folder of the Jenkins controller? Where are these files 
> stored, how doing you create these file...
>
> Am 03.03.2023 um 10:19 schrieb Young CJ :
>
> Hi everyone, I'm developing an iOS package plugin, I need to provide IPA 
> file to users, So I
> want to show a entrance on my plugin page. But I don't know how to access 
> local files in jelly. Can someone help me. Thanks a lot
>
> -- 
> 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/639aecbc-0755-42e8-a851-7ca37241be39n%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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/cf98b8f6-035d-4f3b-b6c1-741b3eb41b22n%40googlegroups.com.


Re: Managing clouds UI in Jenkins

2023-03-05 Thread Tim Jacomb
Vincent provided a PR for this:
https://github.com/jenkinsci/jenkins/pull/7658

I've done some work on it and it's now ready for review.

Thanks
Tim

On Thu, 19 Jan 2023 at 17:34, John Patrick  wrote:

> I was needing to fix configure within those pages only a few hour ago.
> Some way of knowing config is valid/active/working would be useful
> Also grouping or highlighting nodes which are in the same cloud config
> would be useful.
> I had two cloud configurations, and several cloud agents showing, but it
> was hard to see which are via which cloud provider. But one cloud config
> when i click test connection was failing, but that required page navigation
> and the to expand the options. So all the nodes where via one cloud
> provider.
> John
>
>
> On Thu, 19 Jan 2023 at 11:32, Tim Jacomb  wrote:
>
>> Seems reasonable to me although a prototype would allow giving better
>> feedback :)
>>
>> On Thu, 19 Jan 2023 at 09:55, Vincent Latombe 
>> wrote:
>>
>>> Hello,
>>>
>>> I've been looking at cloud configuration recently, and these are my
>>> naive thoughts about it. Let me know what you think of it.
>>>
>>> Clouds configuration was moved from Configure System to Manage Nodes and
>>> Clouds through #4339  
>>> (already
>>> 3 years ago)
>>>
>>> [image: Capture d’écran 2023-01-19 à 10.38.54.png]
>>>
>>> Looking at the "Manage nodes and clouds" page, beyond the "Configure
>>> Clouds" in the sidebar, it is still very focused on nodes, not so much on
>>> clouds (even though there is an optional computerSet view for each cloud).
>>>
>>> The "Configure Clouds" screen lists all configured clouds. As mentioned
>>> in #4339 , in practice
>>> these take a lot of vertical space due to the model complexity that comes
>>> with some cloud implementations.
>>>
>>> Clouds have an 'index' view, accessible through
>>> /manage/cloud//. I don't think any implementation implements
>>> this page so this is currently just a title, and it doesn't have any
>>> sidebar.
>>>
>>> I think it would be more consistent to have :
>>> - at the top, a button to add a new cloud, next to the button "new node"
>>> - this needs a new screen to add a new cloud, similar to how we declare
>>> a new node
>>> - have a list of clouds directly in the "Manage nodes and clouds"
>>> screen, with clickable name and configure link
>>> - a more complete index screen for individual clouds. Sidebar would
>>> include a link to configure, and the main page would include the current
>>> 'computerSet' view. Sidebar could include additional actions contributed
>>> from plugins going forward.
>>> - a configure screen for an individual cloud
>>> - remove the "Configure clouds" link, since now clouds would be
>>> configurable individually.
>>>
>>> Cheers,
>>>
>>> Vincent
>>>
>>> --
>>> 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/CAH-zGCi7efXHgj59TMQbCamN7x03yzysL45tj4Z%3DZ5tC1%3DgAew%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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/CAH-3Biek-sjMX_1dD7cuX_6rd3zwbpsswP-Ycw6bu-riPbwdNg%40mail.gmail.com
>> 
>> .
>>
> --
> 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/CAH9u10mNB71idxmC0845eonYwi_kQHRaoS8wHttnuUn0sGJfCQ%40mail.gmail.com
> 
> .
>

-- 
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/CAH-3BieEHVfSs_JWBN5izN_5Aq%2BZsSRBgDKPgZK0aXj2SnpU4g%40mail.gmail.com.


Re: Download local files from jenkins plugin page

2023-03-05 Thread Ullrich Hafner
I think you need to add some more details. What do you mean with local files? 
Do you want to have files uploaded from your local computer to the Jenkins 
controller? Or the other way round, provide a link to a file that is stored in 
a folder of the Jenkins controller? Where are these files stored, how doing you 
create these file...

> Am 03.03.2023 um 10:19 schrieb Young CJ :
> 
> Hi everyone, I'm developing an iOS package plugin, I need to provide IPA file 
> to users, So I
> want to show a entrance on my plugin page. But I don't know how to access 
> local files in jelly. Can someone help me. Thanks a lot
> 
> -- 
> 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/639aecbc-0755-42e8-a851-7ca37241be39n%40googlegroups.com
>  
> .

-- 
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/5040FE8B-7CA6-4FE1-82F2-D05BD5D54996%40gmail.com.


Re: Duties of a plugin maintainer.

2023-03-05 Thread Mark Waite


On Sunday, March 5, 2023 at 9:00:20 AM UTC-7 iamagui wrote:

Hi all,

I am very new to Jenkins and came across that '
https://plugins.jenkins.io/cvs/' is up for adoption. If possible, could you 
please let me know the duties and responsibility of a plugin maintainer to 
see whether l can able to perform the tasks and able to adopt it. Pardon me 
if asking this already disqualify me for being a maintainer. Thanks in 
advance.


Thanks for your interest and thanks for a great question.

I think that our documented answer(s) are missing key information.  I'll 
point to the documentation that I've found and then offer my opinions as a 
plugin maintainer.

*Documentation that I've found:*

https://www.jenkins.io/project/governance/#helping-and-taking-over-dormant-plugins
 
provides a few sentence overview that encourages plugin adoption, but it 
does not outline specific duties of a plugin maintainer.

https://www.jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/#faq 
includes text that says:

 Once you’ve chosen a plugin, review the documentation on plugin 
maintainership in the Jenkins project. This is especially important if 
you’re not currently a plugin developer.

Unfortunately, the "documentation on plugin maintainership" phrase is not a 
link and I don't find a specific single document that I would call the 
"documentation on plugin maintainership".  I think we should create that 
page and I will attempt to make this post be a rough draft of the things 
that I think should be described there.

*My opinions as a plugin maintainer:*

I believe there are multiple levels of involvement and a plugin maintainer 
helps users if they engage in *any* of those levels.  They may not be able 
to engage in all of them, but *any* of them are already a help to Jenkins 
users

   1. Test and release new versions of the plugin (either manually 
    or 
   automatically 
   ) when 
   valuable and relevant changes have been made to the plugin
   2. Modernize the plugin (see the "Improve a plugin" tutorial 
    for guidance 
   and the "Contributing to open source" document 
   

 
   for other ideas) and release a version with the modernizations
   3. Review, approve, and merge dependency update pull requests (usually 
   from Dependabot), releasing new versions when those updates include 
   important changes
   4. Respond to plugin security issues when  the security team shares 
   issues (see the security guide for maintainers 
   )
   5. Respond to new issue reports
   6. Review existing  
   
(CVS
 
   plugin)  
   
issue
 
   reports
   7. Fix issues
   8. Review existing (CVS plugin) pull requests 
    and provide feedback to 
   the submitters on those pull requests
   9. Implement enhancements

If all a new maintainer can do is test and release new versions of the 
plugin, they've helped users by delivering updates.  If they can also 
modernize the plugin and release a new version, they've also helped users 
and reduced their future work as a maintainer.  If they can also review 
existing issue reports, that's even more that they have helped users.

Mark Waite

-- 
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/696ea726-438c-4095-ad00-8fb3e7d65768n%40googlegroups.com.


Duties of a plugin maintainer.

2023-03-05 Thread iamagui
Hi all,

I am very new to Jenkins and came across that 
'https://plugins.jenkins.io/cvs/' is up for adoption. If possible, could 
you please let me know the duties and responsibility of a plugin maintainer 
to see whether l can able to perform the tasks and able to adopt it. Pardon 
me if asking this already disqualify me for being a maintainer. Thanks 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/6b87-7f59-49f0-93cd-950d3241736en%40googlegroups.com.