Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to jenkinsci/plugin-compat-tester#505 #1908

Merged
merged 2 commits into from
Mar 30, 2023
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ org.jenkinsci.plugins.durabletask.BourneShellScriptTest
# TODO fails for one reason in (non-PCT) official sources, run locally; and for another reason in PCT in Docker; passes in official sources in Docker, or locally in PCT
org.jenkinsci.plugins.gitclient.FilePermissionsTest

# TODO https://github.com/jenkinsci/matrix-auth-plugin/pull/136
org.jenkinsci.plugins.matrixauth.integrations.casc.ImportTest

# TODO tends to run out of memory
org.jenkinsci.plugins.pipeline.modeldefinition.TriggersTest
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 \
$PCT_D_ARGS \
-DforkCount=.75C \
-Djth.jenkins-war.path="$(pwd)/megawar.war" \
-DoverrideWarAdditions=true \
-Dsurefire.excludesFile="$(pwd)/excludes.txt"

# produces: **/target/surefire-reports/TEST-*.xml
2 changes: 1 addition & 1 deletion prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for LINE in $LINEZ; do
done

# Tracked by ./updatecli/updatecli.d/plugin-compat-tester.yml
version=1286.v5a_54b_fd87db_f
version=1290.v353fb_2a_fa_b_06
pct="$($MVN -Dset.changelist -Dexpression=settings.localRepository -q -DforceStdout help:evaluate)/org/jenkins-ci/tests/plugins-compat-tester-cli/${version}/plugins-compat-tester-cli-${version}.jar"
[ -f "${pct}" ] || $MVN dependency:get -Dartifact=org.jenkins-ci.tests:plugins-compat-tester-cli:${version}:jar -DremoteRepositories=repo.jenkins-ci.org::default::https://repo.jenkins-ci.org/public/,incrementals::default::https://repo.jenkins-ci.org/incrementals/ -Dtransitive=false
cp "${pct}" target/pct.jar
Expand Down