diff --git a/configuration/jobs/seed-multibranch-pipelines/config.xml b/configuration/jobs/seed-multibranch-pipelines/config.xml index b7f894d..47a8125 100644 --- a/configuration/jobs/seed-multibranch-pipelines/config.xml +++ b/configuration/jobs/seed-multibranch-pipelines/config.xml @@ -68,7 +68,7 @@ def githubAccount = System.getenv("GITHUB_ACCOUNT") def githubOrg = System.getenv("GITHUB_ORG") ?: false //eg https://api.github.com/users/springdo/repos or -def githubProjects = githubOrg ? new URL("${githubHost}/org/${githubAccount}/repos?per_page=100") : new URL("${githubHost}/users/${githubAccount}/repos?per_page=100") +def githubProjects = githubOrg ? new URL("${githubHost}/orgs/${githubAccount}/repos?per_page=100") : new URL("${githubHost}/users/${githubAccount}/repos?per_page=100") def createMultibranchPipelineJob(project, gitPath) { diff --git a/configuration/jobs/seed-multibranch-pipelines/seed-multibranch-pipeline.groovy b/configuration/jobs/seed-multibranch-pipelines/seed-multibranch-pipeline.groovy index 2aa1596..50ba9a4 100644 --- a/configuration/jobs/seed-multibranch-pipelines/seed-multibranch-pipeline.groovy +++ b/configuration/jobs/seed-multibranch-pipelines/seed-multibranch-pipeline.groovy @@ -21,7 +21,7 @@ def githubAccount = System.getenv("GITHUB_ACCOUNT") def githubOrg = System.getenv("GITHUB_ORG") ?: false //eg https://api.github.com/users/springdo/repos or -def githubProjects = githubOrg ? new URL("${githubHost}/org/${githubAccount}/repos?per_page=100") : new URL("${githubHost}/users/${githubAccount}/repos?per_page=100") +def githubProjects = githubOrg ? new URL("${githubHost}/orgs/${githubAccount}/repos?per_page=100") : new URL("${githubHost}/users/${githubAccount}/repos?per_page=100") def createMultibranchPipelineJob(project, gitPath) { diff --git a/plugins.txt b/plugins.txt index 89f28cd..9f8bfdc 100644 --- a/plugins.txt +++ b/plugins.txt @@ -1,7 +1,7 @@ ace-editor:1.1 analysis-collector:2.0.0 analysis-core:1.96 -ansicolor:0.6.3 +ansicolor:0.7.0 ant:1.11 antisamy-markup-formatter:2.0 apache-httpcomponents-client-4-api:4.5.10-2.0