Skip to content

Commit

Permalink
Remove redundant cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-elzeni committed Jul 25, 2024
1 parent 2eab926 commit adc8cb9
Showing 1 changed file with 0 additions and 78 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,45 +267,6 @@ jobs:
rm -f mvn_output.txt
- name: Run Archetype for EE 9, SE 8, Payara, with Docker
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
MAVEN_EXIT_CODE=${PIPESTATUS[0]}
ERROR_MESSAGE="Payara 6 does not support Java SE 8"
if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then
echo "Maven build did not fail, or the expected error message was not found. Test Failed."
exit 1
fi
rm -f mvn_output.txt
- name: Run Archetype for EE 9 Web Profile, SE 8, Payara
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=web -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
MAVEN_EXIT_CODE=${PIPESTATUS[0]}
ERROR_MESSAGE="Payara 6 does not support Java SE 8"
if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then
echo "Maven build did not fail, or the expected error message was not found. Test Failed."
exit 1
fi
rm -f mvn_output.txt
- name: Run Archetype for EE 9 Web Profile, SE 8, Payara, with Docker
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=web -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
MAVEN_EXIT_CODE=${PIPESTATUS[0]}
ERROR_MESSAGE="Payara 6 does not support Java SE 8"
if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then
echo "Maven build did not fail, or the expected error message was not found. Test Failed."
exit 1
fi
rm -f mvn_output.txt
- name: Run Archetype for EE 9.1, SE 8, Payara
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
Expand All @@ -319,45 +280,6 @@ jobs:
rm -f mvn_output.txt
- name: Run Archetype for EE 9.1, SE 8, Payara, with Docker
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
MAVEN_EXIT_CODE=${PIPESTATUS[0]}
ERROR_MESSAGE="Payara 6 does not support Java SE 8"
if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then
echo "Maven build did not fail, or the expected error message was not found. Test Failed."
exit 1
fi
rm -f mvn_output.txt
- name: Run Archetype for EE 9.1 Web Profile, SE 8, Payara
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=web -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
MAVEN_EXIT_CODE=${PIPESTATUS[0]}
ERROR_MESSAGE="Payara 6 does not support Java SE 8"
if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then
echo "Maven build did not fail, or the expected error message was not found. Test Failed."
exit 1
fi
rm -f mvn_output.txt
- name: Run Archetype for EE 9.1 Web Profile, SE 8, Payara, with Docker
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=web -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt
MAVEN_EXIT_CODE=${PIPESTATUS[0]}
ERROR_MESSAGE="Payara 6 does not support Java SE 8"
if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then
echo "Maven build did not fail, or the expected error message was not found. Test Failed."
exit 1
fi
rm -f mvn_output.txt
- name: Run Archetype for EE 8 Web Profile, SE 8, TomEE
run: |
mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=web -DjavaVersion=8 -Druntime=tomee -DoutputDirectory=app/tomee -Dgoals="clean package"
Expand Down

0 comments on commit adc8cb9

Please # to comment.