aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-set-compositor-image.sh
blob: 4419e4ac47980079c677fbb4fb309d05d9c0dd8a (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 marlin jellyfish icefish koi lamprey" | grep -q $TARGETBRANCH ) || exit 0

# Use the agl-compositor
export TARGETFEATURES="agl-demo agl-devel agl-netboot"
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