How does the artifact export work?

Patrick_Spiegel October 10, 2017

Hello, 

I am still very new to bamboo. What I try to do is collecting all .dacpac files that are created during the build process. 

 

image: microsoft/dotnet:latest
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- cd BackgroundCode
- dotnet restore
- dotnet run
artifacts:
- '../**/*.dacpac'

The directory structure would be 'agent/build/Projects/[Projectname]/[Projectname].dacpac'.

 

The output of the pipeline says

Successfully generated zip archive /opt/atlassian/pipelines/agent/build/Projects/[ProjectName]/[ProjectName].dacpac

which means there are really files generated during the build process.

Have I done something wrong? If no, where would I find those artifacts. 

1 answer

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2017

Hi Patrick,

Try defining it in the build itself.

Screen Shot 2017-10-14 at 22.45.36.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events