Jenkins - TFS Job run Error || [tfsworkspace] TF30063: You are not authorized to access http://tfsxxxxprod:8080/tfs

Jenkins job run error:

Whenever user is trying to run job from Jenkins to get latest code from TFS server repo browser.

Logs:

initpath:

     [echo] initpath:initializing different paths
compile:
     [echo] compile start
     [echo] Getting latest build list:
[tfsworkspace] tf workspace -server:http://tfsxxxxprod:8080/tfs -delete antworkspacesey
[tfsworkspace] TF30063: You are not authorized to access http://tfsxxxxprod:8080/tfs.
[tfsworkspace] tf failed - continuing since failonerror=false
     [echo] copying mainstream source
     [echo] 
[tfsworkspace] tf workspace -server:http://tfsxxxxprod:8080/tfs -delete antworkspacesey
[tfsworkspace] TF30063: You are not authorized to access http://tfsxxxxprod:8080/tfs.
[tfsworkspace] tf failed - continuing since failonerror=false
[tfsworkspace] tf workspace -server:http://tfsxxxxprod:8080/tfs -new antworkspacesey
[tfsworkspace] TF30063: You are not authorized to access http://tfsxxxxprod:8080/tfs.

Solution:
  • Open Services.msc
  • Go to Jenkin service
  • Stop service and Right click , Properties
  • Go to LogOn Tab
  • Set "This Account" and select user name and password who have access to TFS server.
  • Click OK and Start the Jenkins service
  • Open Jenkins from browser and try to run job again.
  • Your error should get resolve now.

Thanks!
Happy Learning...

Comments

Popular posts from this blog

PUTTY - The server's host key is not cached in the registry cache

OIM-12c Installation - FMW - SOA - IDM

SAML & OAuth 2.0