Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to increase the size of jenkins pipeline input area?

In Jenkins pipe line script : input syntax is,

                def newTag = input(
                    id: 'currentTag', message: 'Put the tag for vals here', ok: 'CREATE TAG', 
                        parameters: [
                            string(
                                defaultValue: 'temp', 
                                description: 'Enter carefully for new tag', 
                                name: 'tagName'
                            ),
                        ]
                )

While run this, it waits for input with applet.

In doc link there is no method to specify the size.

How to increase the size of that input bar ?

like image 772
Bhanuchander Udhayakumar Avatar asked Jun 07 '18 10:06

Bhanuchander Udhayakumar


People also ask

What is input in Jenkins Pipeline?

input : Wait for interactive input. This step pauses Pipeline execution and allows the user to interact and control the flow of the build. Only a basic "proceed" or "abort" option is provided in the stage view. You can optionally request information back, hence the name of the step.

How do I change the workspace in Jenkins Pipeline?

So if you wish to change the Jenkins workspace, all you've do is change the path of your JENKINS_HOME. For slave nodes, specify the default workspace on the slave machine in the slave configuration under Manage Jenkins > Manage Nodes > > Configure > Remote FS root.

What are the 3 types of pipelines in Jenkins?

Declarative versus Scripted Pipeline syntax Declarative and Scripted Pipelines are constructed fundamentally differently. Declarative Pipeline is a more recent feature of Jenkins Pipeline which: provides richer syntactical features over Scripted Pipeline syntax, and.


1 Answers

You can use text() instead of string(). The input window can be resized.

like image 54
Yiman Liu Avatar answered Oct 01 '22 14:10

Yiman Liu