This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/trunk by this push:
new 7096bb9 add credentialsId and gitHubForkDiscovery for pull requests
discovery. patch by Siyao (Jane) He; reviewed by Mick Semb Wever for CASSJAVA-25
7096bb9 is described below
commit 7096bb99cb21abf3f96e6a758ffd3ac87be2c33e
Author: Jane He <[email protected]>
AuthorDate: Thu Jan 16 22:53:17 2025 +0800
add credentialsId and gitHubForkDiscovery for pull requests discovery.
patch by Siyao (Jane) He; reviewed by Mick Semb Wever for CASSJAVA-25
---
jenkins-dsl/cassandra_job_dsl_seed.groovy | 38 +++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 10 deletions(-)
diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy
b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index 244f1b1..01c3d29 100755
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -1474,19 +1474,37 @@ job('contribulyze') {
multibranchPipelineJob('cassandra-java-driver') {
branchSources {
- github {
- id('123')
- scanCredentialsId('ASF CI for Github PRs etc')
- repoOwner('apache')
- repository('cassandra-java-driver')
- }
- buildStrategies {
- buildChangeRequests {
- ignoreTargetOnlyChanges(true)
+ branchSource {
+ source {
+ github {
+ id('123')
+ credentialsId('5f95d117-af3b-452a-9e5c-4bddb22a67f4')
+ repoOwner('apache')
+ repository('cassandra-java-driver')
+
repositoryUrl('https://github.com/apache/cassandra-java-driver.git')
+ configuredByUrl(true)
+ traits {
+ gitHubBranchDiscovery {
+ strategyId(1)
+ }
+ gitHubForkDiscovery {
+ strategyId(1)
+ trust {
+ gitHubTrustEveryone()
+ }
+ }
+ }
+ }
+ }
+ buildStrategies {
+ buildChangeRequests {
+ ignoreTargetOnlyChanges(true)
+ ignoreUntrustedChanges(true)
+ }
}
}
}
- factory {
+ factory {
workflowBranchProjectFactory {
scriptPath('Jenkinsfile-asf')
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]