4. 4. give user name password, select use ssh, smtp port => 465 , chracterset =>
UTF8
5. select Test configuration by sending test email to check configuration is
succesful or not .
6. If fails follow it from above link.
7. Finally under your project settings , In Postbuild Actions in Email notification
set up your emails.
Configure Global Security
1. Enable security.
2. Security Realm > Jenkins’ own user database > Allow users to sign up
3. Authorization > Anyone can do anything
4. after you sign up > change authorization to Loggedin users can do anything or
Matrixbased security or Projectbased Matrix Authorization Strategy as your wish
. in Matrixbased security you can set up configuration for a particular user/ group
which is created in jenkins ui .
N.B. while configuring global security you may have security problem like locking yourself
(Hope you have not :) ).
but If you , then Disable Security
or for your convenience
One may accidentally set up security realm / authorization in such a way that you may no longer
able to reconfigure Jenkins.
When this happens, you can fix this by the following steps:
1. Stop Jenkins (the easiest way to do this is to kill the servlet container.)
2. Go to $JENKINS_HOME in the file system and find config.xml file.
3. Open this file in the editor.
4. Look for the <useSecurity>true</useSecurity> element in this file.
5. Replace true with false
6. Remove the elements authorizationStrategy and securityRealm
7. Start Jenkins
When Jenkins comes back, it's in the unsecured mode where everyone gets full access to the
system.
If this is still not working, trying renaming or deleting config.xml.
Configure your project:
Next, you need to configure your Rails project. To complete this follow below steps: