BlueOcean ignoring defaultValue of password parameter type

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: blueocean-plugin
    • Environment:

      Example pipeline:

      pipeline {
         agent any
          parameters {
            password(name: 'env_db_password', defaultValue: '123456', description: 'Database password')
          }
         stages {
            stage('Use password') {
               steps {
        
      			sh label:"Test Params",script:'''
      			        echo ${env_db_password} > ./.env
      			        cat ./.env
                          '''
               }
            }
         }
      }
      

      If you run this pipeline from classic UI input will contain masked default value, and pipeline works correct.

      But if you use BlueOceanUI, input will be empty and pipeline starting with empty value instead  default.

       

      My version is 1.23.0 · Core 2.204.2 · 1115daf  · 20th April 2020 11:55 PM

       

            Assignee:
            Unassigned
            Reporter:
            Evgenii Galkin
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: