When you activate the SQL Automation Pack, the following command line tools are activated:
How you activate the SQL Automation Pack license depends on the automation tool you're using:
To activate the SQL Automation Pack in v1.1.1.2102 and later:
Run the Activate /licenseSerialKey
command with your serial number. For example:
Activate /licenseSerialKey=123-456-789012-ABCD |
To activate the SQL Automation Pack in v1.1.0.7 to v1.1.1.1981:
Run the build step, including the /licenseSerialKey
option with your serial number. For example:
Build /scriptsFolder=WidgetShop\Database\Scriptsfolder /packageId=WidgetShop /packageVersion=1.0 /temporaryDatabaseServer=(localdb)\v11.0 /licenseSerialKey=123-456-789012-ABCD |
To activate the SQL Automation Pack in v1.0.4.2 and earlier:
Run the /licenseSerialKey
command with your serial number. For example:
sqlCI /licenseSerialKey=123-456-789012-ABCD |
To activate the SQL Automation Pack using the TeamCity plugin:
The SQL Automation Pack is activated the next time the build runs.
Follow the instructions for activating Using sqlCI.exe for SQL Automation Pack in v1.1.1.2100 and later.
To activate the SQL Automation Pack In 1.1.0.1765 and later:
In the SQL Automation Pack installation directory, open the SQLCI-steps folder. By default, this is:
C:\Program Files (x86)\Red Gate\SQL Automation Pack 1\tfs-scripts\SQLCI-steps
The SQL Automation Pack is activated the next time the build runs.
To activate the SQL Automation Pack v1.1.0.7 and earlier:
In the SQL Automation Pack installation directory, open the sqlCI folder. By default, this is:
C:\Program Files (x86)\Red Gate\SQL Automation Pack 1\sqlCI
The SQL Automation Pack is activated the next time the build runs.
NAnt build scripts are not supported in SQL Automation Pack 1.1.0.7 and later. |
To activate the SQL Automation Pack using the NAnt build script in SQL Automation Pack 10.4.2 and earlier:
The SQL Automation Pack is activated the next time the build runs.