jenkinsci / parallel-test-executor-plugin

Parallel test executor plugin
https://plugins.jenkins.io/parallel-test-executor/
51 stars 55 forks source link

[JENKINS-46028] Look up test result from target branch if building a pull request #226

Closed Vlatombe closed 1 year ago

Vlatombe commented 1 year ago

When building a pull request for the first time, we don't have any test results. However we can look up the target branch and use its test results as reference.

Updated the demo in https://github.com/jenkinsci/parallel-test-executor-plugin/pull/227 to include a gitea server for multibranch support. It can be used to verify the changes by initializing it, waiting for the first build on the main branch to complete, then create a pull request using create-pr.sh.

Relates to #26, https://github.com/jenkinsci/parallel-test-executor-plugin/pull/26#pullrequestreview-63436274 probably still stands but feel way more complicated than it needs to be to fulfill the requirement in the context of this plugin.