# Artifacts registration seems to be broken

**URL:** https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869
**Category:** Bugs
**Created:** [November 13, 2013, 2:02am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869 "2013-11-13T02:02:28Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [November 13, 2013, 2:02am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/1 "2013-11-13T02:02:28Z")

</div>

I have a rule to sync several txt files back to the server. Then I tried all different kind of combinations:

**only outputs the first file of every extension**

artifacts\*\*

**only outputs the first .txt file**

artifacts\*\*.txt

**only outputs the first .txt file**

artifacts\*.txt

**only outputs the first .txt file:&nbsp;**

artifacts\myfile1.txt  
artifacts\myfile2.txt  
artifacts\myfile3.txt

I have verified the workspace on the server, and the files are really there.

It's really weird, because on some projects I use a wildcard ( **Output\nuget\final\*\*.nupkg** ), and that does work correctly.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [November 14, 2013, 1:39am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/2 "2013-11-14T01:39:13Z")

</div>

We have now reproduced this. The code where we remove duplicate artifacts (e.g. those matched by more than one rule) is erroneously discarding files with different filenames but the same content hash.&nbsp;I suspect all the files in your test have the same content?&nbsp;

We have implemented a fix for the next build.

---

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [November 14, 2013, 6:27am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/3 "2013-11-14T06:27:45Z")

</div>

In my test case: yes, they all have the same hash. But I created the test case trying to reproduce another scenario which I am having issues with (last part of finalbuilder script not being executed).

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 14, 2013, 6:39am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/4 "2013-11-14T06:39:13Z")

</div>

I suspect the finalbuilder script is executing fine, is just the log view for finalbuilder projects in continua is not 100% correct. The problem is the two logging systems were created by different devs, the dev who wrote the logging for continua didn’t take into account the needs of FinalBuilder. This will be fixed with FB8.   
  
 In the mean time, export the finalbuilder log to html in the build workspace, add a workspace rule to copy the html file back to the server, and add a Report to the configuration to display the html file. This is what we are doing for FinalBuilder’s build process at the moment.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [November 14, 2013, 6:40am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/5 "2013-11-14T06:40:33Z")

</div>

Turning on the options to log workspace, repository and artifact files copied&nbsp;in the stage options dialog may help to work out if any files are missing from the workspace when the script is running

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [November 14, 2013, 6:40am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/6 "2013-11-14T06:40:34Z")

</div>

Turning on the options to log workspace, repository and artifact files copied&nbsp;in the stage options dialog may help to work out if any files are missing from the workspace when the script is running

---

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [November 14, 2013, 6:42am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/7 "2013-11-14T06:42:55Z")

</div>

I know that it is incorrect in async scenarios, that's why I already output to HTML.

At the end of the build =\> output html  
OnFailure=\> output html with only errors

The reason I started to repro is because no html was there (no error, no end build). It seems to happen when a child action list calls Exit action list. From that step, it just stops continuing the script.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 14, 2013, 6:57am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/8 "2013-11-14T06:57:20Z")

</div>

What build of FinalBuilder are you using? This sounds very much like a bug that was fixed a few months ago. If you are using the latests, try and narrow it down to the smallest reproducable case and send it to support.

---

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [November 14, 2013, 6:58am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/9 "2013-11-14T06:58:23Z")

</div>

I tried to repro 😉 Is it possible to show you?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 14, 2013, 7:14am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/10 "2013-11-14T07:14:23Z")

</div>

if you are quick, we’ll be heading home for the day shortly. I think we used teamviewer last time, email me your id.

---

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [November 14, 2013, 7:16am UTC](https://www.finalbuilder.com/forums/t/artifacts-registration-seems-to-be-broken/5869/11 "2013-11-14T07:16:10Z")

</div>

You’ve got mail.
