diff --git a/.ci/jobs/elastic+security-team+estec.yml b/.ci/jobs/elastic+security-team+estec.yml index 10c1d7f0e33ea0c..ff7c13475a16080 100644 --- a/.ci/jobs/elastic+security-team+estec.yml +++ b/.ci/jobs/elastic+security-team+estec.yml @@ -2,25 +2,25 @@ - job: name: elastic+security-team+estec display-name: "elastic / security-team # ESTEC" - description: Elastic Security Test Environment Creator - project-type: multibranch + description: "Elastic Security Test Environment Creator \nInstructions: https://github.com/elastic/security-team/blob/ESTEC_first_components/tools/estec/README.md" + project-type: pipeline number-to-keep: 30 days-to-keep: 5 - script-path: tools/estec/Jenkins/estec-Jenkinsfile - scm: - - github: - ssh-checkout: - credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba - credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken - repo-owner: elastic - repo: security-team - branch-discovery: all - timeout: 5 - property-strategies: - all-branches: - - suppress-scm-triggering: true - build-strategies: - - skip-initial-build: true - - named-branches: - - wildcards-name: - excludes: "*" + parameters: + - string: + name: ESTEC_BRANCH + default: ESTEC_first_components + description: Build ESTEC using this security-team repo branch + pipeline-scm: + script-path: tools/estec/Jenkins/estec-Jenkinsfile + scm: + - git: + url: git@github.com:elastic/security-team.git + wipe-workspace: true + name: origin + credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba + ssh-checkout: + credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba + reference-repo: /var/lib/jenkins/.git-references/security-team.git + branches: + - $ESTEC_BRANCH