configure
- Jenkins general configuration
Jenkins location
URL: http://localhost:8080 (default)System Admin E-mail Address: [email protected]
Global properties
- Some envs are automatically available in the build phase. E.g.,
- $BUILD_NUMBER
- $BUILD_ID
- $BUILD_URL
- $JOB_NAME
- You can configure a list of custom
environment variablestoo
SSH Remote Hosts
- Configure SSH connections
Hostname: remote-hostPort: 22Credentials: created at- Test the connection
E-mail Notification
-
AWS SES -
SMTP Server: email-smtp.sa-east-1.amazonaws.com
- Use SMTP authentication
- SMTP Username: user created in AWS SES
- SMTP Password: pass created in AWS SES
- Use SSL: true
- SMTP Port: 465
- Reply-To Address: [email protected]
-
Set system admin email address at Jenkins Location
-
Gmail -
SMTP server: smtp.gmail.com
- Use SMTP authentication: your email & password
- In gmail settings allow Less secure apps
-
The job must be configured with a publisher
E-mail notification->Post-build Actionunder- Send email for every unstable build
- Send separate emails to individuals who broke the build
Github
- Add git server to enable
webhookjob triggering - Adds a URL where jenkins listens for code changes in git repository
- On the github/gitlab repository, on
integrationsyou must mention the url provided by jenkins