|
| 1 | +# summary |
| 2 | + |
| 3 | +Create a DevOps Center pipeline. |
| 4 | + |
| 5 | +# description |
| 6 | + |
| 7 | +Provide the URL of an existing repository, or use `--create-repo` with a repository name to create one. After you create the pipeline, add stages, and activate the pipeline. |
| 8 | + |
| 9 | +# flags.target-org.summary |
| 10 | + |
| 11 | +Username or alias of the DevOps Center org. |
| 12 | + |
| 13 | +# flags.name.summary |
| 14 | + |
| 15 | +Name of the pipeline. |
| 16 | + |
| 17 | +# flags.repo.summary |
| 18 | + |
| 19 | +URL of an existing repository or the name of a repository to create. |
| 20 | + |
| 21 | +# flags.repo-type.summary |
| 22 | + |
| 23 | +Type of the source code repository. Required when creating a repository using '--create-repo'. |
| 24 | + |
| 25 | +# flags.create-repo.summary |
| 26 | + |
| 27 | +Create a repository if it doesn't exist. |
| 28 | + |
| 29 | +# flags.repo-owner.summary |
| 30 | + |
| 31 | +Owner (organization or user) of the repository. Required when creating a repository using '--create-repo'. |
| 32 | + |
| 33 | +# flags.bitbucket-project.summary |
| 34 | + |
| 35 | +Bitbucket project key for the repository. Used when creating a Bitbucket repository with '--create-repo'. |
| 36 | + |
| 37 | +# flags.description.summary |
| 38 | + |
| 39 | +Description of the pipeline. |
| 40 | + |
| 41 | +# examples |
| 42 | + |
| 43 | +- Create a pipeline and associate it with an existing GitHub repository. |
| 44 | + |
| 45 | + <%= config.bin %> <%= command.id %> --target-org my-devops-org --name "Release Pipeline" --repo https://github.com/myorg/myrepo |
| 46 | + |
| 47 | +- Create a pipeline and associate it with a new GitHub repository. |
| 48 | + |
| 49 | + <%= config.bin %> <%= command.id %> --target-org my-devops-org --name "Release Pipeline" --repo my-new-repo --repo-type github --repo-owner myorg --create-repo |
| 50 | + |
| 51 | +- Create a pipeline with a description and associate it with a Bitbucket repository. |
| 52 | + |
| 53 | + <%= config.bin %> <%= command.id %> --target-org my-devops-org --name "Release Pipeline" --repo https://bitbucket.org/myorg/myrepo --description "Main CI/CD pipeline for production releases" |
| 54 | + |
| 55 | +# error.RepoTypeRequired |
| 56 | + |
| 57 | +The --repo-type flag is required when using --create-repo. Specify --repo-type github or --repo-type bitbucket. |
| 58 | + |
| 59 | +# error.RepoCreationFailed |
| 60 | + |
| 61 | +Failed to create repository "%s". Verify the --repo-owner has permission to create repositories and the repository name is available. Details: %s |
| 62 | + |
| 63 | +# error.RepoNotFound |
| 64 | + |
| 65 | +Repository "%s" was not found or you don't have access. Verify the repository URL is correct and your DevOps Center org has the required VCS credentials. |
| 66 | + |
| 67 | +# error.RepoValidationFailed |
| 68 | + |
| 69 | +Failed to validate repository "%s". When using an existing repository, provide the full URL (e.g. https://github.com/owner/repo). To create a new repository, use --create-repo with --repo-type and --repo-owner. |
| 70 | + |
| 71 | +# error.RepoOwnerRequired |
| 72 | + |
| 73 | +The --repo-owner flag is required when using --create-repo. Specify the GitHub or Bitbucket organization or user that will own the repository. |
| 74 | + |
| 75 | +# error.VcsCredentialsMissing |
| 76 | + |
| 77 | +No VCS credentials found for repository "%s". Connect to Bitbucket in your DevOps Center org before creating a pipeline. |
| 78 | + |
| 79 | +# error.RepoTypeDetectionFailed |
| 80 | + |
| 81 | +Unable to detect the repository type from the URL "%s". Use --repo-type to specify the repository type. |
0 commit comments