diff options
author | 2020-04-29 07:16:13 -0700 | |
---|---|---|
committer | 2020-04-29 07:16:13 -0700 | |
commit | c8759323aab3d622822e2995880f4e8a2a372a77 (patch) | |
tree | a7693a3302b7b7f3731278a2f0ac0a016187b3b2 /jjb | |
parent | 4750f3f7c0a8f0a7c1004cfa168137d520966169 (diff) |
Add post job build script for mass PNF simulator
Additional build actions will be performed for mass PNF
simulator bringing up the services to validate infra setup.
Change-Id: I4de8c6bb031d84e4fefd16c1a3afb12d5eacc506
Issue-ID: INT-1508
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/integration/integration-docker.yaml | 10 |
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: '' |