#!/bin/bash set -ef -o pipefail scripts=$(dirname $0) . $scripts/jenkins-helpers.sh convert_args_to_variables "$@" container="${container-jenkins}" distro="${distro-xenial}" group="${group-default}" verbose="${verbose-true}" set -u if $verbose; then set -x; fi image="linaro/ci-$(print_arch_for_host localhost)-tcwg-host-ubuntu:$distro" if [ x"$group" = x"default" ]; then group="all" if [ x"$container" = x"jenkins" ]; then group="tcwg-infra" fi fi $scripts/tcwg-start-container.sh \ --container "$container" \ --image "$image" \ --keep_existing false \ --verbose "$verbose" \ -- \ --task $container --verbose $verbose -- $image $group