Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54240

buildDescription column not available for jobDSL

    Details

    • Similar Issues:

      Description

      The buildDescription column is not available for the jobDSL plugin to create scripted views
      https://jenkinsci.github.io/job-dsl-plugin/#path/listView-columns

      Can you please add this?

        Attachments

          Activity

          Hide
          fredg Fred G added a comment -

          Daniel Spilker can you help here? What needs to be added to make this and other columns available in the JobDSL plugin?

          Show
          fredg Fred G added a comment - Daniel Spilker can you help here? What needs to be added to make this and other columns available in the JobDSL plugin?
          Hide
          reitzmichnicht Michael Düsterhus added a comment -

          I found that it is available as Dynamic DSL

          buildDescriptionColumn {
                  columnWidth(80)
                  forceWidth(false)
                }
          
          Show
          reitzmichnicht Michael Düsterhus added a comment - I found that it is available as Dynamic DSL buildDescriptionColumn { columnWidth(80) forceWidth( false ) }
          Hide
          daspilker Daniel Spilker added a comment -

          Yes, the build description column type is already supported by Dynamic DSL.

          It will work out-of-the-box as long as correct @DataBoundConstructor/@DataBoundSetter annotations are used on the relevant classes.

          Show
          daspilker Daniel Spilker added a comment - Yes, the build description column type is already supported by Dynamic DSL . It will work out-of-the-box as long as correct @DataBoundConstructor / @DataBoundSetter annotations are used on the relevant classes.
          Hide
          fredg Fred G added a comment -

          Good to hear that the Dynamic DSL can be used. Just out of curiosity, how would one add a column so it's available in the JobDSL plugin without using the Dynamic DSL?

          Show
          fredg Fred G added a comment - Good to hear that the Dynamic DSL can be used. Just out of curiosity, how would one add a column so it's available in the JobDSL plugin without using the Dynamic DSL?

            People

            • Assignee:
              fredg Fred G
              Reporter:
              reitzmichnicht Michael Düsterhus
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: