Home > Enterprise >  Where to find the source code for Jenkins' `input()` method?
Where to find the source code for Jenkins' `input()` method?

Time:10-27

Jenkins is open source. However, I could not find the source code for input() as in Jenkins ref: input and example below. I looked at Jenkins source code well as Groovy's reference, but could not find it. Where can I locate the source code for this function? I need a link.

Example usage:


    timeout(time: 2, unit: 'MINUTES') {

         r = input(message: 'message', submitter: "id1", submitterParameter: 'who', parameter: 'a,b')

         println('Responded by: '   r.toString())
      }

CodePudding user response:

I believe this fingers from a plug-in which can be found here:

https://github.com/jenkinsci/pipeline-input-step-plugin

  • Related