Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #857 from LiskHQ/856-clean-jenkins-build-output
Browse files Browse the repository at this point in the history
Clean up Jenkins build output - Closes #856
  • Loading branch information
fchavant authored Oct 11, 2017
2 parents 7e0fd61 + f20cff0 commit 516a711
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ node('lisk-nano') {
stage ('Run Eslint') {
try {
ansiColor('xterm') {
sh 'npm run eslint'
sh 'npm run --silent eslint'
}
} catch (err) {
echo "Error: ${err}"
Expand All @@ -66,7 +66,7 @@ node('lisk-nano') {
try {
sh '''
cp ~/.coveralls.yml-nano .coveralls.yml
npm run build
npm run --silent build
'''
} catch (err) {
echo "Error: ${err}"
Expand All @@ -78,7 +78,7 @@ node('lisk-nano') {
try {
ansiColor('xterm') {
sh '''
ON_JENKINS=true npm run test
ON_JENKINS=true npm run --silent test
# Submit coverage to coveralls
cat coverage/*/lcov.info | coveralls -v
'''
Expand All @@ -94,7 +94,7 @@ node('lisk-nano') {
ansiColor('xterm') {
sh '''
N=${EXECUTOR_NUMBER:-0}
NODE_ENV= npm run dev -- --port 808$N &> .lisk-nano.log &
NODE_ENV= npm run --silent dev -- --port 808$N > .lisk-nano.log 2>&1 &
sleep 30
# End to End test configuration
Expand All @@ -103,7 +103,7 @@ node('lisk-nano') {
./node_modules/protractor/bin/webdriver-manager update
# Run end-to-end tests
npm run e2e-test -- --params.baseURL http://localhost:808$N/ --params.liskCoreURL http://localhost:400$N
npm run --silent e2e-test -- --params.baseURL http://localhost:808$N/ --params.liskCoreURL http://localhost:400$N
'''
}
} catch (err) {
Expand Down

0 comments on commit 516a711

Please sign in to comment.