Skip to content

Commit

Permalink
Do not set the JTH War file
Browse files Browse the repository at this point in the history
as mentioned in the upstream PR that attempted to do this
unconditionally this is broken by design.

the JTH and tests assume that the classpath is correctly setup however
it is not, as demonstrated in the prior commit.

According to Jenkins there is a plugin installed (trilead-api) because
it is in the megawar, however its classess are not in the flat classpath
used by JenkinsRule and thus breakage ensues.

ref: jenkinsci/plugin-compat-tester#470 (comment)
  • Loading branch information
jtnord committed May 23, 2024
1 parent 3008e01 commit 72bada7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ exec java \
--working-dir "$(pwd)/target/pct-work" \
$PCT_D_ARGS \
${PCT_OPTS-} \
-Djth.jenkins-war.path="$(pwd)/target/megawar-$LINE.war" \
-Dsurefire.excludesFile="$(pwd)/excludes.txt"

# produces: **/target/surefire-reports/TEST-*.xml

0 comments on commit 72bada7

Please sign in to comment.