summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8802d14)
Change-Id: I64237e6840b10c134a8376de92fd04a882f204da
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
container=$2
shift 2
DEBUG "lxc launch $image $container $*"
container=$2
shift 2
DEBUG "lxc launch $image $container $*"
- lxc launch "$image" "$container" "$*"
+ lxc launch "$image" "$container" $*
DEBUG "exec in $container \"$*\""
lxc exec "$container" -- $*
}
DEBUG "exec in $container \"$*\""
lxc exec "$container" -- $*
}
container_exec_stderr() {
container="$1"
shift
container_exec_stderr() {
container="$1"
shift
else
container_exec $OSM_BUILD_CONTAINER apt -y install git realpath make sudo
fi
else
container_exec $OSM_BUILD_CONTAINER apt -y install git realpath make sudo
fi
- if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
- container_push_devops $OSM_BUILD_CONTAINER
- else
- container_exec $OSM_BUILD_CONTAINER git clone ${OSM_GIT_URL}/devops
- fi
+ if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
+ container_push_devops $OSM_BUILD_CONTAINER
+ else
+ container_exec $OSM_BUILD_CONTAINER git clone ${OSM_GIT_URL}/devops
+ fi
- if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
- container_push_devops $OSM_BUILD_CONTAINER
- else
- container_exec $OSM_BUILD_CONTAINER git -C devops pull
- fi
+ if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
+ container_push_devops $OSM_BUILD_CONTAINER
+ else
+ container_exec $OSM_BUILD_CONTAINER git -C devops pull
+ fi
fi
container_exec $OSM_BUILD_CONTAINER ./devops/jenkins/$OSM_MDG/start_build $*
fi
container_exec $OSM_BUILD_CONTAINER ./devops/jenkins/$OSM_MDG/start_build $*