Change-Id: I3cccaaeffae012c33ce5af1a2428d21a701bd7a4
set -o errexit
set -o pipefail
-if [[ "$EXECUTION_MODE" == "offline-deployment" ]]; then
- echo "Info : Offline deployment. Proceeding with packaging."
- cd $WORKSPACE/engine
- ./package.sh
-else
- echo "Info : Online deployment. Skipping packaging."
-fi
+./package.sh
concurrent: true
parameters:
- - project-parameters:
- project: $GERRIT_PROJECT
- branch: '{branch}'
- description: 'The project and branch which the change is proposed for'
- label:
name: SLAVE_LABEL
default: 'engine-{slave-type}-online-{distro}'
name: ARTIFACT_TO_DOWNLOAD
default: "https://artifactory.nordix.org/artifactory/nordix-kubernetes/installer/oss/gerrit/$GERRIT_CHANGE_ID/k8s-installer-ubuntu1804.bsx"
description: 'Artifact to download'
+ - project-parameters:
+ project: $GERRIT_PROJECT
+ branch: '{branch}'
+ description: 'The project and branch which the change is proposed for'
+ - nordix-gerrit-parameters
properties:
- logrotate