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/arjgupta/iis mg update2 #3405

Merged
merged 10 commits into from
Jan 13, 2017
Merged

Users/arjgupta/iis mg update2 #3405

merged 10 commits into from
Jan 13, 2017

Conversation

arjgupta
Copy link
Member

No description provided.

var xmlSubstitutionUtility = require('webdeployment-common/xmlvariablesubstitutionutility.js');
var xdtTransformationUtility = require('webdeployment-common/xdttransformationutility.js');
var ft = require('webdeployment-common/fileTransformationsUtility.js');
//var jsonSubstitutionUtility = require('webdeployment-common/jsonvariablesubstitutionutility.js');
Copy link
Contributor

Choose a reason for hiding this comment

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

can u remove the comments ?

console.log(tl.loc("XDTTransformationsappliedsuccessfully"));
}
else {
throw new Error(tl.loc("CannotPerformXdtTransformationOnNonWindowsPlatform"));
Copy link
Contributor

Choose a reason for hiding this comment

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

error messages are missing in task.json

Copy link
Member Author

Choose a reason for hiding this comment

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

have updated task.json accordingly

}

if(JSONFiles.length != 0) {
jsonSubstitutionUtility.jsonVariableSubstitution(folderPath, JSONFiles);
Copy link
Contributor

Choose a reason for hiding this comment

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

error messages are missing in task.json - > (inside jsonVariableSubstitution )

Copy link
Member Author

Choose a reason for hiding this comment

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

have updated task.json accordingly

@@ -13,6 +13,11 @@
"archiveName": "MSDeploy.zip",
"url": "https://vstsagenttools.blob.core.windows.net/tools/MSDeploy/3.6/MSDeploy.zip",
"dest": "./"
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation.

@@ -18,7 +19,11 @@ async function run()
var excludeFilesFromAppDataFlag: boolean = tl.getBoolInput('ExcludeFilesFromAppDataFlag', false);
var takeAppOfflineFlag: boolean = tl.getBoolInput('TakeAppOfflineFlag', false);
var additionalArguments: string = tl.getInput('AdditionalArguments', false);
var xmlTransformation: boolean = tl.getBoolInput('XmlTransformation', false);
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation.

@@ -32,6 +37,13 @@ async function run()
webDeployPkg = availableWebPackages[0];

var isFolderBasedDeployment = await utility.isInputPkgIsFolder(webDeployPkg);

if(JSONFiles.length != 0 || xmlTransformation || xmlVariableSubstitution) {
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation.

@@ -4,6 +4,7 @@ import fs = require('fs');

var msDeploy = require('webdeployment-common/deployusingmsdeploy.js');
var utility = require('webdeployment-common/utility.js');
var ft = require('webdeployment-common/fileTransformationsUtility.js');
Copy link
Contributor

Choose a reason for hiding this comment

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

can u name the variable like 'fileTransformationsUtility' ?

@@ -23,6 +23,11 @@
"minimumAgentVersion": "1.102.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Agent version should be changed to 2.104.1.

@arjgupta arjgupta merged commit 142a3c8 into master Jan 13, 2017
@arjgupta arjgupta deleted the users/arjgupta/iisMgUpdate2 branch February 7, 2017 12:28
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.

4 participants