Commit 521e6832 authored by HUA YUEN HUI's avatar HUA YUEN HUI
Browse files

add branch parameter for manual trigger and classic run

parent a8407238
......@@ -8,11 +8,15 @@ properties:
value: ${COMMONS_HOSTED_REGION}
type: text
default: "https://raw.githubusercontent.com/open-toolchain/commons/master"
- name: APP_REPO_BRANCH
value: ${APP_REPO_BRANCH}
type: text
default: master
stages:
- name: BUILD
inputs:
- type: git
branch: master
branch: ${APP_REPO_BRANCH}
service: ${APP_REPO}
triggers:
- type: commit
......
......@@ -49,6 +49,7 @@ triggers:
events: { "push": true }
- type: manual
name: manual-run
branch: ${APP_REPO_BRANCH}
eventListener: manual-run
properties: []
properties:
......
......@@ -49,6 +49,7 @@ triggers:
events: { "push": true }
- type: manual
name: manual-run
branch: ${APP_REPO_BRANCH}
eventListener: manual-run
properties: []
properties:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment