in Education by
On TFS 2018.2, I am building a release pipeline implying the use of : Applications configuration files PowerShell scripts HTML/Markdown templates (for release notes) My applications configuration files are located on a net share for now and that works fine but I would like to version them later on. I was about to store other files on my existing TFVC repository but I did not find a way to get them (with their directory) without adding the entire repository as a release input artifact. I do not want to add them to my build artifacts since these files will be used for all my releases, no matter the applications I am building. What is the recommended way to store these files to get them on release execution ? I have been tempted to use the library but I feel this would be a misuse of it since it has been designed for secure files... JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The correct solution to this problem is something you've already hit upon: Add them to your build artifacts. In fact, it's better than pulling them from a separate repo for a very important reason: Your deployment scripts are going to evolve along with your application. You lose the connection between "this version of the application was deployed with these particular scripts" if the scripts come from a separate location. You have a lot of options to control the circumstances under which they get pubilshed/downloaded: You can use conditions on the publish artifacts tasks to control when they get published You can use artifact filters on the release definition to control when they get downloaded as part of a release

Related questions

0 votes
    On TFS 2018.2, I am building a release pipeline implying the use of : Applications configuration files ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 26, 2022 in Education by JackTerrance
+1 vote
    In which operating system, we can use Azure PowerShell?...
asked Oct 20, 2020 in Technology by JackTerrance
+1 vote
    In which operating system, we can use Azure PowerShell?...
asked Oct 20, 2020 in Technology by JackTerrance
0 votes
    What is the role of configuration management in DevOps?...
asked Oct 4, 2020 in Technology by Editorial Staff
0 votes
    How to use YAML files in high programming languages such as JAVA, Python, etc?...
asked Jul 28, 2021 in Technology by JackTerrance
0 votes
    Can a static library (.a) contain resources like images, sound files etc?...
asked Nov 10, 2020 in Technology by JackTerrance
+1 vote
    Azure Virtual Machines only support VM's running Microsoft Windows operating system....
asked Oct 20, 2020 in Technology by JackTerrance
0 votes
    I have shared location on Azure VM and web job in the same Vnet on Azure. I have C# script ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    I have a setup in Azure with a bunch of resources combined in a resource group. I want my services to be ... it not impact anything? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    We have several projects running on Azure. As they need some separation from each other, we need to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I have created a branch named dev. I have done a pull request to send dev code to master, when I do ... to resolve these conflicts. Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    Could anybody mention the best Azure DevOps Course online? Select the correct answer from above options...
asked Jan 6, 2022 in Education by JackTerrance
0 votes
    Let's say you have a typical web app and with a file configuration.whatever. Every developer working on ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 25, 2022 in Education by JackTerrance
0 votes
    What is Hadoop Configuration files?...
asked Aug 2, 2021 in Technology by JackTerrance
0 votes
    Which directory contain Cassandra configuration files (1)lib (2)conf (3)bin (4)interface...
asked Apr 17, 2021 in Technology by JackTerrance
...