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

Warning output on Synergy startup stops the work of the plugin

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • synergy-plugin
    • None
    • Platform: All, OS: All

      Hudson: 1.328
      Synergy Plugin: 1.5

      If the start command gives some warnings, the synergy plugin doesnt get the
      CCM_ADDR right. I think the parsing of the start-ouput must skip warnings:

      [workspace] $ ccm start -d ... -h ... -n ... -nogui -m -q -pw ********
      Warning: Syntax error(s) in attribute 'users' of base/model/base/1.
      ...:1253:nnn.nn.n.nnn

      [workspace] $ ccm set role build_mgr
      Warning: Cannot connect to address Warning: Syntax error(s) in attribute 'users'
      of base/model/base/1.

      ...:1253:nnn.nn.n.nnn.

      [workspace] $ ccm attr -s status -p ...
      Warning: Cannot connect to address Warning: Syntax error(s) in attribute 'users'
      of base/model/base/1.

          [JENKINS-4937] Warning output on Synergy startup stops the work of the plugin

          Code changed in hudson
          User: : jribette
          Path:
          trunk/hudson/plugins/synergy_scm/src/main/java/hudson/plugins/synergy/impl/StartCommand.java
          trunk/hudson/plugins/synergy_scm/src/test/java/hudon/plugins/synergy/test/start/StartTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=24286
          Log:
          Fix JENKINS-4937 : don't fail if there is a warning in the ouput of the start command

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : jribette Path: trunk/hudson/plugins/synergy_scm/src/main/java/hudson/plugins/synergy/impl/StartCommand.java trunk/hudson/plugins/synergy_scm/src/test/java/hudon/plugins/synergy/test/start/StartTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=24286 Log: Fix JENKINS-4937 : don't fail if there is a warning in the ouput of the start command

          jribette added a comment -

          Update hudson.plugins.synergy.impl.StartCommand to skip all lines starting with "Warning".
          Add test case hudon.plugins.synergy.test.start.StartTest

          jribette added a comment - Update hudson.plugins.synergy.impl.StartCommand to skip all lines starting with "Warning". Add test case hudon.plugins.synergy.test.start.StartTest

            jribette jribette
            jhm jhm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: