3

I want to setup a Jenkins and git on the same server.

What I am trying to do:

I want Jenkins to be able deploy a folder to another server which runs IIS server (which is running .net). I don't have code as I bought the product the client provides me with . It's just a publish folder or the executable files which I directly put on the server .I will be using git for version controlling.

I want jenkins to periodically check the git repository and when it finds any changes, it deploys it over to my remote server which is running IIS and rename the old folder on git with date wise.

How should I go about implementing this?

Thanks in advance for your suggestions.

1

1 Answer 1

3

For me I use jenkins in docker with git plugin.

The Git plugin will give you the ability to check the Git server every specific period of time or you can use git hook from github or bitbucket to trigger the task when ever any change happened to the repo or the branch.

For deployment, most of time I use shell build step to execute some shell command on remote node.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.