COG - Jenkins
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
For bug reports, feature requests, or general questions, please contact us.
- Launch AMI from the Amazon Marketplace
- A random password will be generated and placed in /var/lib/jenkins/home/secrets/initialAdminPassword.
- SSH into your instance as the ec2-user user and run "
sudo cat /var/lib/jenkins/home/secrets/initialAdminPassword".
- Open a Web browser and type the public DNS name provided by Amazon into the URL bar.
- Login with the default user "admin" and the password from above.
- 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) email@example.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 AuthUserfirstname.lastname@example.org AuthPass=password ## Email 'From header's can override the default domain? FromLineOverride=yes