1

In the company that I work, the frontend application is very complex, so one of our layers of testing includes building/serving the application and testing with integrations mocked (The application isn't deployed anywhere on this step).

Right now we are trying to migrate from Jenkins to Gitlab CI, but I have no clue how to do this. I have the build artifact (Some html/css/js) but I couln't find any information how to share the artifact with some Gitlab CI service.

Basically what I want do achieve is Build -> Serve the application that was built -> Run some tests on it

Is it possible to do this?

2
  • What do you mean by serving the application? How were you doing it with Jenkins? – Nikhil Gupta Oct 17 '19 at 14:27
  • @NikhilGupta in Jenkins we take the build artifact (html, css and js) and build a docker container with nginx serving the artifact – André Roggeri Campos Oct 17 '19 at 14:33
1

Gitlab CI/CD offers Docker Engine. If you can create a docker image, you can serve the application the same way as you were doing with Jenkins. You can find more details on how to integrate both here.

Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.