Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dash-dev] FTP/SCP Ant Task for Promotion

Here is another idea.  Since Ant 1.6, ant comes with an SCP task.

http://ant.apache.org/manual/OptionalTasks/scp.html

There is also an FTP task.

http://ant.apache.org/manual/OptionalTasks/ftp.html

So using either one of these, the promotion.xml file could be scheduled as a Build step, to FTP or SCP the necessary files over. The user would have control over this and hudson just runs the job on build.eclipse.org. Denis would still get his logs saying who wrote what and where, and users would be restricted to there directories that they have access rights too.

It involves no Cron job, and would work with Slave instances, and on Linux and Windows as well.

Dave



Back to the top