In jenkins build execute area I put these command:
cd /var/lib/jenkins/workspace/test/
ng serve
Here is the screenshot:

I am getting an error like this:
- cd /var/lib/jenkins/workspace/test/
- ng serve
Environment variable TERM not defined!
Build step 'Execute shell' marked build as failure Finished: FAILURE
node v6.10.0
@angular/cli: 1.0.6
Please help me to resolve this issue.
Try this I did jenkins integration today.
npm run ng build
This is working fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With