Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-1107

Job-DSL stash notifier creates "Unreadable Data".

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins 2.32.3
      Stash notifier plugin- 1.11.6
      job-dsl plugin - 1.52
    • Similar Issues:

      Description

      When following the job dsl documentation for the Stash notifier plugin (https://jenkinsci.github.io/job-dsl-plugin/#path/job-publishers-stashNotifier) 

      code:

      job('blah') { publishers {  stashNotifier()  } } 

       

      It produces the following XML:
      <org.jenkinsci.plugins.stashNotifier.StashNotifier>
               <stashServerBaseUrl/>
               <stashUserName/>
               <stashUserPassword/>
               <ignoreUnverifiedSSLPeer>false</ignoreUnverifiedSSLPeer>
               <commitSha1/>
               <includeBuildNumberInKey>false</includeBuildNumberInKey>
      </org.jenkinsci.plugins.stashNotifier.StashNotifier>
       
      This triggers an "Unreadable Data" message:
            MissingFieldException: No field 'stashUserName' found in class 'org.jenkinsci.plugins.stashNotifier.StashNotifier', MissingFieldException: No field 'stashUserPassword' found in class 'org.jenkinsci.plugins.stashNotifier.StashNotifier'
       

        Attachments

          Activity

          Hide
          rtyler R. Tyler Croy added a comment -

          The INFRA project is for Jenkins project infrastructure tasks only. Please open a new ticket in the JENKINS project with the "jobdsl-plugin" component

          Show
          rtyler R. Tyler Croy added a comment - The INFRA project is for Jenkins project infrastructure tasks only. Please open a new ticket in the JENKINS project with the "jobdsl-plugin" component

            People

            • Assignee:
              rtyler R. Tyler Croy
              Reporter:
              cruhl Chaz Ruhl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: