+ - shell: !include-raw: include-raw-integration-replace-block-text.sh
+
+
+- builder:
+ name: integration-compare-distributions
+ # Operation: will compare an already created distribtion (probably last
+ # published to nexus) to the current distribution being created.
+ # The comparison is done to find the list of patches that are new to the
+ # current distribution.
+ # Required bash variables:
+ # KARAF_ARTIFACT: 'karaf' or 'distribution-karaf'. Use integration-set-variables.
+ builders:
+ - shell: !include-raw: include-raw-integration-compare-distributions.sh
+
+- builder:
+ name: integration-upload-distribution
+ # Upload distribution karaf artifact to Nexus SNAPSHOT repo for testing.
+ # Arguments:
+ # {dist-pom} path to pom file containing the version
+ # Required bash variables:
+ # KARAF_VERSION: 'karaf4' or 'karaf3'.
+ # Use distribution-karaf-version macro to customize.
+ builders:
+ - config-file-provider:
+ files:
+ - file-id: odl-global-settings
+ variable: GLOBAL_SETTINGS_FILE
+ - file-id: integration-settings
+ variable: SETTINGS_FILE
+ - integration-set-variables
+ - inject:
+ properties-content: BUNDLE_POM={dist-pom}
+ - shell: !include-raw-escape: integration-upload-distribution.sh
+ - inject:
+ properties-file: integration-upload-distribution.env