Skip to content

Commit

Permalink
[JENKINS-34438] The build will fail if there are JSHint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Apr 25, 2016
1 parent f523a0e commit 33a7658
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion war/gulpfile.js
Expand Up @@ -54,5 +54,6 @@ builder.bundle('src/main/js/add-item.js')
gulp.task('lint', function() {
return gulp.src('./src/main/js/**/*.js')
.pipe(jshint())
.pipe(jshint.reporter('default'));
.pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail'));
});

0 comments on commit 33a7658

Please sign in to comment.