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

Blue Ocean Plugin does not support INPUT_PARAMS

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • blueocean-plugin
    • None

      I was using INPUT_PARAMS to get inputs from user Now, I am trying to use blue ocean,SO :

      1. I installed Blue Ocean in Plugins in Jenkins 
      2. Built the Job , their is a problem that ==> 

      Error

      This pipeline uses input types that are unsupported. Use Jenkins Classic to resolve this input step.

      Resolve Input 

      4. When cliking on Reslove Inputs, It will redirect to the old Gui for INPUT_PARAMS 

       

      Any Recommendation to solve that Issue ?

      OR their is an alternative option instead of INPUT_PARAMS  in Blue Ocean 

      Thanks in advance 

       

          [JENKINS-57301] Blue Ocean Plugin does not support INPUT_PARAMS

          Ahmed Itman added a comment -

          I think the problem is with Dynamic ==> for example if you are using Active choices parameter which use groovy script to get data and fill the parameter Those ERROR Message will raise 

          If you are using Pipeline script get data dynamically this ERROR  Message will raise 

          So, Any Recommendations ? 

          Thanks a million 

          Ahmed Itman added a comment - I think the problem is with Dynamic ==> for example if you are using Active choices parameter which use groovy script to get data and fill the parameter Those ERROR Message will raise  If you are using Pipeline script get data dynamically this ERROR  Message will raise  So, Any Recommendations ?  Thanks a million 

          Ahmed Itman added a comment -

          Blue Ocean does not support Interactive Inputs, Right ?
          If yes please Find a solution  

          Ahmed Itman added a comment - Blue Ocean does not support Interactive Inputs, Right ? If yes please Find a solution  

          Ahmed Itman added a comment -

          Ahmed Itman added a comment - tscherler ajenks

          Thorsten Scherler added a comment - https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-core-js/src/js/parameter/index.js#L20 are the ones BO supports ATM

          Ahmed Itman added a comment -

          Hi tscherler is it the solution, i see the link for .js 
          Should i modify bluocean*.js in my Jenkins ?

           

          Ahmed Itman added a comment - Hi tscherler is it the solution, i see the link for .js  Should i modify bluocean*.js in my Jenkins ?  

          P4 added a comment -

          Hi ahmeditman, it is supported input types mapping. It means that BlueOcean supports only following input types now: Boolean, Choice, Text, String and Password.

          P4 added a comment - Hi ahmeditman , it is supported input types mapping. It means that BlueOcean supports only following input types now: Boolean, Choice, Text, String and Password.

            Unassigned Unassigned
            ahmeditman Ahmed Itman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: