Hi there,
I'm sorry for finding your question so late but we didn't receive your email. Do you still need any assistance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos Could you provide more details?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i want integrate bamboo with the TFS. but i seem to be unable to.
it's the issue:
java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint https://tdbaplicativos.visualstudio.com/cloud-prix/_versionControl/Services/v1.0/Registration.asmx could not be contacted. HTTP status: 404
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos Server URL should be https://tdbaplicativos.visualstudio.com and not https://tdbaplicativos.visualstudio.com/cloud-prix/_versionControl. We'll update the docs to make it clear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos Good to hear that!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how can i perform authentication of TFS integration with bamboo?
i didn't find the place to set TFS autentication key.
--
it's the log of the new issue:
Simple 18-Jun-2019 13:20:04 Build MGV - Regressao - Default Job #7 (MGV-REG-JOB1-7) started building on agent Default Agent simple 18-Jun-2019 13:20:04 simple 18-Jun-2019 13:20:04 Build working directory is C:\Users\fsantos\bamboo-home\xml-data\build-dir\MGV-REG-JOB1 simple 18-Jun-2019 13:20:04 Cleaning directory C:\Users\fsantos\bamboo-home\xml-data\build-dir\MGV-REG-JOB1 simple 18-Jun-2019 13:20:04 Executing build MGV - Regressao - Default Job #7 (MGV-REG-JOB1-7) simple 18-Jun-2019 13:20:04 Starting task 'Atualiza os testes da automa��o' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 18-Jun-2019 13:20:04 Checking out into C:\Users\fsantos\bamboo-home\xml-data\build-dir\MGV-REG-JOB1 simple 18-Jun-2019 13:20:04 Updating source code to revision: null simple 18-Jun-2019 13:20:05 Updating source code to revision: null simple 18-Jun-2019 13:20:06 Updating source code to revision: null error 18-Jun-2019 13:20:06 Error occurred while running Task 'Atualiza os testes da automa��o(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 18-Jun-2019 13:20:06 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TFSFederatedAuthException: This server requires federated authentication but no mechanism was available to handle it. error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:123) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:91) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:204) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:176) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) error 18-Jun-2019 13:20:06 at java.lang.Thread.run(Thread.java:748) error 18-Jun-2019 13:20:06 Caused by: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TFSFederatedAuthException: This server requires federated authentication but no mechanism was available to handle it. error 18-Jun-2019 13:20:06 at com.stellarity.bamboo.repository.TfsRepository.retrieveSourceCode(TfsRepository.java:501) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.vcs.configuration.legacy.LegacyWorkingCopyManager.retrieveSourceCode(LegacyWorkingCopyManager.java:116) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:206) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:126) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:123) error 18-Jun-2019 13:20:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112) error 18-Jun-2019 13:20:06 ... 20 more error 18-Jun-2019 13:20:06 Caused by: com.microsoft.tfs.core.exceptions.TFSFederatedAuthException: This server requires federated authentication but no mechanism was available to handle it. error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:83) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:48) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryWorkspaces(WebServiceLayer.java:2399) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getRepositoryWorkspaces(VersionControlClient.java:858) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getRepositoryWorkspaces(VersionControlClient.java:825) error 18-Jun-2019 13:20:06 at com.stellarity.bamboo.repository.TfsRepository.getWorkspace(TfsRepository.java:704) error 18-Jun-2019 13:20:06 at com.stellarity.bamboo.repository.TfsRepository.tryToRetrieveSourceCode(TfsRepository.java:893) error 18-Jun-2019 13:20:06 at com.stellarity.bamboo.repository.TfsRepository.retrieveSourceCode(TfsRepository.java:479) error 18-Jun-2019 13:20:06 ... 26 more error 18-Jun-2019 13:20:06 Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.FederatedAuthException: https://tdbaplicativos.visualstudio.com/VersionControl/v4.0/repository.asmx error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineHeadersForFederatedAuthURL(SOAPService.java:1158) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:721) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:473) error 18-Jun-2019 13:20:06 at ms.tfs.versioncontrol.clientservices._03._Repository4Soap12Service.queryWorkspaces(_Repository4Soap12Service.java:543) error 18-Jun-2019 13:20:06 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryWorkspaces(WebServiceLayer.java:2385) error 18-Jun-2019 13:20:06 ... 31 more error 18-Jun-2019 13:20:06 Failed to prepare the build 'MGV - Regressao - Default Job #7 (MGV-REG-JOB1-7)' simple 18-Jun-2019 13:20:06 Running on server: post build plugin 'NCover Results Collector' simple 18-Jun-2019 13:20:06 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 18-Jun-2019 13:20:06 Running on server: post build plugin 'Clover Delta Calculator' simple 18-Jun-2019 13:20:06 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 18-Jun-2019 13:20:06 All post build plugins have finished simple 18-Jun-2019 13:20:06 Generating build results summary... simple 18-Jun-2019 13:20:06 Saving build results to disk... simple 18-Jun-2019 13:20:06 Logging substituted variables... simple 18-Jun-2019 13:20:06 Indexing build results... simple 18-Jun-2019 13:20:06 Finished building MGV-REG-JOB1-7. simple 18-Jun-2019 13:49:02 Build MGV - Regressao - Default Job #7 (MGV-REG-JOB1-7) started building on agent Default Agent simple 18-Jun-2019 13:49:02 simple 18-Jun-2019 13:49:02 Build working directory is C:\Users\fsantos\bamboo-home\xml-data\build-dir\MGV-REG-JOB1 simple 18-Jun-2019 13:49:02 Executing build MGV - Regressao - Default Job #7 (MGV-REG-JOB1-7) simple 18-Jun-2019 13:49:02 Starting task 'Atualiza os testes da automa��o' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 18-Jun-2019 13:49:02 Checking out into C:\Users\fsantos\bamboo-home\xml-data\build-dir\MGV-REG-JOB1 simple 18-Jun-2019 13:49:02 Updating source code to revision: null simple 18-Jun-2019 13:49:03 Updating source code to revision: null simple 18-Jun-2019 13:49:03 Updating source code to revision: null error 18-Jun-2019 13:49:04 Error occurred while running Task 'Atualiza os testes da automa��o(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 18-Jun-2019 13:49:04 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TFSFederatedAuthException: This server requires federated authentication but no mechanism was available to handle it. error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:123) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:91) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:204) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:176) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) error 18-Jun-2019 13:49:04 at java.lang.Thread.run(Thread.java:748) error 18-Jun-2019 13:49:04 Caused by: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TFSFederatedAuthException: This server requires federated authentication but no mechanism was available to handle it. error 18-Jun-2019 13:49:04 at com.stellarity.bamboo.repository.TfsRepository.retrieveSourceCode(TfsRepository.java:501) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.vcs.configuration.legacy.LegacyWorkingCopyManager.retrieveSourceCode(LegacyWorkingCopyManager.java:116) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:206) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:126) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:123) error 18-Jun-2019 13:49:04 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112) error 18-Jun-2019 13:49:04 ... 20 more error 18-Jun-2019 13:49:04 Caused by: com.microsoft.tfs.core.exceptions.TFSFederatedAuthException: This server requires federated authentication but no mechanism was available to handle it. error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:83) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:48) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryWorkspaces(WebServiceLayer.java:2399) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getRepositoryWorkspaces(VersionControlClient.java:858) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getRepositoryWorkspaces(VersionControlClient.java:825) error 18-Jun-2019 13:49:04 at com.stellarity.bamboo.repository.TfsRepository.getWorkspace(TfsRepository.java:704) error 18-Jun-2019 13:49:04 at com.stellarity.bamboo.repository.TfsRepository.tryToRetrieveSourceCode(TfsRepository.java:893) error 18-Jun-2019 13:49:04 at com.stellarity.bamboo.repository.TfsRepository.retrieveSourceCode(TfsRepository.java:479) error 18-Jun-2019 13:49:04 ... 26 more error 18-Jun-2019 13:49:04 Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.FederatedAuthException: https://tdbaplicativos.visualstudio.com/VersionControl/v4.0/repository.asmx error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineHeadersForFederatedAuthURL(SOAPService.java:1158) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:721) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:473) error 18-Jun-2019 13:49:04 at ms.tfs.versioncontrol.clientservices._03._Repository4Soap12Service.queryWorkspaces(_Repository4Soap12Service.java:543) error 18-Jun-2019 13:49:04 at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryWorkspaces(WebServiceLayer.java:2385) error 18-Jun-2019 13:49:04 ... 31 more error 18-Jun-2019 13:49:04 Failed to prepare the build 'MGV - Regressao - Default Job #7 (MGV-REG-JOB1-7)' simple 18-Jun-2019 13:49:04 Running on server: post build plugin 'NCover Results Collector' simple 18-Jun-2019 13:49:04 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 18-Jun-2019 13:49:04 Running on server: post build plugin 'Clover Delta Calculator' simple 18-Jun-2019 13:49:04 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 18-Jun-2019 13:49:04 All post build plugins have finished simple 18-Jun-2019 13:49:04 Generating build results summary... simple 18-Jun-2019 13:49:04 Saving build results to disk... simple 18-Jun-2019 13:49:04 Logging substituted variables... simple 18-Jun-2019 13:49:04 Indexing build results... simple 18-Jun-2019 13:49:04 Finished building MGV-REG-JOB1-7.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos Visual Studio Online forbids authentication with your primary credentials. You need to create an Access Token: click on your profile icon (visualstudio.com), choose Security and then New Token, set Expiration Date and permission to Read Code). Use the generated token as a password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to integrate Bamboo with TFS only, haven't used Visual Studio so far. Is it necessary to use VS?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to create a new token and exclusively added permission to read code. where should I use the generated token? I've accessed the trusted keys menu of Bamboo Administration, but I'm not sure if that's where I should use the token, as you mentioned
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos You should use the generated token as a password instead your real password while configuring TFS repository in Bamboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos Oh, I see you're using GIT repository. visualstudio.com supports both GIT and TFS. If you use GIT then you need GIT repository in Bamboo and not TFS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i dont using GIT, only TFS. i added the token as password, but it's not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabricio Santos Ok, `master` path confused me. Anyways you source path looks incorrect. I marked with red where you can take the correct one:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.