Skip to content
Snippets Groups Projects
Commit 19215383 authored by Jeremy Mordkoff's avatar Jeremy Mordkoff
Browse files

Make the return code handling

obvious

Signed-off-by: default avatarJeremy Mordkoff <jeremy.mordkoff@riftio.com>
parent f13ff902
No related branches found
No related tags found
No related merge requests found
# Copyright 2016 RIFT.IO Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
This directory holds the scripts and tools needed by jenkins to run jobs
The 'host' subdirectory is meant to be invoked directly by jenkins either in its own container or on the host.
......
......@@ -43,3 +43,6 @@ fi
container_exec $OSM_BUILD_CONTAINER ./devops/jenkins/$OSM_MDG/start_build
RC=$?
INFO "$OSM_MDG build complete. Return code was $RC"
exit $RC
......@@ -36,7 +36,11 @@ else
bash ./scripts/vm_image/mkvmimg --container --modes build
fi
INFO "done"
INFO "no build script yet"
RC=1
INFO "done RC = $RC"
exit $RC
......@@ -43,7 +43,9 @@ INFO "starting build"
### put your commands here to
### build, test and produce coverage reports
INFO "done"
RC=0
INFO "done, RC=$RC"
exit $RC
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment