Jump to content

sgrassie

Members
  • Posts

    16
  • Joined

  • Last visited

  • Days Won

    1

sgrassie last won the day on October 15 2021

sgrassie had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sgrassie's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

1

Reputation

  1. Is there a way from the command line to find what the currently active branch in the repo is?
  2. Hi Carlos, thanks for your reply. I don't think you can use a cm find query as Parameter-base Execution Condition, as the dialog in Teamcity seems to want to only use named parameters. I think though that I can use cm find attribute in our build script to find a named attribute and update a named parameter in Teamcity that I can then use as a condition in the Parameter-base Execution in the relevant build steps. thanks
  3. Does anyone know if it's possible to pull the attributes on a branch out in TeamCity with the Plastic Plugin? Specifically, I want to add a condition to a build step so that the build step is only executed if a particular attribute is found on the branch being built.
  4. No, I don't see that behaviour. From your screenshot it appears you've add those items inside the last obj folder as folders themselves, in fact they are files - at least the Plastic client thinks they are if you look at my screenshot. I also don't have an ignore.conf in \AppData\Local\plastic4. DocFX is an open source tool: https://dotnet.github.io/docfx/, it's fairly straightforward to initialise a docs website, I'm sure you could easily reproduce this.
  5. Carlos, I understand that the private files will still show in the Workspace Explorer. I obviously don't want them checking in by mistake, so would like them not visible on the Pending Changes screen, which is what I'm trying to do. The 'show ignored items' option is definitely unchecked. I've attached a screenshot - I've had to blank out the project name. The entry underlined in red is one that I right clicked add added to the ignore.conf, and it does get removed from the list, however, the next two items which are inside that folder, still remain in the pending changes list, when I would expect them not to. Additionally, it only added /src/PROJECT/obj/xdoc/cache/obj to the ignore.conf anyway, which is what I've already tried to add manually myself anyway. In addition to that, the /src/project/obj folder is already ignored by default anyway, to ignore all the intermediate c# build artifacts, which is why I was surprised when the pending changes view started showing all these files.
  6. In a C# solution, I'm using DocFX to create the documentation for it, and DocFX generates a whole bunch of intermediate cache files in all the of the projects, as it parses the XML-doc comments. It puts everything inside the <csproj dir>/obj/xdoc folder. I'm really struggling with getting Plastic to ignore them, and this confuses me greatly because I have obj in my ignore.conf, and I thought that would be enough to get Plastic to ignore everything inside it? obj xdoc src/PROJECT/obj /src/PROJECT/obj /src/PROJECT/obj/xdoc /src/PROJECT/obj/xdoc/cache /src/PROJECT/obj/xdoc/cache/obj DocFX does create some oddly named cache files, some of them without file extensions. Is there something I'm missing from the ignore.conf or could there possibly be a bug with the way client handles the oddly named files produced by DocFX, which is tripping up the ignore functionality?
×
×
  • Create New...