<p>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 <a href="https://docs.gitlab.com/ee/ci/docker/README.html" rel="nofollow noreferrer">here</a>. </p>

<p>Hope it helps.</p>

CC BY-SA 4.0
2019-10-17T14:40:37.910Z
2019-10-17T14:40:37.910Z
Nikhil Gupta
<p>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).</p>

<p>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 <code>service</code>.</p>

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

<p>Is it possible to do this?</p>

CC BY-SA 4.0
2019-10-17T14:27:15.367Z
What do you mean by serving the application? How were you doing it with Jenkins?
Nikhil Gupta
CC BY-SA 4.0
2019-10-17T14:33:50.697Z
@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
<continuous-integration><gitlab><gitlab-ci-runner>
Serve an application built by the pipeline
André Roggeri Campos
# Serve an application built by the pipeline

(Asked by: username_0 on 2019-10-17)

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?

**Tags:** continuous-integration, gitlab, gitlab-ci-runner

> **Comments:**
> **username_1**: What do you mean by serving the application? How were you doing it with Jenkins?  
> **username_0**: @NikhilGupta in Jenkins we take the build artifact (html, css and js) and build a docker container with nginx serving the artifact  

---

## 1 answers

### Answer by username_1 on 2019-10-17. Score: 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](https://docs.gitlab.com/ee/ci/docker/README.html).

Hope it helps.


---

