Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 22 additions & 18 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pipeline {
pom = readMavenPom file: 'pom.xml'
payaraBuildNumber = "PR${env.ghprbPullId}#${currentBuild.number}"
DOMAIN_NAME = "test-domain"
echo "Payara pom version is ${pom.version}"
echo "Payara pom version is ${pom.properties['revision']}"
echo "Build number is ${payaraBuildNumber}"
echo "Domain name is ${DOMAIN_NAME}"
}
Expand Down Expand Up @@ -130,7 +130,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -167,7 +167,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -204,7 +204,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -241,7 +241,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -278,7 +278,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -315,7 +315,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -352,7 +352,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -389,7 +389,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -426,7 +426,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out MP TCK Runners *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean verify --strict-checksums \
Expand Down Expand Up @@ -463,7 +463,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out EE8 tests *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh "mvn -B -V -ff -e clean install --strict-checksums -Dsurefire.useFile=false \
Expand Down Expand Up @@ -498,7 +498,7 @@ pipeline {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out cargoTracker tests *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Cleaning CargoTracker Database in /tmp *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh "rm -rf /tmp/cargo*"
Expand Down Expand Up @@ -531,12 +531,12 @@ pipeline {
steps{
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checking out EE7 tests *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
checkout changelog: false, poll: false, scm: [$class: 'GitSCM',
branches: [[name: "*/Payara7"]],
userRemoteConfigs: [[url: "https://github.com/payara/patched-src-javaee7-samples.git"]]]
branches: [[name: "*/Simplify-Project-Versions"]],
userRemoteConfigs: [[url: "https://github.com/Pandrex247/patched-src-javaee7-samples.git"]]]
echo '*#*#*#*#*#*#*#*#*#*#*#*# Checked out EE7 tests *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'

setupDomain()
updatePomPayaraVersion("${pom.version}")
updatePomPayaraVersion("${pom.properties['revision']}")

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean install --strict-checksums \
Expand Down Expand Up @@ -576,6 +576,7 @@ pipeline {
-Djavax.net.ssl.trustStore=${env.JAVA_HOME}/lib/security/cacerts \
-Djavax.xml.accessExternalSchema=all \
-DskipTests \
-Drevision=${pom.properties['revision']} \
-f appserver/tests/payara-samples -pl fish.payara.samples:payara-samples \
-pl fish.payara.samples:samples-test-utils -pl fish.payara.samples:test-domain-setup \
-pl fish.payara.samples:payara-samples-profiled-tests"""
Expand All @@ -584,19 +585,22 @@ pipeline {
sh """mvn -V -B -ff clean install --strict-checksums -Ppayara-micro-managed,install-deps \
-Dsurefire.rerunFailingTestsCount=2 \
-Dfailsafe.rerunFailingTestsCount=2 \
-Drevision=${pom.properties['revision']} \
-f appserver/tests/functional/payara-micro """

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running test with Payara Embedded *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -V -B -ff clean verify --strict-checksums -PFullProfile \
-Dversion=${pom.version} \
-Dversion=${pom.properties['revision']} \
-Dsurefire.rerunFailingTestsCount=2 \
-Dfailsafe.rerunFailingTestsCount=2 \
-Drevision=${pom.properties['revision']} \
-f appserver/tests/functional/embeddedtest """

sh """mvn -V -B -ff clean verify --strict-checksums -PWebProfile \
-Dversion=${pom.version} \
-Dversion=${pom.properties['revision']} \
-Dsurefire.rerunFailingTestsCount=2 \
-Dfailsafe.rerunFailingTestsCount=2 \
-Drevision=${pom.properties['revision']} \
-f appserver/tests/functional/embeddedtest """

echo '*#*#*#*#*#*#*#*#*#*#*#*# Running asadmin tests *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
Expand Down Expand Up @@ -672,5 +676,5 @@ void saveLogsAndCleanup(String logArchiveName) {

void updatePomPayaraVersion(String payaraVersion) {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Updating pom.xml payara.version property for Shrinkwrap resolver *#*#*#*#*#*#*#*#*#*#*#*#'
sh script: "sed -i \"s/payara\\.version>.*<\\/payara\\.version>/payara\\.version>${payaraVersion}<\\/payara\\.version>/g\" pom.xml", label: "Update pom.xml payara.version property"
sh script: "mvn versions:set-property -DnewVersion=${payaraVersion} -DgenerateBackupPoms=false -Dproperty=payara.version -N", label: "Update pom.xml payara.version property"
}
2 changes: 1 addition & 1 deletion api/payara-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<parent>
<groupId>fish.payara.api</groupId>
<artifactId>api-parent</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<groupId>fish.payara.api</groupId>
<artifactId>payara-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion api/payara-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<parent>
<groupId>fish.payara.api</groupId>
<artifactId>api-parent</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>payara-bom</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<parent>
<groupId>fish.payara.server</groupId>
<artifactId>payara-aggregator</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>fish.payara.api</groupId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/admin-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>admin-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/backup-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>backup-l10n</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/backup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>backup</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/cli-optional-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>cli-optional-l10n</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/cli-optional/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>cli-optional</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>appserver-cli</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/gf_template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>appserver-domain</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/gf_template_web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>appserver-domain-web</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<parent>
<groupId>fish.payara.server</groupId>
<artifactId>payara-parent</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<groupId>fish.payara.server.internal.admin</groupId>
<artifactId>admin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>cdieventbus-notifier-console-plugin-l10n</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>cdieventbus-notifier-console-plugin</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/cluster-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-cluster-plugin-l10n</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/cluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-cluster-plugin</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/common-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>console-common-l10n</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-common</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/concurrent-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-concurrent-plugin-l10n</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/concurrent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-concurrent-plugin</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/corba-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-corba-plugin-l10n</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/corba/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-corba-plugin</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/core-l10n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-core-l10n</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>console-core</artifactId>
<packaging>glassfish-jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/dataprovider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>dataprovider</artifactId>
<name>DataProvider</name>
Expand Down
2 changes: 1 addition & 1 deletion appserver/admingui/devtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<parent>
<groupId>fish.payara.server.internal.admingui</groupId>
<artifactId>admingui</artifactId>
<version>7.2026.2-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>console-devtests</artifactId>
Expand Down
Loading