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

Branch name disappear after plugin upgrade (>= 2.26)

XMLWordPrintable

      In my case, the IP address(ok.png) cannot be displayed after the upgrade(ng.png).
      I know this is a compatibility issue, after 2.26.
      I just hope that this problem can be solved in the future.

      Jenkinsfile

                  stage('Release') {
                      def progress = [:];
                      progress['___10.168.2.164 甲'] = {
                          node("nj-mes-man-prod")    { do_offline(1); do_deploy(); do_online(1) }
                      }
                      progress['______10.1.2.65 乙'] = {
                          node("nj-mes-man-2-pe")    { do_offline(2); do_deploy(); do_online(2) }
                      }
                      progress['_____10.1.2.164 丙'] = {
                          node("nj-mes-man-3-pe")    { do_offline(3); do_deploy(); do_online(3) }
                      }
                      progress['______10.1.2.69 丁'] = {
                          node("nj-mes-man-4-pe")    { do_offline(4); do_deploy(); do_online(4) }
                      }
      
                      parallel progress
                  }
      

      Diff

          % git di workflow-job-2.25 workflow-job-2.26-beta-1
          ...(略)
          -                    String prefix = getBranchName(node);
          -                    if (prefix != null) {
       @@ -                        logger = new LogLinePrefixOutputFilter(getListener().getLogger(), "[" + prefix + "] ");
          -                    } else {
          -                        logger = getListener().getLogger();
          -                    }
          ...(略)
      

        1. ng.png
          ng.png
          89 kB
        2. ok.png
          ok.png
          121 kB

            jglick Jesse Glick
            s5unty Vern Sun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: