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

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • ec2-plugin
    • None

    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

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

          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

          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

          People

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

            Dates

              Created:
              Updated:
              Resolved: