1
0
Fork 0
This repository has been archived on 2024-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
matomo-injector/Jenkinsfile
2018-05-29 15:59:09 +02:00

44 lines
No EOL
754 B
Groovy

pipeline {
agent {
docker {
image 'node'
}
}
stages {
stage('yarn install') {
steps {
sh 'yarn install --pure-lockfile --ignore-engines'
}
}
stage('Tests') {
parallel {
stage('eslint') {
steps {
sh 'yarn run eslint'
}
}
stage('webext_lint') {
steps {
sh 'yarn run webext_lint'
}
}
stage('htmllint') {
steps {
sh 'yarn run htmllint'
}
}
stage('build') {
steps {
sh 'yarn run build'
}
}
}
}
stage('Artefacts') {
steps {
archiveArtifacts 'web-ext-artifacts/'
}
}
}
}