| #!/usr/bin/env groovy | |
| pipelineJob("task.repo.create") { | |
| description("Create a new apt mirror") | |
| parameters { | |
| stringParam('name', | |
| '', | |
| 'The name of the repo to create') | |
| } | |
| definition { | |
| cpsScm { | |
| scm { | |
| git { | |
| remote { | |
| url('https://coral.googlesource.com/gke-jenkins') | |
| } | |
| branches('*/master') | |
| } | |
| } | |
| scriptPath("cicd/pipelines/tasks/task_create_repo.jenkins") | |
| } | |
| } | |
| } |