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

Testing jenkins-test-harness#910 #4324

Conversation

strangelookingnerd
Copy link
Contributor

jenkinsci/jenkins-test-harness#910

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

Sorry, something went wrong.

@strangelookingnerd
Copy link
Contributor Author

@timja Sorry to bother but I assumed that the incremental from jenkinsci/jenkins-test-harness#910 would be pulled here. But this seems not to be the case. What am I missing?

@timja
Copy link
Member

timja commented Jan 27, 2025

@timja Sorry to bother but I assumed that the incremental from jenkinsci/jenkins-test-harness#910 would be pulled here. But this seems not to be the case. What am I missing?

I think you need to set it in https://github.com/jenkinsci/bom/blob/master/pct.sh#L20 (outside of that if block)

@timja
Copy link
Member

timja commented Jan 27, 2025

@Vlatombe has done something in this area recently I think

@timja
Copy link
Member

timja commented Jan 27, 2025

Looks like it is being re-overridden:

https://ci.jenkins.io/job/Tools/job/bom/job/PR-4324/2/pipeline-console/log?nodeId=4823

o.j.t.t.m.ExternalMavenRunner#run: Running mvn -B -V -e -ntp -pl :ant -Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1 -DforkCount=.75C -Djenkins-test-harness.version=2390.v2f27c3de6c38 -Dsurefire.excludesFile=/home/jenkins/agent/workspace/Tools_bom_PR-4324/excludes.txt -DoverrideWar=/home/jenkins/agent/workspace/Tools_bom_PR-4324/target/megawar-weekly.war -Djenkins.version=2.494 -DuseUpperBounds=true -DoverrideVersions=jakarta.servlet:jakarta.servlet-api:5.0.0 -DupperBoundsExcludes=org.junit.jupiter:junit-jupiter-api hpi:resolve-test-dependencies hpi:test-hpl hpi:test-runtime surefire:test -Djenkins-test-harness.version=2244.2247.ve6b_a_8191b_95f 

I think you need to create a PR to here: https://github.com/jenkinsci/plugin-compat-tester/blob/master/src/main/java/org/jenkins/tools/test/hook/JenkinsTestHarnessHook.java and then update PCT version in an incremental.

@strangelookingnerd strangelookingnerd force-pushed the junit5jenkinsrule_permissions branch from fc356df to 84de86b Compare January 27, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants