version: 1 accept_configuration: condition: and conditions: - condition: property property: host.compiler equals_value: Yocto - condition: property property: target.arch in_values: [TARGET1, TARGET2, TARGET3, TARGET4] environment: &environment type: Group instructions: - type: EnvironmentVariable variableName: MACHINE variableValue: jetson-tx2 enable_if: condition: property property: target.arch equals_value: TARGET1 - type: EnvironmentVariable variableName: MACHINE variableValue: apalis-imx6 enable_if: condition: property property: target.arch equals_value: TARGET2 - type: EnvironmentVariable variableName: MACHINE variableValue: colibri-imx7 enable_if: condition: property property: target.arch equals_value: TARGET3 - type: EnvironmentVariable variableName: MACHINE variableValue: intel-corei7-64 enable_if: condition: property property: target.arch equals_value: TARGET4 build_instructions: - *environment - type: SetBuildDirectory directory: "{{.AgentWorkingDir}}/build" - type: MakeDirectory directory: "{{.BuildDir}}" - type: ChangeDirectory directory: "{{.BuildDir}}" - type: EnvironmentVariable variableName: DL_DIR variableValue: "/mnt/yocto-cache/downloads" - type: EnvironmentVariable variableName: SOURCE_DIR variableValue: "{{.SourceDir}}" - type: WriteFile fileContents: | #!/bin/bash -xe cat >> /home/qt/.ssh/config <