![]() Here we need to change the Goals option to: “clean package“. On the new page we will see the exact configuration of the first step. We do this by selecting Edit in the “Maven” step. ![]() However, our goal is to change this command. This step contains the command that builds the project: mvn clean test. Once approved, we will see our build process with the first step called “Maven”. We can validate the first step by clicking the Maven checkbox and then on Use selected. Dodawanie repozytorium GITĪfter importing the repository, the TeamCity server will offer the first step of our build process. On the next page, confirm the default options and proceed ( Proceed). On the new page, enter in the Repository URL and confirm the selection by clicking Proceed. We now go to the projects page and create a new project: Now we are ready to launch our first project. Here we click Authorize and confirm the selection on the next page. On the above page we should see one agent that is connected but requires authorization. To authorize the agent you need to go to the address: This agent by default cannot connect to the server without additional authorization. While starting our system with docker-compose we started the server and one agent. In our case, we are using a Linux agent that will run within another Docker container. TeamCity allows you to run agents on both Windows and Linux systems. These are separate applications that are responsible for actually running the build processes. To work properly, the server needs build agents. Once the account is created, the following screen should appear: Uruchomiony serwer TeamCityĬongratulations, the TeamCity server has been started correctly! Agent Authorization We enter the required details (username and password) and click on Create Account. We have one more step left before launch: creating an administrator account. On the next screen, approve the license agreement and proceed ( Continue). Here we select the default, internal HSQLDB database and proceed ( Proceed). ![]() Here we select Proceed and go to the next screen. Warning: it may take a few minutes to launch the portal for the first time. Once started, we go to our TeamCity server available at: After going to this address you should see the following screen: Pierwszy ekran TeamCity Launching containers is accomplished with the command: > docker-compose up -d In our configuration, we have directories shared with the system (subdirectories in the teamcity directory).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |