checkin
Checks in working changes to a TFVC project. This operation will implicitly checkout the server path specified, overlay the working changes and check back in to TFVC.
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Instance Code | FDTFVC_INP_INSTANCE_CODE | Yes | The TFVC instance code to use. |
Checkin Comment | FDTFVC_INP_CHECKIN_COMMENT | No | The comment to use when checking in. |
Server Path | FDTFVC_INP_SERVER_PATH | Yes | The TFVC Server path to check in to. This should be a valid TFS server path starting with $/. |
Local Path | FDTFVC_INP_LOCAL_PATH | No | The local location containing the files you wish to check in. This path is relative to the FD_ARTIFACTS_DIR |
Artifacts
This operation doesn’t consume or produce any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Special Considerations
Example
I have a file on my local build server I want to check back in to my remote TFVC server. The local files I want to check in are created as a result of the prior workflow step and are located here:
FLEXDEPLOY_BASE_DIR/work/12345/54321/temp/source/file.txt
FLEXDEPLOY_BASE_DIR/work/12345/54321/temp/source/file2.txt
I want to check these files back in to the server location of $/MyTeam/MyApplication/source
We know the temp directory can be accessed with FD_TEMP_DIR so our check in operation would look like the following
- style