Click here to Skip to main content
15,887,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello there,

Greetings from India,

Here my things which I want to achieve and related problem statement

Ultimate goal : implement continuous integration(CI) using Jenkin and msbuild script on web application (asp.net with c#), its journey will end once it will be deployed on IIS (of-course my website will run after this !!!)

Problem I am facing :

I am very much new for all these things so doing everything using internet, thank God I am not going to read books or white papers J

1. Suppose I have one project file in my visual studio like helloworld.csproj which have all system generated build script, thing looks good to me till now but all example available on internet using .proj file like build.proj for msbuild script which I don’t know how to generate and if I generate it manually(create a text file and then change the extension, I am start J ) then
a. What will happen to all build scrip inside helloworld.csproj if we have build.proj file
b. Do I need to write everything manually or I need to copy + paste from base file helloworld.csproj (happy if later one is true)
2. How to write pre and post build script in Jenkin and where I define source and destination folder in Jenkin, great if you give me a real world example
3. How to access Jenkin variable to msbuild script like I want mention my site url from jenkin which will be used in msbuild script to deploy or if I want to skip web.config to deploy then what is the process

It would be great if you can guide me in same.

Thanks in Advance
VJ

What I have tried:

I am not sure what need to do so learning things from internet.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900