Build and Verify job for ICS sample producer and consumer
[ci-management.git] / jjb / nonrtric / ics-producer-consumer-tests.sh
1 #!/bin/bash
2
3 # Clone the repository
4 git clone https://gerrit.o-ran-sc.org/r/nonrtric
5 cd nonrtric/sample-services/ics-producer-consumer || exit
6
7 # Run the start.sh script and capture its exit status
8 ./start.sh
9 start_status=$?
10
11 # Check the exit status of the start.sh script
12 if [ $start_status -eq 0 ]; then
13     echo "start.sh exited successfully (exit code 0)"
14 else
15     echo "start.sh exited with an error (exit code $start_status)"
16 fi