0

I have an AWS CodeBuild buildspec.xml that has some functions defined. I would like to prevent each of my commands from being echoed.

I did not find a property in the buildspec documentation to suppress this output.

I tried adding a set +x, but that did not help.

version: 0.2

phases:

  build:
    on-failure: ABORT
    commands:
    - set +x
    - |
      my_function() {
        ...
      }
      build_commands_go_here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.