blob: 8ba706d925f6abc069c44dce96d5223e9510a7ae [file] [log] [blame]
Sai Gandham67a6d892018-10-10 04:31:59 -05001
Instrumentala4c60432018-11-02 06:07:31 -05002The CSIT functions are started by Jenkins, starting with the "setup.sh"
3in the csit/plans/aaf/aafapi directory (where 'csit' is an ONAP Project)
Sai Gandham67a6d892018-10-10 04:31:59 -05004
Instrumentala4c60432018-11-02 06:07:31 -05005You can emulate the JENKINS build locally
Sai Gandham67a6d892018-10-10 04:31:59 -05006
Instrumentala4c60432018-11-02 06:07:31 -050071) Start in the directory you put your ONAP source in
8 cd <root onap source dir>
92) If not exist, create a "workspace" directory.
10 mkdir -p workspace
113) Create an empty common functions script
12 > workspace/common_functions.sh
134) cd to the plans
14 cd csit/plans/aaf/aafapi
155) Run setup with variables set to the Workspace you created
16WORKSPACE=/workspace; SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash setup.sh
Sai Gandham67a6d892018-10-10 04:31:59 -050017
Instrumentala4c60432018-11-02 06:07:31 -0500186) To practice the Shutdown, do:
19WORKSPACE=/workspace; SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash teardown.sh
20
Sai Gandham67a6d892018-10-10 04:31:59 -050021