Bamboo XCode Plugin 2.1 TestFlight

Ethan Setnik September 5, 2013
06-Sep-2013 17:55:24 Build Deployment of 'release-1' on 'TestFlight' started building on agent Default Agent
06-Sep-2013 17:55:24 Build working directory is /usr/local/bamboo-home/xml-data/build-dir/4554753-4751361
06-Sep-2013 17:55:24 Executing build Deployment of 'release-1' on 'TestFlight'
06-Sep-2013 17:55:24 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
06-Sep-2013 17:55:24 Cleaning working directory '/usr/local/bamboo-home/xml-data/build-dir/4554753-4751361'
06-Sep-2013 17:55:24 Finished task 'Clean working directory task'
06-Sep-2013 17:55:24 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
06-Sep-2013 17:55:24 Preparing to download plan result TMC-TMCIP-7 artifact: Shared artifact: [TMC IPA], pattern: [TMC QA1.ipa] anchored at: [Build/Products/QA1-iphoneos/]
06-Sep-2013 17:55:24 Artifact [TMC IPA] downloaded successfully in 0s to working directory
06-Sep-2013 17:55:24 Finished task 'Download release contents'
06-Sep-2013 17:55:24 Failed to execute the build '4554753-4751361-4456451': Error creating bean with name 'com.atlassian.bamboo.plugins.xcode.testflight.TestFlightTask': Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.bamboo.logger.ErrorUpdateHandler]: : No unique bean of type [com.atlassian.bamboo.logger.ErrorUpdateHandler] is defined: expected single matching bean but found 2: [errorUpdateHandler, errorHandler]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.bamboo.logger.ErrorUpdateHandler] is defined: expected single matching bean but found 2: [errorUpdateHandler, errorHandler]
06-Sep-2013 17:55:24 Finalising the build...
06-Sep-2013 17:55:24 Stopping timer.
06-Sep-2013 17:55:24 Build 4554753-4751361-4456451 completed.
06-Sep-2013 17:55:24 Finished processing deployment result Deployment of 'release-1' on 'TestFlight'

2 answers

0 votes
Ethan Setnik September 26, 2013

I ended up utilizing a custom curl script for the time being. It's not sexy like an integrated plugin, but it gets the job done.

See: https://testflightapp.com/api/doc/

#!/bin/sh

curl https://testflightapp.com/api/builds.json \
    -F file=@"BUILD_NAME.ipa" \
    -F api_token='TF_API_TOKEN' \
    -F team_token='TF_TEAM_TOKEN' \
    -F notes='This build was uploaded by Bamboo via the upload API' \
    -F notify=True \
    -F distribution_lists='LIST_OF_TEAMS_TO_PROVISION'

0 votes
Jordi Vilalta September 26, 2013

I've got the same error here. Any ideas on how to solve it?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events