Skip to content

Commit

Permalink
refactor: migrating github creds to github app
Browse files Browse the repository at this point in the history
  • Loading branch information
marlapativ committed Jun 13, 2024
1 parent bf44079 commit 21c185c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/jenkins/jobs/build-jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for (buildRepo in buildRepos) {
branch("main")
remote {
github(url)
credentials('github')
credentials('github-app')
}
extensions {
wipeOutWorkspace()
Expand Down
2 changes: 1 addition & 1 deletion scripts/jenkins/jobs/pull-request-jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ for (pullRequestRepo in pullRequestRepos) {
source {
github {
id(prJobName)
credentialsId('github')
credentialsId('github-app')
repoOwner(pullRequestRepoOwner)
repository(pullRequestRepo)
repositoryUrl("")
Expand Down
1 change: 1 addition & 0 deletions scripts/jenkins/plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ workflow-aggregator:latest
ws-cleanup:latest
scm-filter-branch-pr:latest
terraform:latest
golang:latest

0 comments on commit 21c185c

Please sign in to comment.