Missing DSL for NoTriggerOrganizationFolderProperty

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

XMLWordPrintable

      While trying the implement DSL configuration using Bitbucket Branch, I'm not able to implement NoTriggerOrganizationFolderProperty propertie.

      ERROR: (script, line 5) No signature of method: javaposse.jobdsl.dsl.helpers.properties.FolderPropertiesContext.NoTriggerOrganizationFolderProperty() is applicable for argument types: (script$_run_closure1$_closure2$_closure4) values: [script$_run_closure1$_closure2$_closure4@2693f37a]
      

      NoTriggerOrganizationFolderProperty is not available on DSL API.

      Manually configured Bitbucket Branch based build config.xml file:

      <jenkins.branch.OrganizationFolder plugin="branch-api@2.0.15">
        <actions/>
        <description></description>
        <properties>
          <jenkins.branch.NoTriggerOrganizationFolderProperty>
            <branches></branches>
          </jenkins.branch.NoTriggerOrganizationFolderProperty>
        </properties>
      ...
      

       Test DSL script:

      organizationFolder('My DSL Folder test'){
          displayName('my_display_name')
          description('my_description')
          properties{
              NoTriggerOrganizationFolderProperty{
                  branches('')
              }
          }
          organizations {
              bitbucket {
                  repoOwner('my_repo_code')
                  credentialsId('my_cred_id')
                  serverUrl('my_server_url')
              }
          }
      }
      

      This seems a case of missing DSL configuration but not sure by which component.

            Assignee:
            Daniel Spilker
            Reporter:
            Nuno Costa
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: