repo.or.cz
/
opentx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Comment added
[opentx.git]
/
jenkins
/
upload-to-server.sh
blob
3b0c226435414912ed85fa2842c3af0bf7a44d33
1
#!/bin/bash
2
3
set -e
4
set -x
5
6
# in this file define ssh options (like private key)
7
source
~
/
.opentx-jenkins-settings
8
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}
/
13
}
14
15
upload release-20
16
upload nightly-21
17
upload release-21
18
upload nightly-22