Skip to content

Commit f6218ec

Browse files
CopyFilesOverSSHV0 change sequential files sending to continuous queue (#19798)
* Change sequential exectuion to Queue mechanism * Update ssh2 sftp client in node20 handler package * Revert dependencies to their versions as they were in CopyFilesOverSSHV0 0.231.0
1 parent 4826894 commit f6218ec

32 files changed

+2353
-791
lines changed

Diff for: Tasks/CopyFilesOverSSHV0/Strings/resources.resjson/en-US/resources.resjson

+11-2
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,23 @@
2626
"loc.input.help.failOnEmptySource": "Fail if no matching files to be copied are found under the source folder.",
2727
"loc.input.label.flattenFolders": "Flatten folders",
2828
"loc.input.help.flattenFolders": "Flatten the folder structure and copy all files into the specified target folder on the remote machine.",
29+
"loc.input.label.concurrentUploads": "Number of concurrent uploads when copying files",
30+
"loc.input.help.concurrentUploads": "Number of concurrent uploads when copying files. Default is 10.",
31+
"loc.input.label.delayBetweenUploads": "Delay between queueing uploads (in milliseconds)",
32+
"loc.input.help.delayBetweenUploads": "Delay between queueing uploads (in milliseconds). Default is 50.",
2933
"loc.messages.CheckLogForStdErr": "Check the build log for STDERR from the command.",
3034
"loc.messages.CleanTargetFolder": "Cleaning target folder %s on the remote machine",
3135
"loc.messages.CleanTargetFolderFailed": "Failed to clean the target folder on the remote machine. %s",
3236
"loc.messages.ConnectionFailed": "Failed to connect to remote machine. Verify the SSH service connection details. %s.",
3337
"loc.messages.ConnectionNotSetup": "SSH service connection is not set up.",
3438
"loc.messages.CopyCompleted": "Completed copying %s files to the remote machine.",
39+
"loc.messages.CopyDirectoryCompleted": "Completed copying %s directory to the remote machine.",
40+
"loc.messages.CopyDirectoryFailed": "Failed to copy %s directory to the remote machine. %s",
3541
"loc.messages.CopyingFiles": "Found %s files to copy to the remote machine.",
3642
"loc.messages.FailedOnFile": "Failed to copy %s. %s",
3743
"loc.messages.FileExists": "File %s cannot be copied to the remote machine because it already exists and the 'Overwrite' option is disabled.",
44+
"loc.messages.FolderCreated": "Created folder %s on the remote machine.",
45+
"loc.messages.FoldersCreated": "Created %s folders on the remote machine.",
3846
"loc.messages.NothingToCopy": "No files were found matching the patterns specified to copy to the remote machine.",
3947
"loc.messages.NumberFailed": "Failed to copy %d files",
4048
"loc.messages.RemoteCmdExecutionErr": "Command %s failed with errors on remote machine. %s.",
@@ -44,8 +52,9 @@
4452
"loc.messages.StartedFileCopy": "Copying file %s to %s on remote machine.",
4553
"loc.messages.UploadFileFailed": "Failed to upload %s to %s on remote machine. %s.",
4654
"loc.messages.UseDefaultPort": "Using port 22 which is the default for SSH since no port was specified.",
47-
"loc.messages.TargetNotCreated": "Unable to create target folder %s.",
55+
"loc.messages.TargetNotCreated": "Unable to create target folder %s. %s.",
4856
"loc.messages.CheckingPathExistance": "Checking if %s on the remote machine exists.",
4957
"loc.messages.PathExists": "%s exists on the remote machine",
50-
"loc.messages.PathNotExists": "%s doesn't exist on the remote machine"
58+
"loc.messages.PathNotExists": "%s doesn't exist on the remote machine",
59+
"loc.messages.UploadFolderFailed": "Failed to upload folder %s to %s on remote machine. %s."
5160
}

Diff for: Tasks/CopyFilesOverSSHV0/_buildConfigs/Node20/Tests/package-lock.json

+11-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)