Comments (5)
@ynijs, @chshrikh
Hi,
I was getting the same "doesn't exists." message and it turned out to be because Web Deploy Package was wrong.
The error message is incomplete. In MsDeployOnTargetMachines.ps1, line 184
throw "$packageFile doesn't exists."
$packageFile is not set. I think it should be $Path.
from azure-pipelines-extensions.
I'm getting a similar issue. If I have a release with "IIS Web App Management", I cant save the release, I get the error: "TF400893: Unable to contact the server. This is most likely caused by a network error. Please check your connection and try again."
If I run the release as is, I get a similar error. I'm deploying an app to on-prem IIS via VSTS
from azure-pipelines-extensions.
@ynijs could you please set the system.debug variable with value as true and share the logs to RM_Customer_Queries at Microsoft dot com or post them here.
from azure-pipelines-extensions.
I too was getting the "Doesn't Exists" error. I spent a few hours today pouring over the logs and I see what the problem is. When I publish my artifacts, I choose artifact type Server (not Share). When the IIS Deployment WinRM script runs on the IIS box, it pushes a path of c:\blah\blah\blah. The IIS box doesn't have that file on it's box. Changing artifact type to Share and all works as expected. Is there a way to do this with artifact type of Server? This is the way I would prefer to publish my artifacts.
from azure-pipelines-extensions.
@ynijs @shanecastle @aidanfolkes @dascalos
This issue has been fixed. If you still face this issue feel free to reopen this issue.
@dascalos
When you select artifact type as server, then during queue a RD, artifacts are being downloaded to agent box. But for WinRm task artifacts need to be present on target machine. So you have to you copy tasks ( like Windows File Copy or Azure File Copy) in your RD to copy artifacts from local machine to target machine. After copy task you can add WinRm tasks.
from azure-pipelines-extensions.
Related Issues (20)
- Service Now extension fails to update change in case of rerunning failed jobs
- After updating to version TFS artifacts for Release Management 15.223.1 DownloadExternalBuildArtifacts no longer works. HOT 5
- SSH task on remote server failing while running any command on AIX server
- 'Download Artifacts - External TFS Git' v15.226.0 artifact download issue HOT 4
- Task IISWebAppMgmt does not support MSAs in V2 & V3 HOT 2
- IIS Web App Deployment Using WinRM Version 1.6.4 Breaks MSDeploy Additional Arguments HOT 7
- 'Download Artifacts - External TFS Git' v15.228.0 artifact download issue HOT 4
- PowerShell on target machines: Different behaviour for manual/automatically triggered releases
- My release pipeline gate fails always even though my ServiceNow Change Request ticket is in Implemented Status
- WinRM - IIS Web App Management Version 3.1.1
- Set App Pool -> recycling.logEventOnRecycle not working using additional appcmd.exe commands
- Getting approvals from within an environment's REST handler
- Execution fails with "Illegal characters in path" for the package SqlPackageOnTargetMachines.ps1
- Service Now Change Management - Transmitting Change Request Number as an Output Variable Between Stages. HOT 1
- artifact-engine: unhandled rejection Error: certificate has expired HOT 11
- Bitbucket API version upgrade is required HOT 4
- TestConnection Issue
- WinRM - SQL Server Database Deployment: Admin credentials required when WinRM isn't needed
- [Question]: Where's some/any documentation for ansible extension?
- extension Winrm Web IIS Management blocked HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-pipelines-extensions.