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

The init script will run multiple times rather than only the first time the instance is started

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      The code to check for the marker file for the init script is:

      test -e /.hudson-run-init

      But the code to set the init script marker is:

      touch ~/.hudson-run-init

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Francis Upton IV
          Path:
          src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java
          http://jenkins-ci.org/commit/ec2-plugin/8035bc56b7734858c74c4139888e82fc5abce3fc
          Log:
          [FIXED JENKINS-12771] The init script will execute each time the instance is started

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton IV Path: src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java http://jenkins-ci.org/commit/ec2-plugin/8035bc56b7734858c74c4139888e82fc5abce3fc Log: [FIXED JENKINS-12771] The init script will execute each time the instance is started
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_ec2 #55
          [FIXED JENKINS-12771] The init script will execute each time the instance is started (Revision 8035bc56b7734858c74c4139888e82fc5abce3fc)

          Result = SUCCESS
          francisu :
          Files :

          • src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_ec2 #55 [FIXED JENKINS-12771] The init script will execute each time the instance is started (Revision 8035bc56b7734858c74c4139888e82fc5abce3fc) Result = SUCCESS francisu : Files : src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              francisu Francis Upton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: