COG - Jenkins

launch

Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software.

Use Jenkins to automate your development workflow so you can focus on work that matters most. Jenkins is commonly used for:

  • Building projects
  • Running tests to detect bugs and other issues as soon as they are introduced
  • Static code analysis
  • Deployment

Support

For bug reports, feature requests, or general questions, send an e-mail to support@cloudopsgroup.com.

Directions

  1. Launch AMI from the Amazon Marketplace
  2. SSH into your instance as the ec2-user user and run "sudo cat /var/lib/jenkins/home/secrets/initialAdminPassword".
  3. Open a Web browser and type the public DNS name provided by Amazon into the URL bar.
  4. Login with the default user "admin" and the password from above.
  5. See: Using Jenkins to get started.

Configure local Email sending

COG images come with SSMTP (a send-only sendmail emulator) installed.

To configure SSMTP to send via Gmail, you will have to edit its configuration file and enter your account settings:

#### /etc/ssmtp/ssmtp.conf

## The user that gets all the mails (UID < 1000, usually the admin)
root=username@gmail.com

## The mail server (where the mail is sent to), both port 465 or 587 should be acceptable
## See also http://mail.google.com/support/bin/answer.py?answer=78799
mailhub=smtp.gmail.com:587

## The address where the mail appears to come from for user authentication.
rewriteDomain=gmail.com

## The full hostname
hostname=gmail.com

## Use SSL/TLS before starting negotiation
UseTLS=Yes
UseSTARTTLS=Yes

## Username/Password
AuthUser=username@gmail.com
AuthPass=password

## Email 'From header's can override the default domain?
FromLineOverride=yes