Ich bin neu in diesem TFS BUILD, derzeit habe ich die Hersteller-Anwendung ohne den Quellcode Ich habe nur die veröffentlichten Dateien wie (Bin, Bild, ASPX-Dateien und DLL) Für die veröffentlichten Dateien muss ich alle Dateien kopieren, die der Lieferant mir gegeben hat und in den Zielort einfügen.TFS Build: Wie konfiguriert man das Post Build Event
Below is the configuration i done in TFS build definition.
1. Source setting tab
a) Source Control folder - Project Location
b) build agent folder - $(SourceDir)
2. Build defaults
a) Build controller - as defined my client.
b) staging location - my dev server path(\\devserver\foldername)
3. Process tab
a) Process parameter
i) required
- Items to build
* project to build - what should i give here whether the solution file or bat file manually created by me.
2) post build script - i mapped my bat file.
Bat file commands.
cd /d %2
md "VEMS_PROD_Sample"
cd webdeploy
xcopy *.* %2\VEMS_PROD_26082016_V1 /E
wenn ich den Build mit lief über Dateien Einstellung nicht unter das Protokoll kopiert Ich habe
2016-08-26 10:27:59,796 INFO
C:\Windows\system32>cd /d "D:\8228\Binaries"
D:\8228\Binaries>md "VEMS_PROD_Sample"
D:\8228\Binaries>cd webdeploy
D:\8228\Binaries>xcopy *.* "D:\8228\Binaries"\VEMS_PROD_26082016_V1 /E
0 File(s) copied
==================================================
2016-08-26 10:27:59,834 ERROR
The system cannot find the path specified.
Cannot perform a cyclic copy