Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why does bamboo ignore parameters?

Systems Engineering
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2015

I'm kicking off an ec2 instance as part of a bamboo plan (from another ec2 instance).  I have the following log output (Returns put in place for clarity)

... running command line: \n/usr/bin/ec2-run-instances ami-0fa8923f --user-data="ZCTEST" -t c1.medium -s subnet-908d9ef8 -k elasticbamboo -g sg-d0908bb5 --associate-public-ip-address true > run.txt\n 
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/DRCS-ZON-JOB1\n 
... using extra environment variables: \nbamboo_planRepository_1_branch=develop\nbamboo_planRepository_2_branch=bitnami_dev\nbamboo_capability_system_builder_ant_Ant_1_9=/opt/ant-1.9\nbamboo_capability_system_builder_ant_Ant_1_8=/opt/ant-1.8\nbamboo_repository_revision_number=576611a76cea75775913e0cf162e303b7d208340\nbamboo_repository_1900546_branch_name=develop\nbamboo_buildKey=DRCS-ZON-JOB1\nbamboo_capability_system_builder_grailsBuilder_Grails_2_4=/opt/grails-2.4\nbamboo_capability_system_builder_command_EC2_Show_Instances=/usr/bin/ec2-describe-instances\nbamboo_capability_system_builder_phpunit_PHPUnit_4_4=/opt/phpunit-4.4/phpunit\nAWS_SECRET_KEY=Jdq+aOqid3vHzFXeSLU3/mwIWTolZUTDrx5T44Mg\nbamboo_capability_system_builder_grailsBuilder_Grails_2_2=/opt/grails-2.2\nbamboo_capability_system_builder_grailsBuilder_Grails_2_3=/opt/grails-2.3\nbamboo_repository_1900549_branch_name=bitnami_dev\nbamboo_capability_system_builder_grailsBuilder_Grails_2_0=/opt/grails-2.0\nbamboo_shortJobName=Default Job\nbamboo_capability_system_builder_grailsBuilder_Grails_2_1=/opt/grails-2.1\nbamboo_buildResultsUrl=https://trackthesun.atlassian.net/builds/browse/DRCS-ZON-JOB1-12\nbamboo_capability_system_builder_command_EC2_Terminate_Instances=/usr/bin/ec2-terminate-instances\nbamboo_capability_system_builder_mvn3_Maven_3_2=/opt/maven-3.2\nbamboo_planRepository_repositoryUrl=https://bitbucket.org/trackthesun/qbxplatform\nbamboo_capability_system_builder_mvn3_Maven_3_1=/opt/maven-3.1\nbamboo_repository_1900549_git_username=qbotixBamboo\nbamboo_agentId=2162696\nbamboo_capability_system_builder_mvn3_Maven_3_0=/opt/maven-3.0\nbamboo_planRepository_revision=576611a76cea75775913e0cf162e303b7d208340\nbamboo_planRepository_previousRevision=576611a76cea75775913e0cf162e303b7d208340\nbamboo_repository_1900546_git_branch=develop\nbamboo_repository_1900546_git_repositoryUrl=https://bitbucket.org/trackthesun/qbxplatform\nbamboo_repository_branch_name=develop\nbamboo_capability_system_builder_command_Ansible_Deployment=/usr/bin/ansible-playbook\nbamboo_repository_1900546_name=QBX Platform\nbamboo_planRepository_branch=develop\nbamboo_repository_1900546_git_username=qbotixBamboo\nbamboo_planRepository_1_type=bb\nbamboo_planRepository_branchName=develop\nbamboo_capability_system_builder_phpunit_PHPUnit_3_7=/opt/phpunit-3.7/phpunit\nbamboo_capability_system_builder_node_Node_js_0_10=/opt/node-0.10/bin/node\nbamboo_planRepository_type=bb\nbamboo_planRepository_1_username=qbotixBamboo\nbamboo_ManualBuildTriggerReason_userName=cliff.holden\nbamboo_planRepository_2_branchName=bitnami_dev\nbamboo_capability_system_builder_ant_Ant=/opt/ant-1.9\nbamboo_repository_1900549_git_branch=bitnami_dev\nbamboo_capability_system_builder_mvn3_Maven_3=/opt/maven-3.2\nbamboo_planKey=DRCS-ZON\nbamboo_planRepository_username=qbotixBamboo\nbamboo_planRepository_1_branchName=develop\nbamboo_capability_system_builder_mvn2_Maven_2_1=/opt/maven-2.1\nbamboo_capability_system_builder_mvn2_Maven_2_2=/opt/maven-2.2\nbamboo_capability_system_builder_command_XC16=xc16-gcc\nbamboo_capability_system_builder_mvn2_Maven_2_0=/opt/maven-2.0\nbamboo_capability_system_builder_command_Echo=echo\nbamboo_resultsUrl=https://trackthesun.atlassian.net/builds/browse/DRCS-ZON-JOB1-12\nbamboo_capability_system_agent_environment_ebs_optimised=false\nbamboo_planRepository_1_name=QBX Platform\nbamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/DRCS-ZON-JOB1\nbamboo_shortPlanName=ZoneController\nbamboo_planRepository_2_username=qbotixBamboo\nbamboo_repository_1900549_name=Deployment\nbamboo_planRepository_name=QBX Platform\nbamboo_buildNumber=12\nbamboo_repository_1900546_previous_revision_number=576611a76cea75775913e0cf162e303b7d208340\nbamboo_capability_system_builder_command_EC2_Run_Instance=/usr/bin/ec2-run-instances\nbamboo_planName=Distributed Robot Control System - ZoneController\nbamboo_shortPlanKey=ZON\nEC2_URL=ec2.us-west-2.amazonaws.com\nbamboo_shortJobKey=JOB1\nbamboo_planRepository_2_name=Deployment\nbamboo_buildTimeStamp=2015-06-18T16:11:00.443-07:00\nbamboo_repository_previous_revision_number=576611a76cea75775913e0cf162e303b7d208340\nbamboo_capability_system_builder_mvn2_Maven_2=/opt/maven-2.2\nbamboo_buildResultKey=DRCS-ZON-JOB1-12\nbamboo_repository_git_branch=develop\nbamboo_buildPlanName=Distributed Robot Control System - ZoneController - Default Job\nAWS_ACCESS_KEY=AKIAI7IU7LKRXJSSXDBA\nbamboo_planRepository_1_revision=576611a76cea75775913e0cf162e303b7d208340\nbamboo_capability_system_hg_executable=/usr/bin/hg\nbamboo_capability_system_builder_command_Make=make\nbamboo_repository_1900546_revision_number=576611a76cea75775913e0cf162e303b7d208340\nbamboo_repository_name=Deployment\nbamboo_repository_1900549_git_repositoryUrl=https://bitbucket.org/trackthesun/deployment\nbamboo_repository_1900549_revision_number=f8e5d0d24d57951ba8cad9f943c8ebac69a5bbdd\nbamboo_planRepository_2_previousRevision=f8e5d0d24d57951ba8cad9f943c8ebac69a5bbdd\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir\nbamboo_planRepository_2_revision=f8e5d0d24d57951ba8cad9f943c8ebac69a5bbdd\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=576611a76cea75775913e0cf162e303b7d208340\nbamboo_repository_git_username=qbotixBamboo\nbamboo_capability_system_builder_grailsBuilder_Grails_1_3=/opt/grails-1.3\nbamboo_planRepository_2_type=bb\nbamboo_planRepository_2_repositoryUrl=https://bitbucket.org/trackthesun/deployment\nbamboo_repository_git_repositoryUrl=https://bitbucket.org/trackthesun/qbxplatform\nbamboo_repository_1900549_previous_revision_number=f8e5d0d24d57951ba8cad9f943c8ebac69a5bbdd\nbamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/DRCS-ZON-JOB1\nbamboo_capability_system_jdk_JDK_1_5=/opt/jdk-5\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_command_2=/usr/bin/ec2-describe-instances\nbamboo_planRepository_1_repositoryUrl=https://bitbucket.org/trackthesun/qbxplatform\nbamboo_capability_system_jdk_JDK_1_8=/opt/jdk-8\nbamboo_capability_system_jdk_JDK_1_6=/opt/jdk-6\nbamboo_capability_system_jdk_JDK_1_7=/opt/jdk-7\n

error    18-Jun-2015 16:14:49    WARNING:  Ignoring extra parameter(s): [ >, run.txt ]

wWhy is the redirect to a file being ignored?

 

1 answer

0 votes
StannousBaratheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2015

Bamboo isn't ignoring the parameters. This is the output from the ec2-run-instances script. I wish I could help you further but I don't know the conditions that cause it. Have you tried the AWS forums?

https://forums.aws.amazon.com/thread.jspa?threadID=23259

https://forums.aws.amazon.com/thread.jspa?threadID=28745

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events