x9e with horus bt module (#5214)
[opentx.git] / jenkins / get-from-server.sh
blob068de6a19ceeb45a8dff751e97a484b0ba7cab02
1 #!/bin/bash
3 set -e
4 set -x
6 # in this file define ssh options (like private key)
7 source ~/.opentx-jenkins-settings
9 function download() {
10 # $1 is release directory name
11 mkdir -p ${1}
12 scp ${SCP_OPT} ${USERNAME}@jenkins.open-tx.org:/home/opentx/${1}/*.sh ${1}/
13 #chmod 774 ${1}/*.sh
16 download release-20
17 download nightly-21
18 download release-21
19 download nightly-22