ninja-fix: github urls
diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index 7315c59..9c99d2d 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -22,11 +22,11 @@
largeSlaveLabel = "${CASSANDRA_LARGE_SLAVE_LABEL}"
}
def mainRepo = "https://gitbox.apache.org/repos/asf/cassandra.git"
-def githubRepo = "https://github.com/apache/cassandra.git"
+def githubRepo = "https://github.com/apache/cassandra"
if(binding.hasVariable("CASSANDRA_GIT_URL")) {
mainRepo = "${CASSANDRA_GIT_URL}"
// just presume custom repos are github, not critical if they are not
- githubRepo = "${mainRepo}"
+ githubRepo = "${mainRepo}".minus(".git")
}
def buildsRepo = "https://gitbox.apache.org/repos/asf/cassandra-builds.git"
if(binding.hasVariable("CASSANDRA_BUILDS_GIT_URL")) {
@@ -458,6 +458,9 @@
numToKeep(30)
artifactNumToKeep(10)
}
+ properties {
+ githubProjectUrl(githubRepo)
+ }
definition {
cpsScm {
scm {