Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Image variables

Vlad Bykov
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!
January 8, 2019

I want to run the pipeline with such parameters

image: thecodingmachine/php:7.2-v2-apache
environment: PHP_EXTENSIONS=pgsql gettext imap sockets 

 Here is my:

image: thecodingmachine/php:7.2-v2-apache
environment:
PHP_EXTENSIONS='exif'

pipelines:
default:
- step:
name: tests
caches:
- composer
script:
- composer install
- ./vendor/bin/codecept run

Where to register env to make it work? thank

1 answer

0 votes
Steven Vaccarella
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2019

Hi Vlad,

Have you tried setting the environment variable as the first line in your script?

 script:
- export PHP_EXTENSIONS='exif'
- composer install
- ./vendor/bin/codecept run

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events