mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
!y# This is a combination of 4 commits.
run OQL tests depending on jenkins param try sth try sth try sth try sth try sth fix parameter to run OQL tests or not run OQL tests depending on jenkins param try sth try sth try sth try sth try sth fix parameter to run OQL tests or not
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -1,8 +1,8 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
string(name: 'DEBUG_UNIT_TEST', defaultValue: '0', description: 'Debug mode?')
|
||||
string(name: 'RUN_NON_REG_TESTS', defaultValue: '0', description: 'Do You want to run legacy OQL regression tests?')
|
||||
booleanParam(name: 'debugMode', defaultValue: 'false', description: 'Debug mode?')
|
||||
booleanParam(name: 'runNonRegOQLTests', defaultValue: 'false', description: 'Do You want to run legacy OQL regression tests?')
|
||||
}
|
||||
stages {
|
||||
|
||||
@@ -40,7 +40,7 @@ pipeline {
|
||||
parallel {
|
||||
stage('phpunit') {
|
||||
steps {
|
||||
sh './.jenkins/bin/tests/phpunit.sh ${params.DEBUG_UNIT_TEST} ${params.RUN_NON_REG_TESTS}'
|
||||
sh './.jenkins/bin/tests/phpunit.sh ${debugMode} ${runNonRegOQLTests}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user