Score:0

How do I reset a PowerShell build step script to use the template?

cn flag

I have a build script template that does all the usual build script things: sets up a bunch of parameters, configures various config values, and runs a PowerShell script to run a build step. This template is inherited by a handful of build steps that customize things for different code branches.

TeamCity allows values from the template to be overridden in the inherited build steps. In the case of parameters, there's an option to cancel the override and reset it to the default from the template. But I can't find the corresponding option for PowerShell scripts. I have a script that's gotten badly out of sync with the template; where is the option to tell it to stop overriding the template's script?

Score:0
cn flag

After some searching around, it appears that there's no way to reset the PowerShell script per se, but it is possible to reset the entire build step that contains the script to use the template rather than an overridden version. This option is found on the Build Steps list, in the dropdown next to the "Edit" link.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.