New Reply

Here are the steps I took.

  1. Created an Alternate Credential in my profile of Team Services
  2. Created a Generic Git Credential in BuildMaster
  3. Git Credential points to https://[ourcompany][Repository]
  4. Created a Plan using the following Git-GetSource (Credentials: TFSGIT, Branch: master);

Received the following error:

INFO : 2017-10-10 16:11:20Z - Getting source from 'https://[hidden][hidden]' on 'master' branch...
ERROR: 2017-10-10 16:11:20Z - This operation requires a valid server context. Use a "for server ..." block to set the server context.
DEBUG: 2017-10-10 16:11:20Z - Cleaning up...
DEBUG: 2017-10-10 16:11:20Z - Cleanup complete.

Product: BuildMaster
Version: 5.6.11

Wrap the operation in a for server block:

for server localhost 
    Git-GetSource (Credentials: TFSGIT, Branch: master);

That was too easy and it was right there in the error message. I need a facepalm emoji right now. Thanks for the quick response!

Answer Details


Post Reply