Merge pull request #10 from rhcarvalho/git-ref
Add SOURCE_REPOSITORY_REF parameter
This commit is contained in:
commit
b0b566c0d4
1 changed files with 6 additions and 1 deletions
|
@ -72,7 +72,8 @@
|
|||
"source": {
|
||||
"type": "Git",
|
||||
"git": {
|
||||
"uri": "${SOURCE_REPOSITORY_URL}"
|
||||
"uri": "${SOURCE_REPOSITORY_URL}",
|
||||
"ref": "${SOURCE_REPOSITORY_REF}"
|
||||
},
|
||||
"contextDir": "${CONTEXT_DIR}"
|
||||
},
|
||||
|
@ -170,6 +171,10 @@
|
|||
"description": "The URL of the repository with your application source code",
|
||||
"value": "https://github.com/openshift/nodejs-ex.git"
|
||||
},
|
||||
{
|
||||
"name": "SOURCE_REPOSITORY_REF",
|
||||
"description": "Set this to a branch name, tag or other ref of your repository if you are not using the default branch"
|
||||
},
|
||||
{
|
||||
"name": "CONTEXT_DIR",
|
||||
"description": "Set this to the relative path to your project if it is not in the root of your repository"
|
||||
|
|
Loading…
Add table
Reference in a new issue