We recommend following the newer techniques available with 10.4 (see ACLI-2634) and above. targetServer should reference a Bitbucket configuration in acli.properties and there needs to be an Bitbucket application link defined to the server referenced.