Ramesh Kotha
Ramesh Kotha

Reputation: 8322

Jenkins - Build step 'Execute shell' marked build as failure in linux environment

Configured Angular CLI project with Jenkins, ng build --env=prod command working fine in Jenkins - windows environment, but in Jenkins - Unix it is throwing below error. Tried below options but no luck

1. set +e

2 #!/bin/bash

[workspace] $ /bin/sh -xe /opt/tomcat8/temp/hudson2478899598123360122.sh
+ set +e
+ ng build --env=prod --bh=./

enter image description here

Error

 63% building modules 772/861 modules 89 active ...er-pipe/dist/src/ng2-filter.module.jsKilled
Build step 'Execute shell' marked build as failure

Upvotes: 1

Views: 7333

Answers (1)

burnettk
burnettk

Reputation: 14037

It is saying "Killed" in the log there. Check syslog or similar on the machine where it's running. Maybe the machine ran out of memory and the OOMKiller took it out.

Upvotes: 1

Related Questions