Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ng build command is not working via jenkins build execute shell

In jenkins build execute area I put these command:

cd /var/lib/jenkins/workspace/test/
ng serve

Here is the screenshot:

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.

like image 392
Manu VS Avatar asked Dec 06 '25 03:12

Manu VS


1 Answers

Try this I did jenkins integration today.

npm run ng build

This is working fine.

like image 73
Anil Kumar Avatar answered Dec 08 '25 21:12

Anil Kumar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!