Fine tuning: Jenkins startup script

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
      

            Assignee:
            Unassigned
            Reporter:
            Oleksii Mazilov
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: