branches: 20.2, master
project_directories: sdc, sdc-customization
project_versions:
+ mvn_params: '-DskipTests -Pdocker'
+ # mvn_params: '-DskipTests -Pdocker' # re-enable when unit tests pass
mvn_settings_xml_version:
docker_images: '
uds/sdc-cassandra-init,
project_versions: '{project_versions}'
- git-parameters
- maven-parameters:
+ mvn_params: '{mvn_params}'
mvn_settings_xml_version: '{mvn_settings_xml_version}'
- artifact_parameters:
artifact_paths: '{artifact_paths}'
property-file: $WORKSPACE/build.properties
triggers:
- timed: "@midnight"
+ - gerrit:
+ server-name: 'Nordix Gerrit'
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: 'remerge'
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'onap/sdc'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '20.2'
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'local/onap/uds/sdc-customization'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: 'master'
+
wrappers:
- openstack:
single-use: True
description: Path to mvn executable
- string:
name: MVN_PARAMS
- default: -Pdocker
+ default: '{mvn_params}'
description: Maven build parameters
- string:
name: MVN_SETTINGS_XML_VERSION