From 04f0188c3f169b3922067f427561f5f52a965d78 Mon Sep 17 00:00:00 2001 From: Julian Arndt Date: Sun, 30 Jul 2023 16:18:59 +0200 Subject: [PATCH] Add league config for 2024 --- jenkinsfiles/APIFootballUpdater/Jenkinsfile | 4 +- jenkinsfiles/CheckGistUpdates/Jenkinsfile | 4 +- jenkinsfiles/build/Jenkinsfile | 4 +- src/main/resources/Tippliga/2024_Ligen.json | 92 +++++++++++++++++++++ 4 files changed, 98 insertions(+), 6 deletions(-) create mode 100644 src/main/resources/Tippliga/2024_Ligen.json diff --git a/jenkinsfiles/APIFootballUpdater/Jenkinsfile b/jenkinsfiles/APIFootballUpdater/Jenkinsfile index 504733a..6d6c8ea 100644 --- a/jenkinsfiles/APIFootballUpdater/Jenkinsfile +++ b/jenkinsfiles/APIFootballUpdater/Jenkinsfile @@ -40,8 +40,8 @@ pipeline { } stage('Trigger Tool') { steps { - build wait: false, job: 'TippligaUpdater' - build wait: false, job: 'WTLPokalUpdater' + // build wait: false, job: 'TippligaUpdater' + // build wait: false, job: 'WTLPokalUpdater' } } } diff --git a/jenkinsfiles/CheckGistUpdates/Jenkinsfile b/jenkinsfiles/CheckGistUpdates/Jenkinsfile index c9c608f..aceb1c7 100644 --- a/jenkinsfiles/CheckGistUpdates/Jenkinsfile +++ b/jenkinsfiles/CheckGistUpdates/Jenkinsfile @@ -40,11 +40,11 @@ pipeline { String lastChecksumWTLPokal = readFile 'last/checksum_wtlpokal.txt' if(!checksumTippliga.equals(lastChecksumTippliga)){ telegramSendManual('Tippliga Update') - build wait: false, job: 'TippligaUpdater' + // build wait: false, job: 'TippligaUpdater' } if(!checksumWTLPokal.equals(lastChecksumWTLPokal)){ telegramSendManual('WTL-Pokal Update') - build wait: false, job: 'WTLPokalUpdater' + // build wait: false, job: 'WTLPokalUpdater' } } } diff --git a/jenkinsfiles/build/Jenkinsfile b/jenkinsfiles/build/Jenkinsfile index 342a851..b037b97 100644 --- a/jenkinsfiles/build/Jenkinsfile +++ b/jenkinsfiles/build/Jenkinsfile @@ -32,8 +32,8 @@ pipeline { } stage('Trigger') { steps { - build wait: false, job: 'TippligaUpdater' - build wait: false, job: 'WTLPokalUpdater' + // build wait: false, job: 'TippligaUpdater' + // build wait: false, job: 'WTLPokalUpdater' } } } diff --git a/src/main/resources/Tippliga/2024_Ligen.json b/src/main/resources/Tippliga/2024_Ligen.json new file mode 100644 index 0000000..0716298 --- /dev/null +++ b/src/main/resources/Tippliga/2024_Ligen.json @@ -0,0 +1,92 @@ +[ + { + "country": "Germany", + "name": "Bundesliga", + "league_id": 5348 + }, + { + "country": "Germany", + "name": "2. Bundesliga", + "league_id": 5347 + }, + { + "country": "Germany", + "name": "3. Liga", + "league_id": 5399 + }, + { + "country": "Germany", + "name": "Regionalliga - Bayern", + "league_id": 5518 + }, + { + "country": "Germany", + "name": "Regionalliga - SudWest", + "league_id": 5519 + }, + { + "country": "Germany", + "name": "U19 Bundesliga", + "league_id": 5436 + }, + { + "country": "Germany", + "name": "Frauen Bundesliga", + "league_id": 5464 + }, + { + "country": "Germany", + "name": "DFB Pokal", + "league_id": 5275 + }, + { + "country": "Germany", + "name": "Super Cup", + "league_id": 5223 + }, + { + "country": "England", + "name": "Premier League", + "league_id": 5267 + }, + { + "country": "Spain", + "name": "La Liga", + "league_id": 5284 + }, + { + "country": "Italy", + "name": "Serie A", + "league_id": 5367 + }, + { + "country": "France", + "name": "Ligue 1", + "league_id": 0 + }, + { + "country": "Turkey", + "name": "Süper Lig", + "league_id": 5476 + }, + { + "country": "Netherlands", + "name": "Eredivisie", + "league_id": 5389 + }, + { + "country": "World", + "name": "UEFA Champions League", + "league_id": 5262 + }, + { + "country": "World", + "name": "UEFA Europa Conference League", + "league_id": 5277 + }, + { + "country": "World", + "name": "UEFA Super Cup", + "league_id": 5235 + } +] \ No newline at end of file