Jenkinsfile
author Frank Bessou <frank.bessou@logilab.fr>
Tue, 04 Apr 2017 17:00:42 +0200
changeset 79 1070e0148bd8
parent 52 8cf6ce9a5e66
child 132 2b6ce8199a46
permissions -rw-r--r--
Render actions in EntitiesView

#!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'
    }
}