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

Enable exec command to be run in a pseudo TTY

    Details

    • Similar Issues:

      Description

      Request and patch recieved from Michel Prunet.

      Add an option to execute the command in a tty to enable sudo commands that have been restriced with 'requiretty' to be authorized.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          pom.xml
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshClient.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshTransfer.java
          src/main/java/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults.java
          src/main/java/jenkins/plugins/publish_over_ssh/options/SshPluginDefaultsHandler.java
          src/main/java/jenkins/plugins/publish_over_ssh/options/SshTransferOptions.java
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config_no_BV.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/help-usePty.html
          src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config_no_BV.properties
          src/main/webapp/js/pos.js
          src/test/java/jenkins/plugins/publish_over_ssh/BapSshClientTest.java
          src/test/java/jenkins/plugins/publish_over_ssh/BapSshHostConfigurationTest.java
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java
          http://jenkins-ci.org/commit/publish-over-ssh-plugin/5f0509db929a169a8a040fba6bc275eee928f3e9
          Log:
          [FIXED JENKINS-10965] Enable exec command to be run in a pseudo TTY

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: pom.xml src/main/java/jenkins/plugins/publish_over_ssh/BapSshClient.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshTransfer.java src/main/java/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults.java src/main/java/jenkins/plugins/publish_over_ssh/options/SshPluginDefaultsHandler.java src/main/java/jenkins/plugins/publish_over_ssh/options/SshTransferOptions.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config_no_BV.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/help-usePty.html src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config_no_BV.properties src/main/webapp/js/pos.js src/test/java/jenkins/plugins/publish_over_ssh/BapSshClientTest.java src/test/java/jenkins/plugins/publish_over_ssh/BapSshHostConfigurationTest.java src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java http://jenkins-ci.org/commit/publish-over-ssh-plugin/5f0509db929a169a8a040fba6bc275eee928f3e9 Log: [FIXED JENKINS-10965] Enable exec command to be run in a pseudo TTY
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_publish-over-ssh-plugin #157
          [FIXED JENKINS-10965] Enable exec command to be run in a pseudo TTY

          bap2000 :
          Files :

          • src/main/java/jenkins/plugins/publish_over_ssh/options/SshPluginDefaultsHandler.java
          • src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java
          • src/test/java/jenkins/plugins/publish_over_ssh/BapSshHostConfigurationTest.java
          • src/main/java/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults.java
          • src/main/java/jenkins/plugins/publish_over_ssh/BapSshTransfer.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/help-usePty.html
          • src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config_no_BV.properties
          • src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java
          • src/main/java/jenkins/plugins/publish_over_ssh/options/SshTransferOptions.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.jelly
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.jelly
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.properties
          • src/main/webapp/js/pos.js
          • src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.properties
          • src/test/java/jenkins/plugins/publish_over_ssh/BapSshClientTest.java
          • pom.xml
          • src/main/java/jenkins/plugins/publish_over_ssh/BapSshClient.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config_no_BV.properties
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-ssh-plugin #157 [FIXED JENKINS-10965] Enable exec command to be run in a pseudo TTY bap2000 : Files : src/main/java/jenkins/plugins/publish_over_ssh/options/SshPluginDefaultsHandler.java src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ssh/BapSshHostConfigurationTest.java src/main/java/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshTransfer.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/help-usePty.html src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config_no_BV.properties src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java src/main/java/jenkins/plugins/publish_over_ssh/options/SshTransferOptions.java src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config.properties src/main/webapp/js/pos.js src/main/resources/jenkins/plugins/publish_over_ssh/options/SshOverrideTransferDefaults/config.properties src/test/java/jenkins/plugins/publish_over_ssh/BapSshClientTest.java pom.xml src/main/java/jenkins/plugins/publish_over_ssh/BapSshClient.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshTransfer/config_no_BV.properties

            People

            • Assignee:
              bap bap
              Reporter:
              bap bap
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: