diff options
Diffstat (limited to 'ci/apex_build.sh')
-rwxr-xr-x | ci/apex_build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/apex_build.sh b/ci/apex_build.sh index 5b8184076..8e57ac847 100755 --- a/ci/apex_build.sh +++ b/ci/apex_build.sh @@ -12,6 +12,10 @@ if [ "$branch" == "master" ] || [ "$branch" == "danube" ];then echo "Checking out on $branch branch" echo "Commit-id is ${commit_id}" git checkout -f ${commit_id} + if [ $? -ne 0 ];then + echo "Please check the commit-id provided in apex.conf" + exit 1 + fi fi mkdir ${output_dir} } |