ChromeHeadless no sandbox
Some checks failed
Core Repos/Homepage/pipeline/head There was a failure building this commit
Some checks failed
Core Repos/Homepage/pipeline/head There was a failure building this commit
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user