We have setup a jenkins CI build environment in ubuntu for .net code base.
Following are the steps performed in jenkins and found to be working fine: - Get code base repository from git. - Build the code base using 'XBuild'. Build is possible with Release mode as well.
Post build, the issue we are facing is with publishing the build code. We are able to follow above listed steps, build with MSBuild and publish in Windows. But in Ubuntu, we are unable to publish (locally or externally) as the command line parameters (in shell window) to publish '/p:proj_file_pub.xml' does not work with Ubuntu XBuild build.
We also have mono tool installed in Ubuntu for manually building the .net codebase. In case we can do publish using mono with any shell command, then please do let us know the same.
I would re-iterate the requirement, to build the .net codebase in Jenkins and publish to local or external server. Firstly, we are looking to publish the code locally.
Please suggest appropriate shell command to publish the code base in Ubuntu machine using Jenkins.
PS: The code base is an MVC web application.