oto/assets/yaml/example/command/copy.yaml

40 lines
No EOL
678 B
YAML

---
property:
workspace: C:/jenkins/workspace/VirtualOffice_PlayServer/Server/MetaVServer/Server/Src
deployPath: C:/Server
enviroment: devClient
pipeline:
id: main
workflow:
- exe: msbuild
- exe: print
- exe: copy
commands:
### MSBuild
- command: BuildMSBuild
id: msbuild
param:
projectFile: Server.sln
config: Release
type: Rebuild
### Print
- command: Print
id: print
param:
message: build complete
### Copy
- command: Copy
id: copy
param:
ignorePattern:
- servercfg.ini
- StartServer.bat
- StopServer.bat
copyMap:
"<!property.workspace>/Release64/*": "<!property.deployPath>/<!property.enviroment>"