AWS CodeBuild Buildspec: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:


===variables===
===variables===
This section sets environment variables that will propagate to the container that performs the build:
<syntaxhighlight lang='yaml'>
env:
  variables:
    MY_VARIABLE: 'some value'
</syntaxhighlight>


==phases==
==phases==

Revision as of 18:12, 14 March 2019

External

Build Specification Reference for CodeBuild

Internal

Overview

Structure

version

env

variables

This section sets environment variables that will propagate to the container that performs the build:

env:
  variables:
    MY_VARIABLE: 'some value'

phases

install

commands

build

commands

post_build

commands

artifacts

files