Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Visual Studio build with bamboo

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 Apr 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
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

622 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you