This commit is contained in:
Mateusz Pstrucha committed 2023-12-15 23:56:21 +01:00
1 parent 3c68ff26d1
commit ba488136e8
1 file changed
+6 -1
Vendored
+6 -1
View File
@@ -14,7 +14,12 @@ pipeline {
stage('Transfer Files') {
steps {
sshagent(['jenkins_master']) {
sh "sftp -r build/ kara.asgard.ygg:/tmp/${domain}"
sh '''
sftp kara.asgard.ygg:/tmp/${domain} <<EOF
cd /tmp
put -r build/
EOF
'''
}
}
}