Skip to content

DATASTAR: Get Sources

Overview

For a specified work item, this script will pull the .xml release control files for that work item and create 1 manifest file(.mf) for each .xml file and it will build the appropriate folder structure for the files contained in those scripts. A typical release\deployment file will look like as follows:

<Deployment VcsType="tfs">
    <Item Version="{CHANGESETID}" Path=""/>
<Deployment>

Contact Information

Please report a problem to support@absolute.technology if you are facing problems in making this task work. You can also share feedback about the task like, what more functionality should be added to the task, what other tasks you would like to have, at the same place.

Task Parameters

The task can be used to write variables into a file. The task parameters are described in detail below. The parameters listed with a * are required parameters for the task.

  • Manifest Path*: The $ prefixed version control path to manifest file (or folder containing the manifest).

  • Source Path*: The target directory for the source files.

Advanced Options

The following parameters are selectively shown under the Advanced Options:

  • Fail on Standard Error: If this is true, this task will fail if any errors are written to the Standard Error stream.
  • Clean Source Directory If this is true, the task will delete the existing files in the source directory.
  • TFS Repository Uri: This is the URI of the TFS Server, it is not normally necessary to set this value as by default it will use the TFS system variable SYSTEM_TEAMFOUNDATIONCOLLECTIONURI.
  • **Bearer Token: ** Optional OAuth Token, if you wish to use the build pipeline OAuth token then set this to the SYSTEM_ACCESSTOKEN system variable using $(System.AccessToken).
  • **User Name: ** The TFS Web Service calls will use the TFS Agent default credentials unless a user name is specified. If the username is included you must also specify a password.
  • Password: Optional password if not using default credentials. You should use a variable to encrypt the password by marking the variable as secure.
  • Use Proxy Server: If this is true, this task will attempt to go through the agent web proxy, unless a different Proxy Uri is specified.
  • Proxy Uri: Optional Uri for the Proxy Server, if not set it will use the agent web proxy.
  • **Proxy Username: ** Optional, specify a proxy user name unless or leave blank to use default credentials.
  • Proxy Password: Optional password if not using default credentials (Use a variable to encrypt the password by marking the variable as secure).

Known Issues:

None.