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: 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.


Download local files from jenkins plugin page

2023-03-03 Thread 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.