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

Enable exec command to be run in a pseudo TTY

    XMLWordPrintable

Details

    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

          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

          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
          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
          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

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/229
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-10965%22

          (Note: this is an automated bulk comment)

          gmcdonald Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/229 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-10965%22 (Note: this is an automated bulk comment)

          People

            bap bap
            bap bap
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: