Giter VIP home page Giter VIP logo

hidden-parameter-plugin's Introduction

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')
    }
}

hidden-parameter-plugin's People

Contributors

basil avatar daniel-beck-bot avatar dependabot[bot] avatar github-actions[bot] avatar jonesbusy avatar mads-jakobsen-sybo avatar madsjakobsen avatar markewaite avatar oleg-nenashev avatar olivergondza avatar wy-scm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hidden-parameter-plugin's Issues

Add option to not show hidden parameter on rebuild/parameter screens and/or only show for users with certain permission

What feature do you want to see added?

The hidden parameter is a great idea and wonderful Jenkins plugin, but it seems to lose at least some of it's value when the parameter and value can be viewed on the Rebuild and Parameters screens.

If the plugin could be enhanced in the following ways, it would add the value lost by showing the parameter/value on the Rebuild and Parameters screens for the affected use cases:

  • Add configuration options for the plugin to 1) not show the parameter/value on the Rebuild and Parameters screens and 2) show the parameter but keep the value hidden.
  • Add configuration options for the plugin to only show the parameter/value on the Rebuild and Parameters screens for specific users/groups. This would be a use case where only users/groups with a specific level of access, such as administrators, could see the parameter/value on the Rebuild and Parameters screens.

Both options in the bullets above would be ideal, but the first item in the first bullet would also be a big improvement. Anything that allows the parameter to be truly hidden, if desired, would be great.

Upstream changes

No response

Are you interested in contributing this feature?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.