How to publish artifacts which will be still available via links on Jenkins?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to publish artifacts which will be still available via links on Jenkins?

zakyn-2
Hello,
 
I have this situation. I have limited space on VM so I have to move the results(artifacts) to the another virtual HDD (for example <a href="file://\\file01\jenkins\results">\\file01\jenkins\results) but I need to have
the links to these files still available from the Jenkins web pages.
 
I went through the plugins but I did not find what I need.
 
Could you please help me?
 
Thank you.
 
Zakyn
Reply | Threaded
Open this post in threaded view
|

Re: How to publish artifacts which will be still available via links on Jenkins?

Pawel Jasinski
hi,

groovy postbuild is your plugin.
Example configuration:

s=manager.createSummary("package.png")
s.appendText( "<p><a href='file://///host/share/dir/result.msi'>result.msi</a>", false)
s.appendText( "<p><a href='file://///host/share/dir/another-result.msi'>result.msi</a>", false)

be aware that normal browser by default do not follow such a links. e.g. firefox - http://kb.mozillazine.org/Links_to_local_pages_do_not_work

cheers,
pawel


On Thu, Dec 13, 2012 at 7:39 AM, zakyn <[hidden email]> wrote:
Hello,
 
I have this situation. I have limited space on VM so I have to move the results(artifacts) to the another virtual HDD (for example \\file01\jenkins\results) but I need to have
the links to these files still available from the Jenkins web pages.
 
I went through the plugins but I did not find what I need.
 
Could you please help me?
 
Thank you.
 
Zakyn

Reply | Threaded
Open this post in threaded view
|

Re: How to publish artifacts which will be still available via links on Jenkins?

Clemens
In reply to this post by zakyn-2
Hi,

have you just thought about using "Artifactory" ?


Am Donnerstag, 13. Dezember 2012 07:39:52 UTC+1 schrieb zakyn:
Hello,
 
I have this situation. I have limited space on VM so I have to move the results(artifacts) to the another virtual HDD (for example \\file01\jenkins\results) but I need to have
the links to these files still available from the Jenkins web pages.
 
I went through the plugins but I did not find what I need.
 
Could you please help me?
 
Thank you.
 
Zakyn
Reply | Threaded
Open this post in threaded view
|

Re: How to publish artifacts which will be still available via links on Jenkins?

zakyn-2
Hi,

I have a look at it but it is not so clear to me why I should use that?

What are the advantages of the usage of it?

Thank you.

zakyn




2012/12/13 Clemens <[hidden email]>:

> Hi,
>
> have you just thought about using "Artifactory" ?
>
>
> Am Donnerstag, 13. Dezember 2012 07:39:52 UTC+1 schrieb zakyn:
>>
>> Hello,
>>
>> I have this situation. I have limited space on VM so I have to move the
>> results(artifacts) to the another virtual HDD (for example
>> \\file01\jenkins\results) but I need to have
>> the links to these files still available from the Jenkins web pages.
>>
>> I went through the plugins but I did not find what I need.
>>
>> Could you please help me?
>>
>> Thank you.
>>
>> Zakyn
Reply | Threaded
Open this post in threaded view
|

Re: How to publish artifacts which will be still available via links on Jenkins?

Gregory Boissinot
In reply to this post by zakyn-2
ArtifactDeployer Jenkins plugin
(https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin)
should resolve your issue.

On Thu, Dec 13, 2012 at 7:39 AM, zakyn <[hidden email]> wrote:

> Hello,
>
> I have this situation. I have limited space on VM so I have to move the
> results(artifacts) to the another virtual HDD (for example
> \\file01\jenkins\results) but I need to have
> the links to these files still available from the Jenkins web pages.
>
> I went through the plugins but I did not find what I need.
>
> Could you please help me?
>
> Thank you.
>
> Zakyn