Add Europa League and fix pipeline
This commit is contained in:
4
jenkinsfiles/APIFootballUpdater/Jenkinsfile
vendored
4
jenkinsfiles/APIFootballUpdater/Jenkinsfile
vendored
@@ -25,8 +25,8 @@ pipeline {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
telegramSendManual("TLW-Database-Tool crashed!")
|
telegramSendManual("TLW-Database-Tool crashed!")
|
||||||
}
|
}
|
||||||
String output = readFile 'log.txt'
|
String outputString = readFile 'log.txt'
|
||||||
if(output != "") {
|
if(outputString != "") {
|
||||||
ArrayList<String> outputList = outputString.replace("\n\n", "\n").split('\n').toList()
|
ArrayList<String> outputList = outputString.replace("\n\n", "\n").split('\n').toList()
|
||||||
outputList = clean(outputList)
|
outputList = clean(outputList)
|
||||||
outputList.each {
|
outputList.each {
|
||||||
|
|||||||
@@ -79,6 +79,11 @@
|
|||||||
"name": "UEFA Champions League",
|
"name": "UEFA Champions League",
|
||||||
"league_id": 5262
|
"league_id": 5262
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"country": "World",
|
||||||
|
"name": "UEFA Europa League",
|
||||||
|
"league_id": 5607
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"country": "World",
|
"country": "World",
|
||||||
"name": "UEFA Europa Conference League",
|
"name": "UEFA Europa Conference League",
|
||||||
|
|||||||
Reference in New Issue
Block a user