We use GitHub PRs as conditions to build prerelease version of our applications using the following pipeline clause: {{ when { changeRequest() }}} However, if we create the pull requests as draft pull requests (a nice feature for in-progress work), Jenkins does not detect the PR or create any build for it. We have enabled the traits below, but I cannot find any hints regarding draft PRs: {{ <traits>}} {{ <org.jenkinsci.plugins.github_branch_source.BranchDiscoveryTrait>}} {{ <strategyId>1</strategyId>}} {{ </org.jenkinsci.plugins.github_branch_source.BranchDiscoveryTrait>}} {{ <org.jenkinsci.plugins.github_branch_source.OriginPullRequestDiscoveryTrait>}} {{ <strategyId>1</strategyId>}} {{ </org.jenkinsci.plugins.github_branch_source.OriginPullRequestDiscoveryTrait>}} {{ <org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait>}} {{ <strategyId>1</strategyId>}} {{ <trust class="org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait$TrustContributors"/>}} {{ </org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait>}} {{ <org.jenkinsci.plugins.github_branch_source.TagDiscoveryTrait/>}} {{ </traits>}} |