ChromeHeadless no sandbox
Some checks failed
Core Repos/Homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Cameron Cordes
2020-04-20 20:01:32 -04:00
parent c43695b0d7
commit cd02d586e1
2 changed files with 8 additions and 2 deletions

2
Jenkinsfile vendored
View File

@@ -24,7 +24,7 @@ pipeline {
} }
stage('test') { stage('test') {
steps { steps {
sh 'node_modules/.bin/ng test --watch=false --progress=false --browsers=ChromeHeadless' sh 'node_modules/.bin/ng test --watch=false --progress=false --browsers=ChromeHeadlessCI'
} }
} }
} }

View File

@@ -28,7 +28,13 @@ module.exports = function (config) {
colors: true, colors: true,
logLevel: config.LOG_INFO, logLevel: config.LOG_INFO,
autoWatch: true, autoWatch: true,
browsers: ['Chrome', 'ChromeHeadless'], browsers: ['Chrome'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
}
singleRun: false, singleRun: false,
junitReporter: { junitReporter: {
outputDir: 'junit-report', outputDir: 'junit-report',