Jenkinsfile
author Frank Bessou <frank.bessou@logilab.fr>
Thu, 13 Apr 2017 14:47:13 +0200
changeset 116 9ccdace2a88c
parent 52 8cf6ce9a5e66
child 132 2b6ce8199a46
permissions -rw-r--r--
Remove unecessary Api.getRoot method

#!groovy
node('selenium') {
    stage('Setup') {
        checkout scm

        sh 'npm install'
    }

    stage('Lint') {
        sh 'npm run lint'
    }

    stage('Tests') {
        sh 'npm run test'
        junit 'reports/karma.junit'
    }
}