-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Can you please describe how one would define the YAML parameter section of a YAML script.
I have added the `CheckboxParameter:` section below the `parameters:` section in my YAML like so:
artifactNumToKeep: -1 parameters: - string: name: ABS_WEBSITE_URL default: "http://abiosciences.cn/" - string: name: COMMENT_VISIBILITY default: "Administrators" - string: name: JENKINS_CONSULT_URL default: "CUSTOMER_PLATFORM_URL_GOES_HERE/000_request_consult/build?JIRA_TICKET_NUMBER=${JIRA_TICKET_NUMBER}&REQUESTOR_NAME=${REQUESTOR_NAME}" - string: name: CUSTOMER_DETAILS_FORM_URL default: "CUSTOMER_PLATFORM_URL_GOES_HERE/sce-abs-more_information/build" - string: name: EMAIL_BODY_FILE default: "${JENKINS_HOME}/email-messages/${JOB_NAME}.html" - string: name: EMAIL_SUBJECT_LINE default: "[INFORM] Data request ${JIRA_TICKET_NUMBER}: need more information" CheckboxParameter: - key: y-1 value: value-1 - key: y-2 value: value-2 - key: y-3 value: value-3 builders: - shell: | cd ${WORKSPACE}; cp ${EMAIL_BODY_FILE} ./body.html
But when running `jenkins-jobs update` it throws an error.
Running the same in the Jenkins UI works though (see screenshot) - is there a way to export the underlying source code (YAML) for this param?