summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/integration/integration-docker.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/integration/integration-docker.yaml b/jjb/integration/integration-docker.yaml
index 503b52c69..c39ca2aba 100644
--- a/jjb/integration/integration-docker.yaml
+++ b/jjb/integration/integration-docker.yaml
@@ -17,6 +17,16 @@
pom: 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/pom.xml'
pattern: 'test/mocks/mass-pnf-sim/**'
mvn-goals: 'clean package docker:build -Dcheckstyle.skip'
+ PNF_INSTANCES: 1
+ post-docker-verify-script: |
+ #!/bin/bash
+ set -ex # Fail build if any setup step fails
+ cd $WORKSPACE/test/mocks/mass-pnf-sim
+ ./mass-pnf-sim.py --bootstrap {PNF_INSTANCES} --urlves http://127.0.0.1:10000/eventListener/v7 --ipfileserver 127.0.0.1 --typefileserver sftp --ipstart 10.11.0.16
+ ./mass-pnf-sim.py --start {PNF_INSTANCES}
+ ./mass-pnf-sim.py --trigger {PNF_INSTANCES}
+ ./mass-pnf-sim.py --stop {PNF_INSTANCES}
+ ./mass-pnf-sim.py --clean
mvn-settings: 'integration-settings'
files: '**'
archive-artifacts: ''