Skip to content

Commit

Permalink
Adding blockstep by default
Browse files Browse the repository at this point in the history
  • Loading branch information
DXCanas committed Dec 19, 2019
1 parent 83d6df8 commit e63210d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .buildkite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdir -p whl
echo "--- Downloading whl file"

# Allows for building directly from pipeline or trigger
if [[ $BUILDKITE_TRIGGERED_FROM_BUILD_ID ]]
if [[ $LE_TRIGGERED_FROM_BUILD_ID ]]
then
echo "Downloading from triggered build"
buildkite-agent artifact download 'dist/*.whl' . --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
Expand Down
5 changes: 3 additions & 2 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
steps:
# - block: "Build :android:?"
- block: "Build :android:?"
- if: build.source == "trigger_job"

# TODO make this independantly triggerable
# Only block when build is triggered by another build
# - if: build.source == "trigger_job"
- label: "Dev Build APK"
command: ".buildkite/build.sh"

Expand Down

0 comments on commit e63210d

Please sign in to comment.