Bamboo MSBUILD : error MSB1008: Only one project can be specified
The first thing is check the version of your Bamboo, make sure it is the latest version. Starting with the Bamboo 5.5-OD-04, there is bug BAM-14659 about this issue:
MSBuild task keep failing with error "MSBUILD : error MSB1008: Only one project can be specified".
If you are already the latest version or update to latest version still have this error, please try to check the settings of Bamboo agent and server. See the workaround to the issue BAM-15879 for detail.
Remote agents.
If you're starting agent manually you simply provide
-Dbamboo.plugin.dotnet.msbuild.useResponseFile=true on the command line. If your agent is run as a service then make a change in the
$BAMBOO_AGENT_HOME/conf/wrapper.conf configuration file:
The Bamboo Agent home configuration file
wrapper.java.additional.1=-Dbamboo.home=/home/bamboo/bamboo-agent-home
wrapper.java.additional.2=-Dbamboo.agent.ignoreServerCertName=false
wrapper.java.additional.3=-Dbamboo.plugin.dotnet.msbuild.useResponseFile=true
Bamboo server
stop Bamboo add
-Dbamboo.plugin.dotnet.msbuild.useResponseFile=true to JVM_REQUIRED_ARGS in $BAMBOO_INSTALL/bin/setenv.sh start Bamboo