summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-04-29 16:44:34 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-29 16:44:34 +0000
commit89700d68fa372b65575074c72212f240de209f88 (patch)
treea98d4c00d1101b9fe5bbcb2d40b7db9243802d21 /jjb
parentcad678212de6da402bdf072730e22cd0365ffe90 (diff)
parentc8759323aab3d622822e2995880f4e8a2a372a77 (diff)
Merge "Add post job build script for mass PNF simulator"
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: ''