Jenkinsfile
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 07 Jun 2018 15:13:17 +0200
changeset 257 3ebd6a8d8f30
parent 132 2b6ce8199a46
permissions -rw-r--r--
Throw an error if HttpHypermediaClient cannot initialize its baseUrl attribute This is to fix "Property 'baseUrl' has no initializer and is not definitely assigned in the constructor." error with recent (2.7 apparently) typescript version.

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

        sh 'npm install'
    }

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

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