summaryrefslogtreecommitdiffstats
path: root/scripts/ci/build.sh
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2018-06-12 14:48:48 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2018-06-18 15:41:45 +0200
commit855b031e7597b0c16b2bd9f4c18321b6320c8ffe (patch)
tree614c9ee9fef062f07121d606dafaebb722ee003b /scripts/ci/build.sh
parent55e49cdb4b2d1d818844703a44483ff92041d80d (diff)
downloadmeta-updater-855b031e7597b0c16b2bd9f4c18321b6320c8ffe.tar.gz
Bitbake build from Jenkins
Diffstat (limited to 'scripts/ci/build.sh')
-rwxr-xr-xscripts/ci/build.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
new file mode 100755
index 0000000..6235428
--- /dev/null
+++ b/scripts/ci/build.sh
@@ -0,0 +1,18 @@
1#!/bin/bash
2
3set -euo pipefail
4set -x
5
6TEST_MACHINE=${TEST_MACHINE:-qemux86-64}
7TEST_BUILD_DIR=${TEST_BUILD_DIR:-build}
8TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo}
9
10IMAGE_NAME=${1:-core-image-minimal}
11
12(
13set +euo pipefail
14set +x
15. "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}"
16
17bitbake "${IMAGE_NAME}"
18)