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

${ROBOT_PASSPERCENTAGE, onlyCritical} does not work

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: robot-plugin
    • Labels:
      None
    • Environment:
      sles11
    • Similar Issues:
    • Released As:
      2.1.2

      Description

      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.

        Attachments

          Activity

          Hide
          jussi_malinen 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.

          Show
          jussi_malinen 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.
          Hide
          sharanuph 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

          Show
          sharanuph 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
          Hide
          aleksisimell 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}
          
          Show
          aleksisimell 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 }

            People

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

              Dates

              • Created:
                Updated:
                Resolved: