reneeshk / jenkins

jenkins issue
0 stars 0 forks source link

Jenkins error #1

Open reneeshk opened 6 years ago

reneeshk commented 6 years ago

Executing windows batch command in Jenkins keeps failing with Exit-1 state

commands executes fine in the command prompt but the Jenkins job keeps getting failed with Exit 1 state

reneeshk commented 6 years ago

Error Log

Building in workspace D:\jenkins\workspace\Drawbridge Scale Down NON-PROD dynos to Zero after 5pm [Drawbridge Scale Down NON-PROD dynos to Zero after 5pm] $ cmd /c call C:\Users\cmbuild\AppData\Local\Temp\jenkins4851964098191856169.bat

D:\jenkins\workspace\Drawbridge Scale Down NON-PROD dynos to Zero after 5pm>heroku ps:scale web=0 db_worker=0 emailer=0 worker=0 --app ha-dev --confirm ha-dev Scaling dynos... done, now running db_worker at 0:Standard-1X, emailer at 0:Standard-1X, worker at 0:Standard-1X, web at 0:Standard-1X

D:\jenkins\workspace\Drawbridge Scale Down NON-PROD dynos to Zero after 5pm>exit 1 Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE