Skip to content
Snippets Groups Projects
Commit 68b622ba authored by dwn1c21's avatar dwn1c21
Browse files

Update .gitlab-ci.yml file for error handling in build

parent 98bb40a7
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ build-job-Z2: # This job runs in the build stage, which runs first. ...@@ -41,6 +41,7 @@ build-job-Z2: # This job runs in the build stage, which runs first.
- echo "Build successful" - echo "Build successful"
- else - else
- echo "Build failed" - echo "Build failed"
- exit 1
- fi - fi
- fi - fi
# cleanup arm-AAA-ip directory # cleanup arm-AAA-ip directory
...@@ -74,6 +75,7 @@ build-job-ZCU104: # This job runs in the build stage, which runs first. ...@@ -74,6 +75,7 @@ build-job-ZCU104: # This job runs in the build stage, which runs first.
- echo "Build successful" - echo "Build successful"
- else - else
- echo "Build failed" - echo "Build failed"
- exit 1
- fi - fi
- fi - fi
# cleanup arm-AAA-ip directory # cleanup arm-AAA-ip directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment