-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users/yacao/ftpuploadv2 #9920
Users/yacao/ftpuploadv2 #9920
Conversation
Tasks/FtpUploadV2/ftpuploadtask.ts
Outdated
trustSSL: boolean; | ||
} | ||
|
||
class ProgressTracking { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason why visibility markers aren't here? e.g. public
and private
for the method names and the member variables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: ProgressTracker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it should have one. I merged this from another file before, forgot to add a qualifier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't add any modifier, it complains
'private' modifier cannot appear on a module or namespace element.ts(1044)
so I think this is fine, it's not exported anyway.
Tasks/FtpUploadV2/Strings/resources.resjson/en-US/resources.resjson
Outdated
Show resolved
Hide resolved
Tasks/FtpUploadV2/ftpuploadtask.ts
Outdated
// other standard options | ||
rootFolder: tl.getPathInput("rootFolder", true), | ||
filePatterns: tl.getDelimitedInput("filePatterns", "\n", true), | ||
remotePath: tl .getInput("remotePath", true).trim().replace(/\\/gi, "/"), // use forward slashes alway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typo, and extra space before .getInput
Build canary is also updated with v2 of task. |
Update FtpUpload tasks with different ftp library, azure-pipelines-tasks-lib, and add retry logic.