this is the line that seems to be failing
sh ('#!/bin/sh -e\n' + 'git ftp push --user ${FTP_USER} --passwd ${FTP_PASS} ftp://[login to view URL]
Checking out Revision adb8c8d1dea6a3a9d5cfa880735f86cc311501dc (refs/remotes/origin/master)
> git config [login to view URL] # timeout=10
> git checkout -f adb8c8d1dea6a3a9d5cfa880735f86cc311501dc
Commit message: "made some formating changes to the Jenkinsfile"
> git rev-list --no-walk 1ff3853fbf40e86f4de6b24ecd07dec2cda32b65 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] echo
Deploying....
[Pipeline] sh
git: 'ftp' is not a git command. See 'git --help'.
Did you mean this?
fetch
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
What is a reasonable price for this Jenkinsfile?
Need this by 6pm NYC time
Just remove "ftp" from the command (and it should work fine):
sh ('#!/bin/sh -e\n' + 'git push --user ${FTP_USER} --passwd ${FTP_PASS} ftp://[login to view URL]
$20 USD om 7 dager
5,0 (8 omtaler)
3,7
3,7
3 freelancers are bidding on average $25 USD for this job