I want to configure Test Docker Image Job

Nipun Kurothe
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!
April 25, 2022

Hi All,

 

I am a bit new to bamboo, I am trying to setup Test Docker Image Job.

On development we the command npm run test which uses "@hapi/lab" to run the tests.

I want to be able to run these tests after Build Docker Image Job.

I tried to create tasks but none of them are working. 

Will be great if I can get some help here.

1 answer

0 votes
Will
Contributor
February 9, 2023

Hi, Nipun, 

Please have a try.

After build docker image job, you can add a Docker Task, select command `Run a Docker Container` and input your image built in the previous step into `Docker Image`.

Input `@hapi/lab` in `Command`

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events