Building code from Jenkins using TFS -


i trying use jenkins build code resides in https://*.visualstudio.com/defaultcollection.

i have tried manually check code out using script in jenkins e.g.

tf workspace /delete jenkins /noprompt /collection:https://*******.visualstudio.com/defaultcollection /login:mylogin@myaccount.com,mypassword  tf workspace /new jenkins /noprompt /collection:https://*******.visualstudio.com/defaultcollection /permission:private /login:mylogin@myaccount.com,mypassword  tf workfold /workspace:jenkins /s:https://*******.visualstudio.com/defaultcollection /map "$/myproject" "%workspace%"  tf /force /recursive 

this runs fine command line fails in jenkins

tf30063: not authorized access 

jenkins running local system account. have tried plugin jenkins no joy either. failed on authentication.

even if have no intention of using it, i'd install , configure tfs build controller software. create authentication link between cloud instance , system profile. jenkins, running in user profile context, should able issue tf commands , create workspaces.

that said, i'd create build service account , not use system.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -