Is there a way to modify "Code changes" assigned to builds?

Hi @ktopaz ,

If you set up your repositories to monitor all branches or branches by pattern, then a branch/tag selection control is displayed in the Queue Options dialog. e.g.

You can then access the repository selections using expression objects. Use $Source.RepoName.Branch$ for the selected branch, or $Source.RepoName.Tag$ for the selected tag.

You can also access details of the changeset which gets associated with the build. Use $Source.RepoName.BuiltChangeset.RepositoryChangeId$ for the revision or commit hash.

These values can be sent to the FinalBuilder action via the Variables tab, and used in your git/svn actions.

What you are requesting is backward to the way CI works. We could possibly have some sort of “Register Changesets” action, which allows you to submit a set of changesets from a file, or from FB action results, to the Continua CI database. This, however, would be a substantial piece of work, with potential for conflict with existing functionally. We have a lot of features to work on which we consider to be of higher priority. Note that one of these is to allow selection of commit id, in addition to branch and tag name, in the Queue options dialog.

1 Like