Setup rest of season 2024

This commit is contained in:
Julian Arndt
2023-08-14 14:35:30 +02:00
parent 23cef6f545
commit 29f00f39aa
7 changed files with 17 additions and 12 deletions

View File

@@ -41,8 +41,8 @@ pipeline {
stage('Trigger Tool') { stage('Trigger Tool') {
steps { steps {
echo 'Trigger jobs' echo 'Trigger jobs'
// build wait: false, job: 'TippligaUpdater' build wait: false, job: 'TippligaUpdater'
// build wait: false, job: 'WTLPokalUpdater' build wait: false, job: 'WTLPokalUpdater'
} }
} }
} }

View File

@@ -40,11 +40,11 @@ pipeline {
String lastChecksumWTLPokal = readFile 'last/checksum_wtlpokal.txt' String lastChecksumWTLPokal = readFile 'last/checksum_wtlpokal.txt'
if(!checksumTippliga.equals(lastChecksumTippliga)){ if(!checksumTippliga.equals(lastChecksumTippliga)){
telegramSendManual('Tippliga Update') telegramSendManual('Tippliga Update')
// build wait: false, job: 'TippligaUpdater' build wait: false, job: 'TippligaUpdater'
} }
if(!checksumWTLPokal.equals(lastChecksumWTLPokal)){ if(!checksumWTLPokal.equals(lastChecksumWTLPokal)){
telegramSendManual('WTL-Pokal Update') telegramSendManual('WTL-Pokal Update')
// build wait: false, job: 'WTLPokalUpdater' build wait: false, job: 'WTLPokalUpdater'
} }
} }
} }

View File

@@ -33,8 +33,8 @@ pipeline {
stage('Trigger') { stage('Trigger') {
steps { steps {
echo 'Trigger jobs' echo 'Trigger jobs'
// build wait: false, job: 'TippligaUpdater' build wait: false, job: 'TippligaUpdater'
// build wait: false, job: 'WTLPokalUpdater' build wait: false, job: 'WTLPokalUpdater'
} }
} }
} }

View File

@@ -273,5 +273,10 @@
"team_id": 2133, "team_id": 2133,
"team_name": "Barb", "team_name": "Barb",
"team_name_short": "Barb" "team_name_short": "Barb"
},
{
"team_id": 2137,
"team_name": "Johannes",
"team_name_short": "Johannes"
} }
] ]

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class TLWMatchesCreatorTipperPokalTest { public class TLWMatchesCreatorTipperPokalTest {
int season = 2023; int season = 2024;
@Test @Test
public void getMatchesWTLPokalTest() { public void getMatchesWTLPokalTest() {

View File

@@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals;
public class TLWMatchesCreatorTipperTest { public class TLWMatchesCreatorTipperTest {
int season = 2023; int season = 2024;
@Test @Test
public void getMatchesTippliga1Test() { public void getMatchesTippliga1Test() {

View File

@@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
public class TLWTeamsCreatorTest { public class TLWTeamsCreatorTest {
int season = 2023; int season = 2024;
@Test @Test
public void getTeamsTippligaFootball1Test() { public void getTeamsTippligaFootball1Test() {
@@ -62,7 +62,7 @@ public class TLWTeamsCreatorTest {
} }
@Test @Test
public void getTeamsTipper1TLTest() throws ParseException { public void getTeamsTipper1TLTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 1, "Tippliga"); TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 1, "Tippliga");
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(season, 51, "1. Tippliga Tipper", matchdaysCreator.getMatchdays()); TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(season, 51, "1. Tippliga Tipper", matchdaysCreator.getMatchdays());
@@ -75,7 +75,7 @@ public class TLWTeamsCreatorTest {
} }
@Test @Test
public void getTeamsTipper2TLTest() throws ParseException { public void getTeamsTipper2TLTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 2, "Tippliga"); TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 2, "Tippliga");
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(season, 52, "2. Tippliga Tipper", matchdaysCreator.getMatchdays()); TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(season, 52, "2. Tippliga Tipper", matchdaysCreator.getMatchdays());
@@ -88,7 +88,7 @@ public class TLWTeamsCreatorTest {
} }
@Test @Test
public void getTeamsTipperWTLTest() throws ParseException { public void getTeamsTipperWTLTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 48, "WTL-Pokal"); TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 48, "WTL-Pokal");
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(season, 98, "WTL-Pokal Tipper", matchdaysCreator.getMatchdays()); TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(season, 98, "WTL-Pokal Tipper", matchdaysCreator.getMatchdays());