----
#
# ============LICENSE_START=======================================================
# Copyright (C) 2019 Nordix Foundation.
name: PROJECT_REPO_NAME
default: '{repo}'
description: 'Project github repo name'
+ - string:
+ name: ghprbActualCommit
+ default: 'main'
+ description: 'CI Repo branch for triggering manual build'
+ - string:
+ name: ghprbAuthorRepoGitUrl
+ default: 'https://github.com/{org}/{repo}.git'
+ description: 'CI Repo URL for triggering manual build'
+ - string:
+ name: ghprbTargetBranch
+ default: 'main'
+ description: 'Target branch of the PR'
- string:
name: PATCHFILE_CONTENT
default: ''
triggers:
- github-pull-request:
admin-list:
- - '{ci_github_admin_user}'
+ - '{ci_github_admin_user}'
org-list: "{ci_github_whitelist_org}"
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-ironic-image-build(\s(.|\n)*)?'
+ trigger-phrase: '.*?/test-ironic-image-build.*?'
+ cron: 'H/5 * * * *'
only-trigger-phrase: True
github-hooks: True
permit-all: False
auto-close-on-fail: False
allow-whitelist-orgs-as-admins: True
- white-list-target-branches: "main"
+ white-list-target-branches:
+ - 'main'
+ - 'release-23.1'
+ - 'release-24.0'
+ - 'release-24.1'
status-context: "test-ironic-image-build"
success-status: "Passed"
failure-status: "Failed"
url: "{ci_github_repo}"
credentials-id: "{ci_github_jenkins_credentials_id}"
branches:
- - '{branch|main}'
+ - '{branch|main}'
name: 'origin'
refspec: '+refs/heads/*:refs/remotes/origin/*'
wipe-workspace: True