Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If FTP Connection fails, there should be a non-zero return #98

Open
coreyog opened this issue Jun 9, 2016 · 1 comment
Open

If FTP Connection fails, there should be a non-zero return #98

coreyog opened this issue Jun 9, 2016 · 1 comment

Comments

@coreyog
Copy link

coreyog commented Jun 9, 2016

I'm working to incorporate dploy in the new Bitbucket Pipelines. For whatever reason the FTP connection is failing. Bitbucket Pipelines seems to think everything went fine because dploy seems to be emitting an exit code of 0. For continuous integration, any process failure should result in a non-zero exit code.

@coreyog
Copy link
Author

coreyog commented Jun 9, 2016

Output from bitbucket pipelines (Note that $FTP_PASSWORD is a bitbucket pipeline that is successfully set up):

+ echo $FTP_PASSWORD | npm run deploy
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~predeploy: [email protected]

npm info lifecycle [email protected]~deploy: [email protected]

> [email protected] deploy /opt/atlassian/bitbucketci/agent/build
> dploy

– Enter the password for ftp.materialpokedex.com: 

Connecting to live...
Connection failed.
Connection failed.

npm info lifecycle [email protected]~postdeploy: [email protected]
npm info ok 

What was ok about this deploy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant