Comment added
[opentx.git] / jenkins / upload-to-server.sh
blob3b0c226435414912ed85fa2842c3af0bf7a44d33
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 upload() {
10 # $1 is release directory name
11 # copy scripts to server
12 scp ${SCP_OPT} ${1}/*.sh ${USERNAME}@jenkins.open-tx.org:/home/opentx/${1}/
15 upload release-20
16 upload nightly-21
17 upload release-21
18 upload nightly-22