mirror of
https://github.com/opentx/opentx.git
synced 2025-07-12 19:10:19 +03:00
19 lines
371 B
Bash
Executable file
19 lines
371 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# in this file define ssh options (like private key)
|
|
source ~/.opentx-jenkins-settings
|
|
|
|
function download() {
|
|
# $1 is release directory name
|
|
mkdir -p ${1}
|
|
scp ${SCP_OPT} ${USERNAME}@jenkins.open-tx.org:/home/opentx/${1}/*.sh ${1}/
|
|
#chmod 774 ${1}/*.sh
|
|
}
|
|
|
|
download release-20
|
|
download nightly-21
|
|
download release-21
|
|
download nightly-22
|