deployer
deployer copied to clipboard
deployer seem's not to be receiving the answer from the bash pipe for interactive questions
- Deployer version: Deployer 6.8.0
- Deployment OS: ubuntu 20.04
hi, when I try to execute the script in CD with predefined answer it always renders "no".
yes | dep testConfirmation myHost
//hosts omitted for brevity
task('testConfirmation', function () {
if (askConfirmation('yes?')) {
die("yes \n");
} else {
die("no\n");
}
});
cheers, dan