Ensure you have created a Test Environment in your CloudTest instance.
Go to Jenkins > New Item. Name your item.
Select the Freestyle project radio button and then click OK.
Go down to the Build section and select Start Test Environment in the Add build step drop-down menu.
Select a Test Environment name (must match the test environment you created in your CloudTest instance).
You can customize how long SCommand waits for your Test Environment to hit a ready status. If your Test Environment exceeds the limit you enter (or the default 600 seconds), then your build will fail and your Test Environment will tear itself down.
Select Stop Test Environment in the Post-build Actions so if there is any issue with a build step or a failure those resources are tore down.