Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio build with bamboo

Fr0zt
Contributor
April 10, 2018

Hello.

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

vivaldi_2018-04-10_11-05-34.png

 

- Visual studio build

vivaldi_2018-04-10_11-05-48.png

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:

vivaldi_2018-04-10_11-12-16.png

 

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?

 

Thanks

 

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2018

We opened a support request so we could have a deeper look at your logs and other materials. Please stand by for an email from our Service Desk.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events