From the course: Git for Teams

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Building a CI pipeline

Building a CI pipeline - Git Tutorial

From the course: Git for Teams

Start my 1-month free trial

Building a CI pipeline

- [Instructor] This lesson will demonstrate how to set up and execute our first pipeline using GitLab Runner. To support our demonstration, we'll need a simple project that we can build using GitLab Runner in GitLab CI. I've created a simple Java application that we'll be using for that purpose. You can find the project within the working files for the course. Let's first set up that project within GitLab. So as an administrator, I'm going to create a new project. We're going to name this new project sample-ci. You can keep it as a private repository, and just go ahead and click on the Create Project button. Now here's the neat thing about GitLab. It always tells you what the next step is. So if we scroll down some, you'll see that it tells us how to set up our repository if we're building a new repository if we already have files. In our case, we already have a project, so what we want to do is just copy the line to add a remote. We can easily init the project and do the commit. It's…

Contents