testing/taskcluster/scripts/builder/build-mulet-haz-linux.sh
author Steve Fink <sfink@mozilla.com>
Tue, 15 Mar 2016 17:16:19 -0700
changeset 328830 20e99cca4ee84f3b1d6a77ceeb5de12adb24b641
parent 328829 0e845c982897050f35fdd9c40a52a72ce3c1691c
permissions -rwxr-xr-x
Bug 1250709 - Move tooltool checkout from source checkout to the workspace

#!/bin/bash -ex

################################### build-mulet-haz-linux.sh ###################################
# Ensure all the scripts in this dir are on the path....
DIRNAME=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
PATH=$DIRNAME:$PATH
WORKSPACE=$( cd "$1" && pwd )
export TOOLTOOL_DIR="$WORKSPACE"

. desktop-setup.sh
. hazard-analysis.sh

build_js_shell

configure_analysis "$WORKSPACE/analysis"
run_analysis "$WORKSPACE/analysis" b2g

# Artifacts folder is outside of the cache.
mkdir -p $HOME/artifacts/ || true

grab_artifacts "$WORKSPACE/analysis" "$HOME/artifacts"
check_hazards "$WORKSPACE/analysis"

################################### script end ###################################