From 29f00f39aa5d7f5f43db65e1da54db91b4cc34f5 Mon Sep 17 00:00:00 2001 From: Julian Arndt Date: Mon, 14 Aug 2023 14:35:30 +0200 Subject: [PATCH] Setup rest of season 2024 --- jenkinsfiles/APIFootballUpdater/Jenkinsfile | 4 ++-- jenkinsfiles/CheckGistUpdates/Jenkinsfile | 4 ++-- jenkinsfiles/build/Jenkinsfile | 4 ++-- src/main/resources/Tippliga/Tipper_Team_Config.json | 5 +++++ .../jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java | 2 +- .../de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java | 2 +- src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java | 8 ++++---- 7 files changed, 17 insertions(+), 12 deletions(-) diff --git a/jenkinsfiles/APIFootballUpdater/Jenkinsfile b/jenkinsfiles/APIFootballUpdater/Jenkinsfile index 241fe94..a8d4850 100644 --- a/jenkinsfiles/APIFootballUpdater/Jenkinsfile +++ b/jenkinsfiles/APIFootballUpdater/Jenkinsfile @@ -41,8 +41,8 @@ pipeline { stage('Trigger Tool') { steps { echo 'Trigger jobs' - // 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 aceb1c7..c9c608f 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 b655c1d..47dfc94 100644 --- a/jenkinsfiles/build/Jenkinsfile +++ b/jenkinsfiles/build/Jenkinsfile @@ -33,8 +33,8 @@ pipeline { stage('Trigger') { steps { echo 'Trigger jobs' - // 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/Tipper_Team_Config.json b/src/main/resources/Tippliga/Tipper_Team_Config.json index ec70ff6..9167a76 100644 --- a/src/main/resources/Tippliga/Tipper_Team_Config.json +++ b/src/main/resources/Tippliga/Tipper_Team_Config.json @@ -273,5 +273,10 @@ "team_id": 2133, "team_name": "Barb", "team_name_short": "Barb" + }, + { + "team_id": 2137, + "team_name": "Johannes", + "team_name_short": "Johannes" } ] diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java index fc7da2e..971e7a1 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java @@ -4,7 +4,7 @@ import org.junit.Test; public class TLWMatchesCreatorTipperPokalTest { - int season = 2023; + int season = 2024; @Test public void getMatchesWTLPokalTest() { diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java index b052894..d1471f1 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java @@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals; public class TLWMatchesCreatorTipperTest { - int season = 2023; + int season = 2024; @Test public void getMatchesTippliga1Test() { diff --git a/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java b/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java index c1029e4..a5725f8 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals; public class TLWTeamsCreatorTest { - int season = 2023; + int season = 2024; @Test public void getTeamsTippligaFootball1Test() { @@ -62,7 +62,7 @@ public class TLWTeamsCreatorTest { } @Test - public void getTeamsTipper1TLTest() throws ParseException { + public void getTeamsTipper1TLTest() { TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 1, "Tippliga"); TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(season, 51, "1. Tippliga Tipper", matchdaysCreator.getMatchdays()); @@ -75,7 +75,7 @@ public class TLWTeamsCreatorTest { } @Test - public void getTeamsTipper2TLTest() throws ParseException { + public void getTeamsTipper2TLTest() { TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 2, "Tippliga"); TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(season, 52, "2. Tippliga Tipper", matchdaysCreator.getMatchdays()); @@ -88,7 +88,7 @@ public class TLWTeamsCreatorTest { } @Test - public void getTeamsTipperWTLTest() throws ParseException { + public void getTeamsTipperWTLTest() { TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 48, "WTL-Pokal"); TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(season, 98, "WTL-Pokal Tipper", matchdaysCreator.getMatchdays());