Add support discover tags for multi-branch pipeline

Signed-off-by: rick <rick@jenkins-zh.cn>
This commit is contained in:
rick
2020-11-19 15:29:44 +08:00
parent e9f709057a
commit 1783b75c98
7 changed files with 554 additions and 82 deletions

View File

@@ -53,6 +53,8 @@ spec:
type: object
discover_pr_from_origin:
type: integer
discover_tags:
type: boolean
git_clone_option:
properties:
depth:
@@ -86,6 +88,8 @@ spec:
type: string
discover_branches:
type: boolean
discover_tags:
type: boolean
git_clone_option:
properties:
depth:
@@ -103,6 +107,8 @@ spec:
type: string
type: object
github_source:
description: GithubSource and BitbucketServerSource have the same
structure, but we don't use one due to crd errors
properties:
api_uri:
type: string
@@ -119,6 +125,8 @@ spec:
type: object
discover_pr_from_origin:
type: integer
discover_tags:
type: boolean
git_clone_option:
properties:
depth: