Skip to content

Commit

Permalink
Merge pull request #26 from rht-labs/feature/multibranch-github
Browse files Browse the repository at this point in the history
πŸ™ˆ FIX - typo in the url πŸ™‰
  • Loading branch information
springdo authored Jul 15, 2020
2 parents d2b96cc + 1eb1fa5 commit eabeac7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configuration/jobs/seed-multibranch-pipelines/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion plugins.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit eabeac7

Please sign in to comment.