[Jenkinsfile] Shebang needed for bash to recognise the here-string syntax.

This commit is contained in:
Mat Sutcliffe
2019-01-06 01:04:14 +00:00
parent e7582f2f3c
commit 96b77c64d8

2
Jenkinsfile vendored
View File

@@ -260,7 +260,7 @@ node('master') {
unstash name: 'xswiftbus-allos'
sh 'chmod 664 *'
sh '''
sh '''#!/bin/bash
sftp datastore@datastore.swift-project.org:/datastore.swift-project.org/artifacts <<< "mput *.run"
sftp datastore@datastore.swift-project.org:/datastore.swift-project.org/artifacts <<< "mput *.dmg"
sftp datastore@datastore.swift-project.org:/datastore.swift-project.org/artifacts <<< "mput *.tar.gz"