Skip to content
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

Merged
merged 8 commits into from
Apr 1, 2019
Merged

Users/yacao/ftpuploadv2 #9920

merged 8 commits into from
Apr 1, 2019

Conversation

yacaovsnc
Copy link
Member

Update FtpUpload tasks with different ftp library, azure-pipelines-tasks-lib, and add retry logic.

trustSSL: boolean;
}

class ProgressTracking {
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: ProgressTracker

Copy link
Member Author

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.

Copy link
Member Author

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/ftpuploadtask.ts Outdated Show resolved Hide resolved
Tasks/FtpUploadV2/ftpuploadtask.ts Outdated Show resolved Hide resolved
Tasks/FtpUploadV2/ftpuploadtask.ts Outdated Show resolved Hide resolved
Tasks/FtpUploadV2/task.loc.json Show resolved Hide resolved
// 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
Copy link
Contributor

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

@yacaovsnc yacaovsnc merged commit dfb38dd into master Apr 1, 2019
@yacaovsnc
Copy link
Member Author

Build canary is also updated with v2 of task.

@yacaovsnc yacaovsnc deleted the users/yacao/ftpuploadv2 branch April 1, 2019 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants