Jenkins -TFS Get ChangeSet Number
The new request for CI Deploy.Which needs to get changeset number for after process.At first, I thought the only way is executing window batch command.
tf changeset /latest /noprompt
After referencing the help of TFS plugin that I just know it will get the variable of the TFS after a checkout.As below photo.
1.Window Batch Command Showing ChangeSet Number
%TFS_CHANGESET%
2.Sending Http Request
$TFS_CHANGESET
3.Build Result
Reference