-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major
-
Component/s: robot-plugin
-
None
-
Environment:OS: Ubuntu 12.04 LTS
Jenkins ver 1.5.525
Token Macro Plugin version 1.8.1
Robot Framework Plugin version 1.2.3
email-ext version 2.30.2
Plugins
Name Version Enabled Pinned
ant 1.2 true false
build-flow-plugin 0.10 true false
build-metrics 1.0 true false
build-timeout 1.11 true false
buildgraph-view 1.0.1 true false
built-on-column 1.1 true false
compact-columns 1.9 true false
console-column-plugin 1.5 true false
credentials 1.4 true false
cvs 2.8 true false
dashboard-view 2.8 true false
description-setter 1.8 true false
email-ext 2.30.2 true false
external-monitor-job 1.1 true false
externalresource-dispatcher 1.1.0 true false
git 1.4.0 true false
git-client 1.1.1 true false
global-build-stats 1.3 true false
javadoc 1.1 true false
job-import-plugin 1.0 true false
ldap 1.2 true false
mailer 1.5 true false
maven-plugin 1.525 true false
metadata 1.0b true false
multiple-scms 0.2 true false
nested-view 1.10 true false
pam-auth 1.0 true false
perforce 1.3.24 true false
project-stats-plugin 0.4 true false
python 1.2 true false
robot 1.2.3 true false
ssh-credentials 0.4 true true
ssh-slaves 0.25 true false
subversion 1.50 true true
token-macro 1.8.1 true false
translation 1.10 true falseOS: Ubuntu 12.04 LTS Jenkins ver 1.5.525 Token Macro Plugin version 1.8.1 Robot Framework Plugin version 1.2.3 email-ext version 2.30.2 Plugins Name Version Enabled Pinned ant 1.2 true false build-flow-plugin 0.10 true false build-metrics 1.0 true false build-timeout 1.11 true false buildgraph-view 1.0.1 true false built-on-column 1.1 true false compact-columns 1.9 true false console-column-plugin 1.5 true false credentials 1.4 true false cvs 2.8 true false dashboard-view 2.8 true false description-setter 1.8 true false email-ext 2.30.2 true false external-monitor-job 1.1 true false externalresource-dispatcher 1.1.0 true false git 1.4.0 true false git-client 1.1.1 true false global-build-stats 1.3 true false javadoc 1.1 true false job-import-plugin 1.0 true false ldap 1.2 true false mailer 1.5 true false maven-plugin 1.525 true false metadata 1.0b true false multiple-scms 0.2 true false nested-view 1.10 true false pam-auth 1.0 true false perforce 1.3.24 true false project-stats-plugin 0.4 true false python 1.2 true false robot 1.2.3 true false ssh-credentials 0.4 true true ssh-slaves 0.25 true false subversion 1.50 true true token-macro 1.8.1 true false translation 1.10 true false
The Robot Framework (RF) email tokens are being processed as a litteral string instead of being processed as a macro. Other token macros appear to be fine.
Here is what I have in the Project configuration email body
[--- START BODY TEMPLATE ---]
Run Report: ${ROBOT_REPORTLINK}
Configuration Details
-------------------------
PIM commit ID: ${GIT_COMMIT}
PIM branch: ${GIT_BRANCH}
Run Summary
----------------
Pass Percentage: ${ROBOT_PASSPERCENTAGE}
Pass Ratio: ${ROBOT_PASSRATIO}
Failed Test Cases:
${ROBOT_FAILEDCASES}
[--- END body template ---]
When the project run and complete, the email message contains the following:
[--- ACTUAL EMAIL BODY ---]
Run Report: ${ROBOT_REPORTLINK}
Configuration Details
-------------------------
PIM commit ID: 7edeb178eb3847f9be2b7f658e1b0c071075cdf7
PIM branch: develop
Run Summary
----------------
Pass Percentage: ${ROBOT_PASSPERCENTAGE}
Pass Ratio: ${ROBOT_PASSRATIO}
Failed Test Cases:
${ROBOT_FAILEDCASES}
[--- END EMAIL BODY ---]