In order for the deploy plugin operation to make use of a configuration file, the build operation must first export the config file from some form of source control management system. In the example below, we are going to bring in a config file from an SVN repository, during our build workflow. This property file will then be available in the deploy workflow. The properties are replaced during the deploy, so properties can be replaced with different value in each environment where the RPD or webcatalog are deployed.
After performing the build with the above workflow and project configuration, we should see our config file in our artifacts repository in FlexDeploy.
Note that because we did not specify a checkout folder in the project configuration or a target subfolder in the SaveArtifacts workflow step the config file is checked out directly under the
FD_TEMP_DIR with no parent folder. The saveArtifacts operation picks it up from there by default.
Due to the fact there is no parent folder, we only need to specify the config file name to the deploy workflow. Had we set a checkout folder or target subfolder, we would need to put the parent folder in the deploy workflow input, such as %PARENTFOLDER%/Datamodel.properties