Shell scripts might be interested in using STREAM so let's expose it via
env variable so that they can pick it up. Default all job types to
stream=master.
Change-Id: Ia61d00f88649ef9c01cd6a15cbc248bb4fae1106
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# Default parameters #
######################
+ stream: master
branch: master
submodule-recursive: true
parameters:
- lf-infra-parameters:
project: '{project}'
+ stream: '{stream}'
branch: '{branch}'
- lf-infra-jjb-parameters:
jjb-version: '{jjb-version}'
Parameter to identify a Gerrit project. This is typically the
project repo path as exists in Gerrit.
For example: ofextensions/circuitsw
+ - string:
+ name: STREAM
+ default: '{stream}'
+ description: |
+ Stream is often set to the same name as 'branch' but can
+ sometimes be used as a name representing a project's release code
+ name.
- string:
name: GERRIT_PROJECT
default: '{project}'
mvn-opts: ''
mvn-params: ''
mvn-version: mvn33
+ stream: master
submodule-recursive: true
#####################
- lf-infra-parameters:
project: '{project}'
branch: '{branch}'
+ stream: '{stream}'
- lf-infra-maven-parameters:
mvn-opts: '{mvn-opts}'
mvn-params: '{mvn-params}'
branch: master
build-timeout: 10
git-url: '$GIT_URL/$GERRIT_PROJECT'
+ stream: '{stream}'
submodule-recursive: true
tox-dir: ''
tox-envs: ''
- lf-infra-parameters:
project: '{project}'
branch: '{branch}'
+ stream: '{stream}'
- lf-infra-tox-parameters:
tox-dir: '{tox-dir}'
tox-envs: '{tox-envs}'