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

Global Variable GDSL Contribution

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • Jenkins ver. 2.7.4

      It does not appear that org.jenkinsci.plugins.workflow.cps.GlobalVariable implementations can contribute many details to the GSDL.

      I just get an entry like this:
      >> property(name: 'openshift', type: 'com.openshift.jenkins.plugins.pipeline.OpenShiftGlobalVariable')

      Since there is no way straightforward way for Jenkins to introspect all of the methods I'm exposing from my variable definition, it would be nice if I could contribute my own GDSL snippet from my plugin's resources directory.

            Unassigned Unassigned
            jupierce Justin Pierce
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: