Hi!
The following Code just produces an empty dropdown list and an error 
message: Data generation failure: null

pipeline {
    options {
        buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: 
'3'))
    }
    agent none
    stages {
        stage('input') {
            steps {
                input(
                    id: 'userInput', message: 'Text goes here', parameters: 
[
                        [ $class: 'DropdownAutocompleteParameterDefinition', 
name: 'MyName', dataprovider: [
                            [$class: 'InlineJsonDataProvider', 
autoCompleteData: '[{"id":"1"},{"id":"2"}]'
                ]]]])
           }
        }
    }
}


How do I use the InlineJsonDataProvider correctly?

Jenkins V 2.60.2
Autocomplete Parameter Plugin V 1.0

Thanks
Sascha

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5eaa44dc-020d-4f25-8e91-a57be2ced37d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to