I'm setting up TFS 2015 on-prem and I'm having an issue on my last build step, Publish Build Artifacts. For some reason, the build agent appears to be archiving old binaries and I'm left with a huge filepath:
E:TFSBuildAgent\_work1a4e9e55workspaceapplicationDevelopmentprojectWCFWCFobjDebugPackageArchiveContentE_CTFSBuildAgent\_work1a4e9e55workspaceapplicationDevelopmentprojectWCFWCFobjDebugPackagePackageTmpin
I'm copying the files using the example minimatch pattern to begin with:
**in
I'm only testing at the moment so this is not a permanent solution but how can I copy all binaries that are in a bin folder but not a descendant of obj?
From research I think that this should work, but it doesn't (It doesn't match anything):
**!(obj)**in
I'm using www.globtester.com to test. Any suggestions?
On a separate note, I'll look into the archiving issue later but if anyone has any pointers on it, feel free to comment. Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…