jenkins with git-ftp at target delete folder

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

I have working Jenkinsfile and want to add delete of my target before it copies and uses git-ftp and is on my OS /usr/local/bin and works with the 2nd command here.

THIS FAILS

sh ('#!/bin/sh -e\n' + 'git ftp rm --user ${FTP_USER} --passwd ${FTP_PASS} ftp://[login to view URL]*')

THIS WORKS!

sh ('#!/bin/sh -e\n' + 'git ftp push --user ${FTP_USER} --passwd ${FTP_PASS} ftp://[login to view URL]')

Here is a link that has some information; rather than an delete/rm it does an init [login to view URL]

Eitherway; it will be great if you bid a reasonable amount?

Need this completed by 6pm EST NYC time.

C Programming C++ Programming Java Perl Python

Project ID: #20069511

About the project

2 proposals Remote project Active 4 years ago

2 freelancers are bidding on average $33 for this job

vsafron

Hi. 'git ftp rm' fails because there is no rm support in git-ftp. You need an extra line with ftp commands which deletes remote files. I tested a working oneliner on my ftp host with latest git-ftp. I hope it will wor More

$35 USD in 2 days
(15 Reviews)
4.3