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

Text field option as parameter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Hudson 1.344
    • Similar Issues:

      Description

      It would be useful to have a kind of text field option as input parameter in job's configuration.

      This would allow one to specify a small text that could be parsed to build executors (shell, maven, ant, etc.) at build time.

      Such field would export it's values like:
      TEXTFIELD1='some
      text
      here to be used in build.'
      With carriage returns/line feeds, depending on hudson's build platform (Windows or UNIX).

      Thanks in advance.

        Attachments

          Activity

          Hide
          netjunki Benjamin Lau added a comment -

          I haven't yet, I had some deadlines that made use of the build system last week so I couldn't take it down. I'll try and get to this tonight since I'll be at the office late.

          Show
          netjunki Benjamin Lau added a comment - I haven't yet, I had some deadlines that made use of the build system last week so I couldn't take it down. I'll try and get to this tonight since I'll be at the office late.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ben Lau
          Path:
          core/src/main/java/hudson/model/TextParameterDefinition.java
          core/src/main/resources/hudson/model/Messages.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly
          core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/index.jelly
          http://jenkins-ci.org/commit/jenkins/d0d5ea3b62f85c6ccc2836990c5c8261acdc6664
          Log:
          [FIXED JENKINS-5577] added a 'Text Parameter' capability

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ben Lau Path: core/src/main/java/hudson/model/TextParameterDefinition.java core/src/main/resources/hudson/model/Messages.properties core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties core/src/main/resources/hudson/model/TextParameterDefinition/index.jelly http://jenkins-ci.org/commit/jenkins/d0d5ea3b62f85c6ccc2836990c5c8261acdc6664 Log: [FIXED JENKINS-5577] added a 'Text Parameter' capability
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/src/main/java/hudson/model/TextParameterDefinition.java
          core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly
          core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties
          http://jenkins-ci.org/commit/jenkins/f766f2a9c74facac47ddf8052ab88f493c57d2fb
          Log:
          JENKINS-5577 A better way to implement this is to extend from
          StringParameterDefinition and reuse most of its views.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/java/hudson/model/TextParameterDefinition.java core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties http://jenkins-ci.org/commit/jenkins/f766f2a9c74facac47ddf8052ab88f493c57d2fb Log: JENKINS-5577 A better way to implement this is to extend from StringParameterDefinition and reuse most of its views.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ben Lau
          Path:
          core/src/main/java/hudson/model/TextParameterDefinition.java
          core/src/main/resources/hudson/model/Messages.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly
          core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/index.jelly
          http://jenkins-ci.org/commit/jenkins/d0d5ea3b62f85c6ccc2836990c5c8261acdc6664
          Log:
          [FIXED JENKINS-5577] added a 'Text Parameter' capability

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ben Lau Path: core/src/main/java/hudson/model/TextParameterDefinition.java core/src/main/resources/hudson/model/Messages.properties core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties core/src/main/resources/hudson/model/TextParameterDefinition/index.jelly http://jenkins-ci.org/commit/jenkins/d0d5ea3b62f85c6ccc2836990c5c8261acdc6664 Log: [FIXED JENKINS-5577] added a 'Text Parameter' capability
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/src/main/java/hudson/model/TextParameterDefinition.java
          core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly
          core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties
          core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties
          http://jenkins-ci.org/commit/jenkins/f766f2a9c74facac47ddf8052ab88f493c57d2fb
          Log:
          JENKINS-5577 A better way to implement this is to extend from
          StringParameterDefinition and reuse most of its views.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/java/hudson/model/TextParameterDefinition.java core/src/main/resources/hudson/model/TextParameterDefinition/config.jelly core/src/main/resources/hudson/model/TextParameterDefinition/config_da.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_de.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_es.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_fr.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ja.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_pt_BR.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_ru.properties core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_TW.properties http://jenkins-ci.org/commit/jenkins/f766f2a9c74facac47ddf8052ab88f493c57d2fb Log: JENKINS-5577 A better way to implement this is to extend from StringParameterDefinition and reuse most of its views.

            People

            Assignee:
            huybrechts huybrechts
            Reporter:
            hmonteiro hmonteiro
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: