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

Session should reset after init script has been executed

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • azure-slave-plugin
    • None

      Currently the Azure plugin executes the init script and the slave.jar in a single Session which causes some difficulty for me as my init script updates the user's groups and shell settings.

      I think it would be an improvement if the Session used in AzureSSHLauncher was reset after the successful completion of the init.sh, assuming it was executed.

      I can submit a pull request but I wanted to create a ticket to run the idea by you first

          [JENKINS-37160] Session should reset after init script has been executed

          R. Tyler Croy created issue -
          R. Tyler Croy made changes -
          Assignee New: suresh nallamilli [ snallami ]
          R. Tyler Croy made changes -
          Remote Link New: This issue links to "pull request #39 (Web Link)" [ 14695 ]
          R. Tyler Croy made changes -
          Link New: This issue is related to JENKINS-40291 [ JENKINS-40291 ]

          The slave plugin was deprecated in favor of the Azure VM Agents plugin: https://plugins.jenkins.io/azure-vm-agents .
          I'll close this bug because it's fixed in the new plugin

          Claudiu Guiman added a comment - The slave plugin was deprecated in favor of the Azure VM Agents plugin: https://plugins.jenkins.io/azure-vm-agents . I'll close this bug because it's fixed in the new plugin
          Claudiu Guiman made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            snallami suresh nallamilli
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: