Comments (6)
Hi @perp1exed - I've not tried replacing tokens on a UNC path. I'd suggest that you copy the file to the build agent (use File copy task), do the replacement and then copy it to the target machine.
from cols-agent-tasks.
The UNC path is pointing to the folder on the build agent (which is the tfs
server).
I am using the TokenReplace task in the Release definition. Is it safe to
say that it is running on the build agent? In which case specifying the
local directory path should work?
Cheers,
Ks
On Friday, 9 September 2016, Colin Dembovsky [email protected]
wrote:
Hi @perp1exed https://github.com/perp1exed - I've not tried replacing
tokens on a UNC path. I'd suggest that you copy the file to the build agent
(use File copy task), do the replacement and then copy it to the target
machine.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colindembovsky/cols-agent-tasks/issues/28#issuecomment-246035612,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVFNa5ihrB3CdF0bNpagLihuoOthn2Teks5qocZBgaJpZM4J5XCn
.
regards,
Khurram
from cols-agent-tasks.
The build runs on the machine that the build agent is installed on - so if you can access that folder via a regular path (like c:\builddrops...\web.config) then that should work!
from cols-agent-tasks.
So the pre-defined variables do not work right?
For example, $(Build.StagingDirectory)\drop does not work.
I am trying to avoid having to explicitly set the source folder.
Thanks,
KS
from cols-agent-tasks.
I found a similar issue. It seems that if you point the task directly at a file it will not work but if you point the task at the folder which contains the file and then specify "*.config" (or whatever the file type is) the task will complete.
from cols-agent-tasks.
Hi @perp1exed - I'm still not following your problem clearly. Can you send a screenshot of your task config so that I can see how you're configuring it?
from cols-agent-tasks.
Related Issues (20)
- rejection id: 1 HOT 4
- Replace Tokens Feature Request: Allow task to work with zip files HOT 3
- An error occurred during deployment plan generation. Deployment cannot continue.
- Cannot see deploymentReport.md in Azure Devops Pipeline after comparison HOT 2
- Possibility to override DatabaseName from 'Test' in generated script
- TFS 2017.3 gives error when using the coverage gate
- Cannot read property 'join' of null
- How do you debug this in Visual studio code
- AZure Devops 2020 Self Signed Cert
- Cannot read property 'endsWith' of undefined HOT 1
- Tag Build or Release task should log an error if it can't tag
- Error When Perform Dacpac Schema Compare in YAML version of Azure Build pipeline
- Replace Tokens Node 6 to 10 Migration HOT 5
- Allow user to configure extension to fail if token replacement is suspect HOT 5
- Tag Build or Release 'A supported task execution handler was not found.' error on TFS 2018 HOT 8
- Example YML for tagging a build is not correct HOT 2
- ##[error]A supported task execution handler was not found. This error usually means the task does not carry an implementation that is compatible with your current operating system. Contact the task author for more details. HOT 3
- DacPacReport: Files in extension version 1.4.152 (task version 1.2.178) differ from latest version in main branch
- New task versions can not be used due to incorrect versioning
- Vulnerability Issue Found HOT 2
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 cols-agent-tasks.