# How to get a build changset files list in a continua configuration stage

**URL:** https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329
**Category:** Discussion
**Tags:** continua-ci
**Created:** [February 7, 2023, 6:05am UTC](https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329 "2023-02-07T06:05:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hossein.jami](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@hossein.jami](https://www.finalbuilder.com/forums/u/hossein.jami)
#### Post date: [February 7, 2023, 6:05am UTC](https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329/1 "2023-02-07T06:05:14Z")

</div>

What I need to do in ContinuaCI build is to get the changeset for a build and make a decision based on its value. I found this $Source.GitRepository.ChangesetDetailsFilePath$ variable whose value is something like E:\CI\_AWS\Ws\585565\Source\GitRepository\_CI\_ChangesetDetails.xml. the problem is this file not available when the my powershell embedded logic wants to access it. This could be because Continua only uses it initially when moving stuff to working directory and then deletes it?  
I also know that $Source.GitRepository.BuiltChangeset.Id$ exists too but I want the changeset immediately rather than go and get it by git using the hash.  
Any help would be highly appreciated.

---

<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: [February 7, 2023, 6:46am UTC](https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329/2 "2023-02-07T06:46:20Z")

</div>

Hi @hossein.jami,

The `_CI_ChangesetDetails.xml` file does not get deleted but is only available for new commits to the repository after ticking the “Write changeset details to file” option. It is not available for previous changesets which have already been detected and added to the repository cache.

Try adding a new commit, and running a build on that, or reset the repository to re-add the changesets to the cache with the changeset details file.

---

<div class="post-metadata">

### Author: ![hossein.jami](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@hossein.jami](https://www.finalbuilder.com/forums/u/hossein.jami)
#### Post date: [February 9, 2023, 8:44am UTC](https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329/3 "2023-02-09T08:44:20Z")

</div>

Thanks for the instant reply. Appreciate it.  
I can now see the content of the file inside the ws folder. however it is only showing the git commit hash and related info.  
Like I said I want the files list directly rather than pulling them via git which takes time.  
what I need is list of the files like the ones can be seen in changes tab of a build in Continua.  
So is there anyway to only get the changeset file pathes in continua?  
I appreciate it.

---

<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: [February 9, 2023, 10:35am UTC](https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329/4 "2023-02-09T10:35:11Z")

</div>

Did you tick the “Include list of changed files in changeset details file” option?

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/e/e01f6fb68658def7d037a645fc5401cd71b66268.png)

---

<div class="post-metadata">

### Author: ![hossein.jami](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@hossein.jami](https://www.finalbuilder.com/forums/u/hossein.jami)
#### Post date: [February 10, 2023, 12:47am UTC](https://www.finalbuilder.com/forums/t/how-to-get-a-build-changset-files-list-in-a-continua-configuration-stage/7329/5 "2023-02-10T00:47:14Z")

</div>

Thanks, I missed it somehow 🙂  
will check that out
