Skip to content

Instantly share code, notes, and snippets.

@EmbeddedAndroid
Last active July 2, 2019 19:03
Show Gist options
  • Save EmbeddedAndroid/dad8b5cb212323e5e28a71fc3c909470 to your computer and use it in GitHub Desktop.
Save EmbeddedAndroid/dad8b5cb212323e5e28a71fc3c909470 to your computer and use it in GitHub Desktop.
jtest pipeline example
#!/bin/bash
set -eu
echo "steps:"
for TEST in $TESTS; do
cat <<EOF
- trigger: "jtest"
label: "${TARGET}-${TEST}-${FW_VER}"
build:
env:
TARGET: "${TARGET}"
FW_VER: "${FW_VER}"
RUN_ID: "${RUN_ID}"
TEST: "${TEST}"
EXTERNAL_TEST_REPO: "${EXTERNAL_TEST_REPO}"
EXTERNAL_TEST_BRANCH: "${EXTERNAL_TEST_BRANCH}"
EOF
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment