Jenkins: 06 - Basic Configurations

Basic Jenkins Configurations

Manage Jenkins > Configure System

 

  • Home Directory:
    • /var/lib/jenkins
  • System Message:
    • <h3>Jenkins is running normally</h3>
    • Configure Security>Markup Formatter
      • Plain text | Safe HTML
      • Use Safe HTML for HTML markup
  • # of executors:
    • number of agents available to run build tests
    • best to limit to 1-per-core
    • Manage Nodes >
      • Master Jenkins can run Slave Jenkins Nodes
        • Nodes can be customized for specific project types
  • Labels
    • Labels allow for limiting what projects can be run on what nodes
    • Project > Configure > Restrict where this project can be run
      • Label Expression > <label>
      • <label> can be regex
  • Usage
    •  
  • Quiet period
    • seconds to wait before NEW job
    • Time between Trigger & Job Exec
      • Code Checkin might take some time before ready to be pulled from SCM
  • SCM checkout retry count
    •  
  • Restrict project naming
    •  
  • Naming Strategy
    • Default
    • Pattern
      • Test.*
        • will force all projects to start with 'Test
      • Useful in multi-node configs
    • Role-Based Strategy
  • Global Properties
    • Environment Variables
      • Name = key
      • Value = value
      • allows for global key/value pairs in jobs
        • ${key1}
        • $key1
    • Tool Locations
  • Pipeline Speed/Durability Settings
    • Pipeline Default Speed/Durability Level
  • Usage Statistics
    • send to Jenkins?
  • Timestamper
    • System clock time format
    • Elapsed time format
  • Administrative monitors configuration
  • Jenkins Location
    • Jenkins URL
      • https://localhost:8080
    • System Admin e-mail address
  • GitHub
    • GitHub Servers
    • GitHib Enterprise Servers
  • Pipeline Model Definition
    • Docker Label
    • Docker Registry URL
    • Registry Credentials
  • Global Pipeline LIbraries
    • Sharable libraries avilable to any Pipeline jobs
  • Bulid-timeout- Plugin > Build Step Action
    • Enable BuildStep Action
  • Git plugin
    • Global Config user name Value
  • Global Config user.email Value
    • Help for feature: Global Config user.email Value
  • Create new accounts based on author/committer's email ?
    • Help for feature: Create new accounts based on author/committer's email
  • Subversion
    • Subversion Workspace Version    
      • Help for feature: Subversion Workspace Version
    • Exclusion revprop name    
      • Help for feature: Exclusion revprop name
  • Shell
    • Shell executable    
    • Help for feature: Shell executable
  • Extended E-mail Notification
    • SMTP server        
      • Help for feature: SMTP server
    • Default user E-mail suffix
      • Use List-ID Email Header
        • Help for feature: Use List-ID Email Header
    • Add 'Precedence: bulk' Email Header
      • Help for feature: Add 'Precedence: bulk' Email Header
    • Default Recipients    
    • Help for feature: Default Recipients
    • Reply To List    
    • Help for feature: Reply To List
    • Emergency reroute    
    • Help for feature: Emergency reroute
    • Excluded Recipients
    • Default Subject
      • Help for feature: Default Subject
      • $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!
    • Maximum Attachment Size        
      • Help for feature: Maximum Attachment Size
    • Default Content
      • $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
        Check console output at $BUILD_URL to view the results.
      • Help for feature: Default Content
    • Default Pre-send Script    
    • Help for feature: Default Pre-send Script
    • Default Post-send Script    
      • Help for feature: Default Post-send Script
    • Additional groovy classpath    
      • Help for feature: Additional groovy classpath
    • Enable Debug Mode   
      • Help for feature: Enable Debug Mode
    • Require Administrator for Template Testing
      • Help for feature: Require Administrator for Template Testing
    • Enable watching for jobs    
      • Help for feature: Enable watching for jobs
    • Allow sending to unregistered users
      • Help for feature: Allow sending to unregistered users
    • Content Token Reference    
      • Help for feature: Content Token Reference
  • E-mail Notification
    • SMTP server    
      • Help for feature: SMTP server
    • Default user e-mail suffix    
      • Help for feature: Default user e-mail suffix
      • [One or more fields in this block have been edited.]  
    • Test configuration by sending test e-mail

 

 

 

 


 

 


 

 


Home directory /var/lib/jenkins Help for feature: Home directory
  System Message
 
[Plain text] Preview 
Help for feature: System Message
  # of executors  
     
  Labels  
     
  Usage  
   
   
  Quiet period
   
   
  SCM checkout retry count
   
Global properties
Pipeline Speed/Durability Settings
  Pipeline Default Speed/Durability Level  
Help for feature: Pipeline Default Speed/Durability Level
   
   
Usage Statistics
   
Timestamper
  System clock time format
   
   
  Elapsed time format
   
   
Administrative monitors configuration
Jenkins Location
  Jenkins URL
  System Admin e-mail address
GitHub
  GitHub Servers
 
 
   
GitHub Enterprise Servers
   
 
 
   
Pipeline Model Definition
  Docker Label
   
   
  Docker registry URL
   
   
  Registry credentials
 

 

 
     
Global Pipeline Libraries
Sharable libraries available to any Pipeline jobs running on this system. These libraries will be trusted, meaning they run without “sandbox” restrictions and may use @Grab.
   
 
 
   
Build-timeout Plugin > BuildStep Action
   
Git plugin
  Global Config user.name Value
   
   
  Global Config user.email Value
   
   
  Create new accounts based on author/committer's email
   
   
Subversion
  Subversion Workspace Version  
Help for feature: Subversion Workspace Version
   
   
  Exclusion revprop name
   
   
Shell
  Shell executable
 
 
   
Extended E-mail Notification
  SMTP server
   
   
  Default user E-mail suffix
   
   
   
   
  Default Content Type  
Help for feature: Default Content Type
   
   
   
   
  Default Recipients
   
   
  Reply To List
   
   
  Emergency reroute
   
   
  Excluded Recipients
   
   
  Default Subject
   
   
  Maximum Attachment Size
   
   
  Default Content
 
   
   
  Default Pre-send Script
 
   
   
  Default Post-send Script
 
   
   
  Additional groovy classpath
 
Help for feature: Additional groovy classpath
   
   
   
   
   
  Content Token Reference  
   
E-mail Notification
  SMTP server
 
 
   
  Default user e-mail suffix
 
 
   
   
   
 
 
 
 

 


 

 

 

Tags