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

Fine tuning: Jenkins startup script

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • other
    • None
    • version: latest stable

      File: /etc/init.d/jenkins
      Line: 165

      for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
          sleep 1
          $DAEMON $DAEMON_ARGS --running || break
      done
      

      It's better to use seq instead of list of numbers

      for n in $(1 20); do
          sleep 1
          $DAEMON $DAEMON_ARGS --running || break
      done
      

            Unassigned Unassigned
            omazilov Oleksii Mazilov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: