Explorar el Código

Run linting on CI

Alasdair Smith hace 8 años
padre
commit
cba07f79ee
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      services/web/Jenkinsfile

+ 12 - 0
services/web/Jenkinsfile

@@ -54,6 +54,18 @@ pipeline {
         sh 'node_modules/.bin/grunt version'
       }
     }
+
+    stage('Lint') {
+      agent {
+        docker {
+          image 'node:6.9.5'
+          reuseNode true
+        }
+      }
+      steps {
+        sh 'make --no-print-directory lint'
+      }
+    }
     
     stage('Unit Test') {
       agent {