Skip to content

Commit

Permalink
fix: Rename RepositoryScmType.AZURE_DEVOPS_SERVICES to RepositoryScmT…
Browse files Browse the repository at this point in the history
…ype.AZURE_DEVOPS (#92)
  • Loading branch information
bryceatmoderne authored Jul 25, 2024
1 parent 00260e5 commit 5be7c4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ file is included in this repository.

### Mapping repositories

Edit [application.yaml](src/main/resources/application.yaml) to list all the origins (host + context path) for the SCM providers listed in the repos.csv, and provide a type: `[GITHUB,GITLAB,BITBUCKET_CLOUD,BITBUCKET,AZURE_DEVOPS_SERVICES]`.
Edit [application.yaml](src/main/resources/application.yaml) to list all the origins (host + context path) for the SCM providers listed in the repos.csv, and provide a type: `[GITHUB,GITLAB,BITBUCKET_CLOUD,BITBUCKET,AZURE_DEVOPS]`.
This will be used to split the clone url into an origin and path.

Note that for an on-premise Bitbucket (server) we should not have the `scm/` path segment in the origin or the path. This will automatically be stripped off if you configure this as explained above.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void setType(Type type) {
}

public enum Type {
GITHUB, BITBUCKET_CLOUD, GITLAB, BITBUCKET, AZURE_DEVOPS_SERVICES
GITHUB, BITBUCKET_CLOUD, GITLAB, BITBUCKET, AZURE_DEVOPS
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ moderne:
- origin: https://bitbucket.example.com/stash
type: BITBUCKET
- origin: dev.azure.com
type: AZURE_DEVOPS_SERVICES
type: AZURE_DEVOPS

0 comments on commit 5be7c4d

Please sign in to comment.