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

No signature of method: defaultValue() is applicable for argument types: (java.lang.String) values: []

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi We are seeing below error while running job in Jenkins.

      We have used 1.70 and 1.74  DSLD plugins. in both versions we are facing same issue .

      Below is Error

      ERROR: (build_and_deploy.dsld, line 27) No signature of method: defaultValue() is applicable for argument types: (java.lang.String) values: []
      Possible solutions: name(), defaultValueAsSecret(), description()

       

      Code 

      buildAndDeployJob.with {
      description 'CI/CD Framework job to build and deploy TIBCO BPM components'
      properties

      { zenTimestamp('yyyyMMdd-HHmmss') }

      concurrentBuild()
      parameters {
      stringParam('SvnUrl')
      stringParam('ComponentName', '', 'Name of the component')
      stringParam('Version', '', 'Component version')
      stringParam('EnvironmentCode','', 'Environments to execute build and deployment')
      stringParam('Options','', 'Any additional options needed by the CICD Framework')
      booleanParam('ReDeploy', false, 'By default reDeploy is set as false')
      booleanParam('DryRun', false, 'If it is dry run, components are not deployed.')

      password

      { name('AccessToken') *defaultValue('')* description('Access Token for MS') //nonStoredPasswordParam('AccessToken', 'Access Token for ADAMS') }

      booleanParam('BuildFirst', true, 'In the selected enviroments, build first before performing deployment')
      labelParam('NodeLabel')
      stringParam('JobId', '', 'Job Id of Service Layer')
      }

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            venkydiddi Venkateshwar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: