Commit c7e5eca6 by Edward Thomson

Revert "foo"

This reverts commit 1fe3fa5e.
parent 1fe3fa5e
# These are the steps used for ssh'ing into a remote host to build and test.
steps:
- task: SSH@0
displayName: 'Create Build Directory'
inputs:
sshEndpoint: freebsd
commands: |
set -e
REMOTE_BASEDIR=$(mktemp -d -t build)
REMOTE_SOURCEDIR="${REMOTE_BASEDIR}/src"
REMOTE_OUTPUTDIR="${REMOTE_BASEDIR}/build"
mkdir "${REMOTE_SOURCEDIR}"
mkdir "${REMOTE_OUTPUTDIR}"
echo "##vso[task.setvariable variable=Remote.BaseDir]${REMOTE_BASEDIR}"
echo "##vso[task.setvariable variable=Remote.SourceDir]${REMOTE_SOURCEDIR}"
echo "##vso[task.setvariable variable=Remote.OutputDir]${REMOTE_OUTPUTDIR}"
- task: CopyFilesOverSSH@0
displayName: 'Securely copy files to the remote machine'
inputs:
sshEndpoint: freebsd
sourceFolder: '$(Build.SourcesDirectory)'
targetFolder: '$(Remote.SourceDir)'
- task: SSH@0
displayName: 'Create Build Directory'
inputs:
sshEndpoint: freebsd
commands: |
set -e
cd $(Remote.OutputDir)
$(Remote.SourceDir)/ci/build.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment