Does Jenkins have a feature like credentials for non-secrets?

hoylemd

real simple question today.

Does Jenkins have a feature like credentials that is for non-secret information?

My use case is that I want to specify some values in jenkins to make them easily available to all of my pipelines. (e.g. an Azure subscription id) I tried to just use 'secret text' type credentials, but the magic that jenkins does to protect those credentials make it difficult to work with them.

I imagine it would be called something like global environment variables, or named values, but I haven't been able to find anything with my googling.

Thanks!

Kailash

The following steps will help you setup global environment variables which can be used within various builds and pipelines. The steps may be slightly different based on the version of Jenkins installed. The steps noted below are based on version 2.7.4:

  • Navigate to Manage Jenkins on the left side menu
  • Click "Configure System"
  • Scroll down to find "Global properties"
  • Check "Environment variables"
  • Click "Add"
  • Add the name and value in correct input area (Example: arg_name & arg_value)
  • Click "Save" at the bottom of the page

To use this global environment variable, navigate to an input area within a build definition and use: ${arg_name}

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Does Powershell have a feature like Bash's "autocd" shopt?

分類Dev

Does xgboost have feature_importances_?

分類Dev

Does sed have a feature superior to awk?

分類Dev

Does Groovy have object destructuring like Javascript?

分類Dev

Working with jenkins credentials

分類Dev

How to edit credentials in jenkins?

分類Dev

Does Idris have non-terminating terms?

分類Dev

Remove Credentials from GIT in Jenkins

分類Dev

Does Java have generics deduction like C++ templates?

分類Dev

Why does finger not have a non-zero return value?

分類Dev

Having a POJO like feature in KarateAPI?

分類Dev

Github feature like Bitbucket Pipeline

分類Dev

How do I pass Jenkins credentials to gradle?

分類Dev

Does airflow have something like `yesterday_ds` / `tomorrow_ds` but for `@monthly` jobs?

分類Dev

Does Dymola have the similar function of "equation browser" like Wolfram system modeler?

分類Dev

What does it mean in C++ when you have a parameter like ::lower?

分類Dev

Does Brave browser have ability to sync bookmarks like firefox login mechanism?

分類Dev

Why does "scalar" appear like this when I cast json_decode() (in non-associative mode) to an object?

分類Dev

Is there any feature in xcode for flavor like in android

分類Dev

Branching off a non-merged feature branch?

分類Dev

Does XCOPY leave credentials cached in LSASS?

分類Dev

Is it secure to give aws credentials (accessKey and secretKey) to a code hoster like BitBucket?

分類Dev

Chrome / Firefox extension like Safari 5's 'Reader' feature

分類Dev

Turn off Snap-Assist-like feature in Windows 10 (for notebooks)

分類Dev

How to observe a computed property in EmberJS? Creating a FB like notification feature

分類Dev

Why does `categorical_feature` of lightgbm not work?

分類Dev

Does YouTrack has a automatic time tracking feature?

分類Dev

How to implement checklist like feature similar to "google keep notes" app checklist feature?

分類Dev

Does aiohttp have ORM?

Related 関連記事

  1. 1

    Does Powershell have a feature like Bash's "autocd" shopt?

  2. 2

    Does xgboost have feature_importances_?

  3. 3

    Does sed have a feature superior to awk?

  4. 4

    Does Groovy have object destructuring like Javascript?

  5. 5

    Working with jenkins credentials

  6. 6

    How to edit credentials in jenkins?

  7. 7

    Does Idris have non-terminating terms?

  8. 8

    Remove Credentials from GIT in Jenkins

  9. 9

    Does Java have generics deduction like C++ templates?

  10. 10

    Why does finger not have a non-zero return value?

  11. 11

    Having a POJO like feature in KarateAPI?

  12. 12

    Github feature like Bitbucket Pipeline

  13. 13

    How do I pass Jenkins credentials to gradle?

  14. 14

    Does airflow have something like `yesterday_ds` / `tomorrow_ds` but for `@monthly` jobs?

  15. 15

    Does Dymola have the similar function of "equation browser" like Wolfram system modeler?

  16. 16

    What does it mean in C++ when you have a parameter like ::lower?

  17. 17

    Does Brave browser have ability to sync bookmarks like firefox login mechanism?

  18. 18

    Why does "scalar" appear like this when I cast json_decode() (in non-associative mode) to an object?

  19. 19

    Is there any feature in xcode for flavor like in android

  20. 20

    Branching off a non-merged feature branch?

  21. 21

    Does XCOPY leave credentials cached in LSASS?

  22. 22

    Is it secure to give aws credentials (accessKey and secretKey) to a code hoster like BitBucket?

  23. 23

    Chrome / Firefox extension like Safari 5's 'Reader' feature

  24. 24

    Turn off Snap-Assist-like feature in Windows 10 (for notebooks)

  25. 25

    How to observe a computed property in EmberJS? Creating a FB like notification feature

  26. 26

    Why does `categorical_feature` of lightgbm not work?

  27. 27

    Does YouTrack has a automatic time tracking feature?

  28. 28

    How to implement checklist like feature similar to "google keep notes" app checklist feature?

  29. 29

    Does aiohttp have ORM?

ホットタグ

アーカイブ