Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I want to configure Test Docker Image Job

Nipun Kurothe 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 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