have a script(powershell) task running.
details are:
deploy/deploy-web.ps1
-------------------------
-webserver "${bamboo.WebServerName}" -projectname "monitoring.web" -artifactdirectory "${bamboo.build.working.directory}\web"
below you can see files are copied ... skip ahead to copy.
the appsettings.rsdev.json doesn't get copied... or to be clear.. the file doesn't contain the conents of rsdev. its contents are the original file's contents.
any thoughts why?
also, is there documentation how/why this happens? is it automatic? I do want this behavior but assuming its default as I don't have any tasks to trigger this copy. Please advise.
12-Apr-2023 08:39:46 | 8 D:\Atlassian\Bamboo-7.2.10\Home\xml-data\build-dir\58458113-58556417\web\assets\ |
12-Apr-2023 08:39:46 | New File 837 appsettings.appprodws.json |
12-Apr-2023 08:39:46 | Newer 823 appsettings.json |
12-Apr-2023 08:39:46 | New File 860 appsettings.rsdev.json |
12-Apr-2023 08:39:46 | New File 845 appsettings.rsqa.json |
12-Apr-2023 08:39:46 | New File 881 appsettings.rstraining.json |
12-Apr-2023 08:39:46 | New File 851 appsettings.rsuat.json |
later...
12-Apr-2023 08:39:46 | VERBOSE: Performing the operation "Copy File" on target "Item: |
12-Apr-2023 08:39:46 | \\rsdev\webapps\www\phc.rs.monitoring.web\assets\appsettings.rsdev.json Destination: |
12-Apr-2023 08:39:46 | \\rsdev\webapps\www\phc.rs.monitoring.web\assets\appsettings.json". |