Hot answers tagged teamcity
5
If the teamcity start script is a LSB-compliant init script (that is, if it provides start, stop and other arguments), you can just copy the script to /etc/init.d folder and run (as root):
# chkconfig --add <script_name>
# chkconfig <script_name> on
A symbolic link for the file should be OK too. So try (as root):
# ln -s ...
3
With the Amazon EC2 Basic Linux instances the ports 1-1023 are privileged, so when I tried to start teamcity as non-root user it was crashing because I was trying to access a privileged port.
I found this out through this stackoverflow question
It outlines 2 solutions:
start teamcity as root user
run teamcity as service with jsvc
3
Using the roles and permissions in Teamcity, you can have a project that only your deployment team has access to. It can have an artifact dependency on the main build, and you can even have it used "last pinned build" so developers can control what's even available.
I would install a build agent that is able to deploy to the target system(s), and then use ...
2
#! /bin/bash
#First argument ($1) would be the name of the file to be unzipped
#Second argument ($2) would be where to unzip the files to (absolute path)
unzip $1 -d $2
find $2 -name *.sh -print0 | xargs -0 chmod +x
This would work as long as the files you were wanting to make as executable were always going to be *.sh. Otherwise could always add a third ...
2
The easiest option is just to use the copy feature from within the tool (go to Administration and there should be Copy links both at the project and the build level). It will make a reasonable copy of the the configuration and allow you to alter for the specific new project.
The configurations are contained in ${HOME}/.BuildServer/config/${config_name}. ...
2
Under the build configuration setting on "Configuration Step 3" -> "Build Steps" add as first step a "Command Line" step which calls bundle install.
Don't forget to set the Ruby environment (as above under "Configuration Step 3" -> "Build Steps") by adding a "Build feature" and selecting "Ruby environment configurator". You can then select your rvm ruby ...
1
If you type "sorry, you must have a tty to run sudo" in a search engine, you obtain the following instructions on first link (http://www.zimbra.com/forums/installation/10553-solved-sudo-sorry-you-must-have-tty-run-sudo.html):
"
vi /etc/sudoers
comment out: #Default requiretty
"
BR
Eric
1
You don't need to setup a domain/DNS. If you assign Elastic IPs, you can use the Elastic IP Public DNS name, and it will resolve to the external IP if you query it externally, and resolve to the internal address if you query it from other EC2 instances.
So if I've got an Elastic IP of 54.254.54.54, the public hostname is ...
1
I have just gone through the same process as yourself on Windows Server 2008 R2. I wanted a wildcard certificate to work with Gitblit and other services that I wanted to run.
First of all I created the CSR in IIS and installed the certificate into there. I had done this before and was wanting to use the certificate in IIS anyway so this made sense to use ...
1
As far as I understood your point:
Hard disk usage depends on how big the codebase and how often commits are made and how often the builds are made.
Backups should include configuration and build scripts only.
Probably migration could be the easiest when you migrate from *nix version of CI-server to win-version (e.g., when you migrate from linux version ...
1
You could also use a connector to do so.
There is the old ISAPI connector (redirector) available from Apache directly or there is also a new one available from RiaForge (this one seems easier to get running).
http://tomcatiis.riaforge.org/
1
Having just spend around 4 hours trying to configure SSL for TeamCity (and using the answers in this thread), I managed to get this working using the server farm option.
I configured a TeamCity server farm which included my TeamCity server on 127.0.0.1 using port 8080, and allowed the Application Routing Rules to create a corresponding server farm routing ...
1
TeamCity in tar.gz contains Tomcat. YouTrack in .jar edition includes Jetty.
We have a short guide on how to setup TeamCity and YouTrack to run on the same server.
1
How can you identify why a Windows service (TeamCity build agent) is hanging when running a command?
As a first step I would recommend saving your long command line into a batch file (e.g. LaunchWI.cmd) and calling this batch file from the TeamCity build agent.
When you launch an app from a windows service the current working directory will be set to c:\windows\system32 - this can potentially cause some issues.
Try adding
C:
CD "\Program ...
1
If your TeamCity server is Internet facing all you need to do is make sure that you have a DNS entry for teamcity.mydomain.com that resolves to the public IP address of your server.
If your TeamCity server is behind a gateway device (firewall, router, etc) you'll still need to create the aforementioned DNS entry, but you'll want it to resolve to the public ...
1
I don't know whether Cloud solution would be acceptable for you but there is a company which is offering Jmeter as a Service - ie basically SaaS solution. They claim that they have rich scripting capabilities so it might be one of the options for you.
http://aws.amazon.com/customerapps/3299
http://blazemeter.com/
I never used their services myself though ...
1
The manifest provider is designed to sync multiple providers at one time:
msdeploy verb:sync -source:manifest=manifest.xml -dest:auto,computerName=...
Then manifest.xml is:
<multipleAcls>
<setAcl path="path1" setAclAccess="Write" />
<setAcl path="path2" setAclAccess="Read" />
<setAcl path="path3" ...
Only top voted, non community-wiki answers of a minimum length are eligible
