I got it to work like this :

....

configure { 
       
            def gblpass = it / 'buildWrappers' /

            'EnvInjectPasswordWrapper' <<
              {
                     injectGlobalPasswords ('false')
                     maskPasswordParameters ('true')

                     passwordEntries() <<
                             {
                               'EnvInjectPasswordEntry'
                                       {
                                          name('name')
                                          value('pass')
                                        }
                             }
               }
        }

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/56096c8a-7fcf-4472-b1ec-621cbdabf71e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to