Kotlin DSL read file outside of .teamcity directory

Answered

From my Kotlin DSL versioned settings, I want to load a metadata file that already exists and is used to manage deployment from outside of the .teamcity directory.

├──.teamcity
│ ├── Build_dsl.iml
│ ├── settings.kts

│ ├── pom.xml
├── kubernetes
   ├── clients.yaml

After finding the helpful comments on this bug I think I see that before the maven build is executed the .teamcity directory is copied to a temporary directory. I don't see any obvious way for the versioned settings Kotlin to access the kubernetes/clients.yaml file.

Am I missing something obvious that would allow me to do this or is this an unsupported use case?

0
1 comment

Hi, this is not supported yet, please follow this ticket https://youtrack.jetbrains.com/issue/TW-63497

0

Please sign in to leave a comment.