Everytime you install Laravel, Bootstrap’s. Our Build Configuration will be quite simple: Laravel 5 was released with a new feature called Elixir that is built on top of Gulp. Since I already have a Laravel 5 project created in the second article I’ll use that project. You will need to adjust the Build Configuration to match your needs, since a configuration is strongly affected by the project and the used technology and programming languages. The installation is completed but we still have to create a Build Configuration. Give it some time so both applications can connect and you should see it in the Connected tab Go back to TeamCity’s page in your browser and you should see you one agent in the Disconnected tab Start the Agent sudo /opt/TeamcityAgent/bin/agent.sh start Set execution permissions to the script that starts the Agent chmod +x /opt/TeamcityAgent/bin/agent.sh I’ll leave it as it is since I want to install TeamCity Agent on the same machine as TeamCity and I haven’t changed the default URL (which is Anyhow, take a look at the available configurations to know what is available. Make the necessary adjustments to your configuration file. I’ll move it to /opt/ cd ~/DownloadsĬreate a new configuration file based on the distributed one: cp /opt/TeamcityAgent/conf/ /opt/TeamcityAgent/conf/buildAgent.properties Start by going to TeamCity » Agents (0) and click on Zip file distribution to download the Agent.Įxtract the file and move the directory to the location where you want TeamCity Agent. In my case I’ll install the Agent using the same server I’ve used in the previous articles (Linux Mint) but, as I’ve said, you can install the agent in any machine. Or you can make sure that your application works in Internet Explorer even if you use Linux. This way you can make sure your web application works in Firefox with both operating systems. A common example is an Agent installed in a Linux machine and another in a Windows machine. You can install more than one Agent in the same machine but it can be useful to install the Agents in different machines. The Agent is responsible for the Build Configuration’s execution and you should install at least one Agent so you can work with TeamCity. Another step from the same configuration could be uglify Javascript files (or, following the same logic of the first step, parse CoffeeScript into Javascript). Think about merging all less files and compact all the files into a single minified. What is this? A Build Configuration is a list of steps that will be executed. But it doesn’t do much without an Agent or a Build Configuration. Following the previous article where you’ve installed TeamCity, you can now say that you have a Continuous Integration Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |