-
Notifications
You must be signed in to change notification settings - Fork 0
/
Angular WebDeploy to SmarterASP Hosting .json
1 lines (1 loc) · 3.67 KB
/
Angular WebDeploy to SmarterASP Hosting .json
1
{"tasks":[{"environment":{},"displayName":"PowerShell Script","alwaysRun":false,"continueOnError":false,"condition":"succeeded()","enabled":true,"timeoutInMinutes":90,"retryCountOnTaskFailure":5,"inputs":{"targetType":"inline","filePath":"","arguments":"","script":"\n #AGENT_RELEASEDIRECTORY\n$vAGENT_RD = (Get-Item Env:AGENT_RELEASEDIRECTORY).Value\n\n #RELEASE_PRIMARYARTIFACTSOURCEALIAS \n$vRELEASE_PASA= (Get-Item Env:RELEASE_PRIMARYARTIFACTSOURCEALIAS).Value\n\n$sourcePath = Join-Path -Path \"$vAGENT_RD\\$vRELEASE_PASA\" -ChildPath $($Env:SourcePath)\n\n\n & \"C:\\Program Files\\IIS\\Microsoft Web Deploy V3\\msdeploy.exe\" -verb:sync -source:contentPath=$sourcePath -dest:contentPath=$($Env:SiteName),computerName=$($Env:ServiceUrl),userName=$($Env:UserName),password=$($Env:Password),authtype=\"Basic\",includeAcls=\"False\" -allowUntrusted -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -enableRule:AppOffline -verbose\n\nWrite-Output \"AGENT_RELEASEDIRECTORY: $vAGENT_RD\"\n\nWrite-Output \"RELEASE_PRIMARYARTIFACTSOURCEALIAS: $vRELEASE_PASA\"\n\n","errorActionPreference":"stop","warningPreference":"default","informationPreference":"default","verbosePreference":"default","debugPreference":"default","progressPreference":"silentlyContinue","failOnStderr":"false","showWarnings":"false","ignoreLASTEXITCODE":"false","pwsh":"false","workingDirectory":"","runScriptInSeparateScope":"false"},"task":{"id":"e213ff0f-5d5c-4791-802d-52ea3e7be1f1","versionSpec":"2.*","definitionType":"task"}}],"runsOn":["Agent","DeploymentGroup"],"revision":1,"createdBy":{"displayName":"JAVIER EDUARDO MENDOZA BLANDON","id":"df98a38c-a7dd-6971-9b81-d58c7f58a6eb","uniqueName":"javier.mendoza@cpic.cr"},"createdOn":"2023-10-08T15:47:53.083Z","modifiedBy":{"displayName":"JAVIER EDUARDO MENDOZA BLANDON","id":"df98a38c-a7dd-6971-9b81-d58c7f58a6eb","uniqueName":"javier.mendoza@cpic.cr"},"modifiedOn":"2023-10-08T15:47:53.083Z","id":"1ab8ffde-54f2-4a14-b961-9746b705df95","name":"Angular WebDeploy to SmarterASP Hosting ","version":{"major":1,"minor":0,"patch":0,"isTest":false},"iconUrl":"https://cdn.vsassets.io/v/20180920T130937/_content/icon-meta-task.png","friendlyName":"Angular WebDeploy to SmarterASP Hosting ","description":"Angular App deployment to SmarterASP Hosting","category":"Deploy","definitionType":"metaTask","author":"Javier Mendoza Blandon","demands":[],"groups":[],"inputs":[{"aliases":[],"options":{},"properties":{},"name":"$Env:Password","label":"$Env:Password","defaultValue":"$(pPassword)","required":true,"type":"string","helpMarkDown":"Your VS Webdeploy Password","groupName":""},{"aliases":[],"options":{},"properties":{},"name":"$Env:ServiceUrl","label":"$Env:ServiceUrl","defaultValue":"$(pServiceUrl)","required":true,"type":"string","helpMarkDown":"Your VS Webdeploy Service URL","groupName":""},{"aliases":[],"options":{},"properties":{},"name":"$Env:SiteName","label":"$Env:SiteName","defaultValue":"$(pSiteName)","required":true,"type":"string","helpMarkDown":"Your VS Webdeploy Site Name","groupName":""},{"aliases":[],"options":{},"properties":{},"name":"$Env:SourcePath","label":"$Env:SourcePath","defaultValue":"$(pSourcePath)","required":true,"type":"string","helpMarkDown":"Your published artifact path","groupName":""},{"aliases":[],"options":{},"properties":{},"name":"$Env:UserName","label":"$Env:UserName","defaultValue":"$(pUserName)","required":true,"type":"string","helpMarkDown":"Your VS Webdeploy Username","groupName":""}],"satisfies":[],"sourceDefinitions":[],"dataSourceBindings":[],"instanceNameFormat":"Task group: Angular WebDeploy to SmarterASP Hosting $($Env:Password)","preJobExecution":{},"execution":{},"postJobExecution":{},"_buildConfigMapping":{}}