I am starting to work with bamboo, trying to make a build of a asp.net webpage, that I have done using Visual Studio 2017.
This webpage is small (it has a page where I can login, and than I login is success it takes me to another webpage).
In visual studio 2017 it's working fine: I build it and run it on chrome and it's working,
I am trying to make the build using bamboo. I placed my code in a repo (gogs) and I have connected it to bamboo with success.
In bamboo I have created a Visual Studio build plan, with one job, with the following configuration:
- Source Code Checkout
- Visual studio build
i am not sure if the build options are correct:
Executable: I have choosen the path to the VS2017 msbuild:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
Project File: I have selected the .sln file in my project
Options: I have found this in the web. Not sure if this is correct.
/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true
Environment Variables: blank
Working subdirectory: blank
- In my artifacts configuration, in the plan I have this:
Again, I am not sure if this definition is correct.
If I run this build I get the following message: "Build was successful".
When I go the generated artifacts and I click on it it open the expect webpage (first) with my login. But in here there is something missing (an image that I have on it).
When I login in the page and I get "page not found".
Can anyone help me with this?
Is my plan wrong?