Change-Id: I59253dcd1603904f10206547f26aa3743a0a85b9
Signed-off-by: rohithrajneesh <rohith.rajneesh@est.tech>
name: GO_PATH
default: '/usr/local/go/bin'
description: Path to go executable
name: GO_PATH
default: '/usr/local/go/bin'
description: Path to go executable
+ - string:
+ name: TRIGGER_BRANCH_PATTERN
+ default: '**'
+ description: Branch patterns to trigger against
+ - string:
+ name: TRIGGER_FILES_PATH_PATTERN
+ default: '**'
+ description: File path pattern to trigger against
triggers:
- nordix-gerrit-trigger-patchset-created:
project: 'oransc/{project}'
triggers:
- nordix-gerrit-trigger-patchset-created:
project: 'oransc/{project}'
- branch: '**'
- files: '**'
+ branch: $TRIGGER_BRANCH_PATTERN
+ files: $TRIGGER_FILES_PATH_PATTERN
wrappers:
- build-timeout:
wrappers:
- build-timeout:
mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: "datafilecollector/.*"
+ pattern: "**/datafilecollector/**"
+ subdirectory: datafilecollector
+ trigger_files_path_pattern: datafilecollector
jobs:
- 'oransc-{project-name}-verify-java'
stream:
jobs:
- 'oransc-{project-name}-verify-java'
stream: