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

${ROBOT_PASSPERCENTAGE, onlyCritical} does not work

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • robot-plugin
    • None
    • sles11
    • 2.1.2

      version 1.6.0

      I think this is a problem for both the docu AND software.

      I tried this:
      ${ROBOT_PASSPERCENTAGE, onlyCritical}
      ${ROBOT_PASSPERCENTAGE, true}
      ${ROBOT_PASSPERCENTAGE, True}
      
      and also without the space:
      ${ROBOT_PASSPERCENTAGE,onlyCritical}
      ${ROBOT_PASSPERCENTAGE,true}
      ${ROBOT_PASSPERCENTAGE,True}
      

      in all attempts the veriable is not replaced.

      this works:

      ${ROBOT_PASSPERCENTAGE} 
      

      but obviously contains non critical in the total.

          [JENKINS-30150] ${ROBOT_PASSPERCENTAGE, onlyCritical} does not work

          Jussi Malinen added a comment -

          Damn. I havent touched the email notification part so far. It might be a while before I have time to look at this closer. Pull requests are welcome if someone has an idea how to fix this.

          Jussi Malinen added a comment - Damn. I havent touched the email notification part so far. It might be a while before I have time to look at this closer. Pull requests are welcome if someone has an idea how to fix this.

          Sharana Patil added a comment - - edited

          ${ROBOT_PASSPERCENTAGE}
          ${ROBOT_FAILEDCASES}
          ${ROBOT_PASSRATIO}

          emailext email notification : All the Micro are not working in jerkins pipeline

          ROBOT_PASSPERCENTAGE is not supported in this context in the email body getting

          Please suggest

          Sharana Patil added a comment - - edited ${ROBOT_PASSPERCENTAGE} ${ROBOT_FAILEDCASES} ${ROBOT_PASSRATIO} emailext email notification : All the Micro are not working in jerkins pipeline ROBOT_PASSPERCENTAGE is not supported in this context in the email body getting Please suggest

          Aleksi Simell added a comment -

          Token macros not working in pipelines was fixed in version 2.1.2.

          The correct syntax to use email macros is 

          ${ROBOT_PASSPERCENTAGE, onlyCritical=true}
          

          Aleksi Simell added a comment - Token macros not working in pipelines was fixed in version 2.1.2. The correct syntax to use email macros is  ${ROBOT_PASSPERCENTAGE, onlyCritical= true }

            jpiironen jpiironen
            markfink Mark Fink
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: