Note that there are some explanatory texts on larger screens.

plurals
  1. POPublish Maven artifacts on FTP with Hudson FTP Publisher Plugin
    primarykey
    data
    text
    <p>I'm building a number of artefacts (zip files for different environments: test, dev) using the maven-assembly-plugin using a specialized Maven profile. These artefacts I want to copy/collect on on a FTP server keeping the version (01.07.10.16.Wed-1626) as a folder, so I need to copy from <strong>test/build/01.07.10.16.Wed-1626/</strong> to <strong><a href="ftp://my-ftp-server:21/projects/myserver-1.7/01.07.10.16.Wed-1626/" rel="nofollow noreferrer">ftp://my-ftp-server:21/projects/myserver-1.7/01.07.10.16.Wed-1626/</a></strong></p> <p>The layout for the Maven output is this:</p> <pre><code>target/ build/ 01.07.10.16.Wed-1626/ my-server-01.07.10.16.Wed-1626-dev.zip my-server-01.07.10.16.Wed-1626-test.zip </code></pre> <p>For copying the artefacts I'm using <a href="http://wiki.hudson-ci.org/display/HUDSON/FTP-Publisher+Plugin" rel="nofollow noreferrer">FTP Publisher Plugin</a> but it seams I miss something since that even the build is OK and the artefacts are build without problem but the job is finishing without copying the artefacts, and in the console there is no log info about copying the artefacts</p> <p>My FTP publisher config (<strong>FTP repository hosts</strong>) is:</p> <pre><code>Hostname: my-ftp-server Port: 21 Timeout: 10000 Root Repository Path: projects User Name: my-user Password: my-pass </code></pre> <p>My Hudson job FTP publisher config (<strong>Publish artifacts to FTP</strong>) is:</p> <pre><code>FTP site: my-ftp-server Files to upload Source: target/build/** Destination: myserver-1.7 </code></pre> <p>Additional issues:<br> <strong>1:</strong> There is any log (hou can the FTP Uploader log can be enabled) to check if there are any FTP copy errors ? <strong>2:</strong> There is any problem with the file pattern (source) or with the dest ?<br> <strong>3:</strong> I can also use <strong>maven-antrun-plugin</strong> for upload but since this post-buil task should be used just by Hudson, should be defined outside of the POM.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload