mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Merge "CI: Move test group config files to Jenkins" into 13
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/*
|
||||
* This file is for reference/documentation only.
|
||||
* The live configuration is defined in the Config Files
|
||||
* settings of the Asterisk Gates Jenkins job.
|
||||
* This allows is to alter the parameters at runtime.
|
||||
*/
|
||||
|
||||
[
|
||||
{
|
||||
"name": "ari1",
|
||||
|
||||
@@ -159,7 +159,16 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
def testGroups = readJSON file: "tests/CI/gateTestGroups.json"
|
||||
def testGroups
|
||||
configFileProvider([configFile(fileId: 'asterisk_gate_test_groups', variable: 'GATE_TEST_GROUPS')]) {
|
||||
echo "Retrieved config file from ${env.GATE_TEST_GROUPS}"
|
||||
testGroups = readJSON file: env.GATE_TEST_GROUPS
|
||||
}
|
||||
echo "Running test groups:"
|
||||
for (def testGroup in testGroups) {
|
||||
echo "${testGroup.name} ${testGroup.dir} ${testGroup.testcmd}"
|
||||
}
|
||||
|
||||
def parallelTasks = [ : ]
|
||||
|
||||
for (def testGroup in testGroups) {
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/*
|
||||
* This file is for reference/documentation only.
|
||||
* The live configuration is defined in the Config Files
|
||||
* settings of the Asterisk Gates Jenkins job.
|
||||
* This allows is to alter the parameters at runtime.
|
||||
*/
|
||||
[
|
||||
{
|
||||
"name": "ari ",
|
||||
|
||||
@@ -91,7 +91,12 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
def testGroups = readJSON file: "tests/CI/periodic-dailyTestGroups.json"
|
||||
def testGroups
|
||||
configFileProvider([configFile(fileId: 'asterisk_daily_test_groups', variable: 'DAILY_TEST_GROUPS')]) {
|
||||
echo "Retrieved config file from ${env.DAILY_TEST_GROUPS}"
|
||||
testGroups = readJSON file: env.DAILY_TEST_GROUPS
|
||||
}
|
||||
|
||||
def parallelTasks = [ : ]
|
||||
|
||||
for (def testGroup in testGroups) {
|
||||
|
||||
Reference in New Issue
Block a user