Skip to content

jenkinsci/hidden-parameter-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hidden Parameter Plugin

Build Status Coverage LOC Jenkins Plugin GitHub release GitHub license Jenkins Plugin Installs

Provide hidden parameter to Jenkins Jobs. Similar to string parameter but not displayed on the UI when triggering the jobs.

Useful when administrators want to enforce some parameters/variables to jobs

Examples

In freestyle jobs

Parameter is not visible on the UI

Parameter is set for the job

Pipeline support

parameters {
    hidden(name: 'hidden_param', defaultValue: 'hidden_value', description: 'Hidden parameter')
}

JobDSL support

parameters {
    hidden {
        name('param_hidden')
        defaultValue('hidden_value')
        description('Hidden parameter')
    }
}