Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,435
Community Members
 
Community Events
168
Community Groups

Bamboo: How to disable meta logs from bamboo with TLDR with environment info.

Say, when bamboo runs script tasks, it floods logs with absolutely unuseful for me strings like below.
I don't want smth like this from bamboo, I only want beautiful and useful outputs from my scripts. :)
So, how can I disable this ?


```
command 28-Sep-2018 11:01:12 Beginning to execute external process for build 'prjname - prjname 3.7-TEST - Default Job #138 (PR-R37-JOB1-138)'\n ... running command line: \n/opt/bamboo/temp/PR-R37-JOB1-138-ScriptBuildTask-3011352127522294759.sh\n ... in: /opt/bamboo/xml-data/build-dir/PR-R37-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=3.7-test\nbamboo_planRepository_2_branch=3.7\nbamboo_repository_17661962_git_branch=3.7\nbamboo_planRepository_1_branchDisplayName=3.7-test\nbamboo_repository_revision_number=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_resultsUrl=http://10.8.1.104:8085/browse/PR-R37-JOB1-138\nbamboo_planRepository_1_name=prjname 3.7-test\nbamboo_build_working_directory=/opt/bamboo/xml-data/build-dir/PR-R37-JOB1\nbamboo_buildKey=PR-R37-JOB1\nbamboo_repository_17661963_git_repositoryUrl=git@github.com:prjname/prjname.git\nbamboo_shortPlanName=prjname 3.7-TEST\nbamboo_planRepository_2_username=\nbamboo_planRepository_name=prjname 3.7-test\nbamboo_buildNumber=138\nbamboo_repository_17661963_branch_name=3.7-test\nbamboo_planRepository_2_branchDisplayName=3.7\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=http://10.8.1.104:8085/browse/PR-R37-JOB1-138\nbamboo_repository_17661962_revision_number=f87f3b2ca55e1558943139de348e514c095a7c11\nbamboo_repository_17661963_previous_revision_number=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_repository_17661963_git_username=\nbamboo_planRepository_repositoryUrl=git@github.com:prjname/prjname.git\nbamboo_capability_system_jdk_JDK_1_8_0_121__JRE_=/usr/lib/jvm/java-8-openjdk-amd64/jre\nbamboo_repository_17661962_previous_revision_number=f87f3b2ca55e15589431... - prjname 3.7-TEST\nbamboo_shortPlanKey=R37\nbamboo_shortJobKey=JOB1\nbamboo_planRepository_2_name=Documentation 3.7\nbamboo_planRepository_revision=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_repository_previous_revision_number=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_buildTimeStamp=2018-09-28T11:01:12.359+03:00\nbamboo_planRepository_previousRevision=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_repository_17661963_name=prjname 3.7-test\nbamboo_buildResultKey=PR-R37-JOB1-138\nbamboo_repository_git_branch=3.7-test\nbamboo_repository_branch_name=3.7-test\nbamboo_buildPlanName=prjname - prjname 3.7-TEST - Default Job\nbamboo_repository_17661962_git_username=\nbamboo_planRepository_1_revision=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_repository_name=Documentation 3.7\nbamboo_planRepository_2_previousRevision=f87f3b2ca55e1558943139de348e514c095a7c11\nbamboo_dependenciesDisabled=false\nbamboo_buildFailed=false\nbamboo_repository_17661963_revision_number=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_planRepository_branch=3.7-test\nbamboo_agentWorkingDirectory=/opt/bamboo/xml-data/build-dir\nbamboo_planRepository_2_revision=f87f3b2ca55e1558943139de348e514c095a7c11\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=4f78b8f0acbea27dbbc803524f1258f19413dff8\nbamboo_repository_git_username=\nbamboo_repository_17661962_name=Documentation 3.7\nbamboo_planRepository_branchDisplayName=3.7-test\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=3.7-test\nbamboo_repository_17661962_branch_name=3.7\nbamboo_planRepository_2_type=gitv2\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-8-openjdk-amd64/jre\nbamboo_plan_storageTag=plan-17596419\nbamboo_planRepository_2_repositoryUrl=git@github.com:prjname/prjname-doc.git\nbamboo_planRepository_type=gitv2\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=username\nbamboo_repository_git_repositoryUrl=git@github.com:prjname/prjname.git\nbamboo_planRepository_2_branchName=3.7\nbamboo_repository_17661963_git_branch=3.7-test\nbamboo_working_directory=/opt/bamboo/xml-data/build-dir/PR-R37-JOB1\nbamboo_planKey=PR-R37\nbamboo_planRepository_1_repositoryUrl=git@github.com:prjname/prjname.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-8-openjdk-amd64/jre\nbamboo_repository_17661962_git_repositoryUrl=git@github.com:prjname/prjname-doc.git\nbamboo_planRepository_1_branchName=3.7-test\n
```

1 answer

1 vote
Foong Atlassian Team Oct 02, 2018

There isn't any way to disable this part. It is normally used to troubleshoot fail build.

Thank you!

Interesting, we have hundreds builds/deployments a day. And of course almost every day some of them failed. But for last three years there was not a single case when we learn this stuff to find errors. So for us it is completely useless spam which takes 80% or the whole output and vice-versa makes it harder to debug builds.

But of course there are many cases in the world, I see.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events