Jenkins : Windows build to Windows host : which plugin to use? -


i have found many examples of linux windows or osx windows, battling find how copy build files windows server installation of jenkins, windows server host website.

i tried copy artifact plugin - seems used copy other builds current build - correct?

or can used copy build execute remote windows folder?

what should use copy windows server? not use batch files. can/should powershell used?

the idea copy files timestamped folder on hosting windows server e.g.

xcopy *.* \\myhostingserver\temp 

then after has copied - copy files myhostingserver\temp correct web folder. prevent deployment web folder if e.g. network connection lost halfway.

i having hard time getting windows specific information.

i suggest use 2 jobs:

  • build job running on first windows server. archive build files artifacts job
  • deployment job should run on second windows server. can use "copy artifacts project" build files locally (on second server)

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -