I've tried to run TFS command line in the Jenkins. However, I got this message error: unable to determine the workspace. You may be able to correct this by running "tf workspaces /collection:TeamProjectCollectionUrl".
- I checked the workspace and it is correct. Ex.: tf workspaces
- I checked the map and it is correct. Ex: tf workfold.
I ran the get command, informing the login and password and it didn't work in the Jenkins.
I ran this command in the powershell (outside jenkins) and the cmd worked well, however, If I ran get command (call via bat and powershell) in the jenkins, It didn't work.
Why did tfs commands work well outside the Jenkins and the Jenkins didn't?
Could anyone help me?
Thank you!