aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-set-compositor-image.sh
blob: 3bb577a136a9e7a536196d6f65d5f69fbd11bf0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de
# License GPLv2
#
# debugging purposes
set -e

################################################################################
## Header
################################################################################

# only run on master, jellyfish and icefish
( echo "master jellyfish icefish" | grep -q $TARGETBRANCH ) || exit 0

# Use the agl-compositor
export TARGETFEATURES="agl-demo agl-devel agl-netboot agl-compositor"
export TARGETQA=""
export TARGETIMAGE="agl-demo-platform"

eval TARGETIMAGE="$TARGETIMAGE"
eval TARGETIMAGEnogfx="$TARGETIMAGE"

#if $DEBUG; then
set | grep ^TARGET || true
set | grep ^GERRIT || true
set | grep ^MACHINE || true
#fi