0
votes

Is there any similar plugin like this

https://wiki.jenkins.io/display/JENKINS/Config+File+Provider+Plugin

in TFS Build & Release

I want to provide configuration.json file which is not included in git source.

1
Any update on this, have your tried my workaround? If my reply helped or gave a right direction. Appreciate for marking it as an answer which will also helps others in the community. - PatrickLu-MSFT
no, I'm not on XAML build, I follow the suggestion from TFS docs.microsoft.com/en-us/vsts/build-release/apps/mobile/… - Jongz Puangput
thank you for your help and response @PatrickLu-MSFT - Jongz Puangput

1 Answers

0
votes

Unfortunately, there is no such extension in TFS/VSTS Build & Release.

According to your tag tfs2013, seems you are working with XAML build.

Just like you need a workspace on your dev machine to develop your app, you must specify the workspace that the build agent uses to build and test your app. Then we get/pull source files from TFS server side. It's not able to achieve below similar features in TFS UI:

Adds the ability to provide configuration files (i.e., settings.xml for maven, XML, groovy, custom files, etc.) loaded through the Jenkins UI which will be copied to the job's workspace.

As a workaround, you could try to put configuration.json files in a ftp server instead of git source and then use a PowerShell solution to down the files in build agent workspace. If create a PowerShell to over FTP you can have it called by the build template(customize workflow).