-
Task
-
Resolution: Unresolved
-
Minor
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
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')
}