Skip to content

Commit

Permalink
Merge pull request #927 from tue-robotics/commit_range_cron
Browse files Browse the repository at this point in the history
Commit range cron
  • Loading branch information
ar13pit committed Nov 13, 2019
2 parents 2cdd837 + d912871 commit b1edde0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
trigger:
batch: true

schedules:
- cron: "0 1 * * *"
displayName: "Nightly"
branches:
include:
- master

variables:
CI: true

Expand All @@ -17,7 +24,10 @@ jobs:
targetType: 'inline'
script: |
wget https://raw.githubusercontent.com/tue-robotics/tue-env/master/ci/packages.sh
source ./packages.sh --pullrequest=${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-false} --branch=$SYSTEM_PULLREQUEST_TARGETBRANCH tue_robocup challenge_following_and_guiding challenge_manipulation challenge_navigation challenge_person_recognition challenge_spr challenge_speech_recognition
wget https://raw.githubusercontent.com/tue-robotics/tue-env/master/ci/azure_commit_range.py
export COMMIT_RANGE=$(python azure_commit_range.py)
ALL=$([ $BUILD_REASON == "Schedule" ] && echo "true")
source ./packages.sh --pullrequest=${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-false} --branch=$SYSTEM_PULLREQUEST_TARGETBRANCH --commit-range=$COMMIT_RANGE --all=$ALL tue_robocup challenge_following_and_guiding challenge_manipulation challenge_navigation challenge_person_recognition challenge_spr challenge_speech_recognition
echo "##vso[task.setVariable variable=json_string;isOutput=true]$PACKAGES_DICT"
- job: install_build_test
Expand Down

0 comments on commit b1edde0

Please sign in to comment.