message: Moved 2nd download step to the beginning of workspace setup
diff: @@ -23,13 +23,19 @@ pipeline {
  echo 'Archive \'Spectre.Prebuild.libraries.zip\' exists, nothing to download.'
  } else {
  echo 'Archive \'Spectre.Prebuild.libraries.zip\' not found, downloading...'
  - fileOperations(
  - [fileDownloadOperation(
  + fileOperations([
  + fileDownloadOperation(
  password: '',
  targetFileName: 'Spectre.Prebuild.libraries.zip',
  targetLocation: "${WORKSPACE}",
  url: 'https://github.com/spectrecoin/spectre/releases/download/v2.0.7/Spectre.Prebuild.libraries.zip',
  userName: ''),
  + fileDownloadOperation(
  + password: '',
  + targetFileName: '',
  + targetLocation: "${WORKSPACE}",
  + url: 'https://github.com/spectrecoin/spectre/releases/download/latest/Tor.zip',
  + userName: ''),
  fileUnZipOperation(
  filePath: 'Spectre.Prebuild.libraries.zip',
  targetLocation: '.'),
  @@ -47,24 +53,19 @@ pipeline {
  sourceFolderPath: 'Spectre.Prebuild.libraries/tor'),
  folderDeleteOperation(
  './Spectre.Prebuild.libraries'
  - )]
  )
  + ])
  }
  bat 'scripts\\win-build.bat'
  - fileOperations(
  - [fileDownloadOperation(
  - password: '',
  - targetFileName: '',
  - targetLocation: "${WORKSPACE}",
  - url: 'https://github.com/spectrecoin/spectre/releases/download/latest/Tor.zip',
  - userName: ''),
  + fileOperations([
  fileUnZipOperation(
  filePath: "${WORKSPACE}/Tor.zip",
  targetLocation: '${WORKSPACE}/src/Spectrecoin/'),
  fileDeleteOperation(
  excludes: '',
  includes: "${WORKSPACE}/Tor.zip"),
  - fileZipOperation('${WORKSPACE}/src/Spectrecoin')])
  + fileZipOperation('${WORKSPACE}/src/Spectrecoin')
  + ])
  archiveArtifacts allowEmptyArchive: true, artifacts: 'Spectrecoin.zip'
  }
  }
  