Continuum

Email Subject line templates support only 3 name variables.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.1-beta-4
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

This format results in the following subject line.
<subject-format>[MSVC Doc] BUILD ${state}: ${project.name} - ${project.version} - ${project.scmTag}</subject-format>

[MSVC Doc] BUILD SUCCESSFUL: dataobject-allergy - 1.0-SNAPSHOT - ${project.scmTag}

This seems to occur with any combination where the 4th variable is treated as a literal.

Activity

Hide
Emmanuel Venisse added a comment -

Can you try with a format like that :
${project.name} - ${project.name} - ${project.name} - ${project.name}
to see if it's the number of variables that is the problem

Show
Emmanuel Venisse added a comment - Can you try with a format like that : ${project.name} - ${project.name} - ${project.name} - ${project.name} to see if it's the number of variables that is the problem
Hide
Bryan Madsen added a comment -

That worked. I recieved "eventset-mock - eventset-mock - eventset-mock - eventset-mock"

Show
Bryan Madsen added a comment - That worked. I recieved "eventset-mock - eventset-mock - eventset-mock - eventset-mock"
Hide
Bryan Madsen added a comment -

These both worked.

[MSVC Doc] BUILD ${state}: ${project.name} - ${project.version} - ${project.name}
[MSVC Doc] BUILD SUCCESSFUL: msvc-procedure - 1.0-SNAPSHOT - msvc-procedure

[MSVC Doc] BUILD ${state}: ${build.durationTime} - ${project.version} - ${project.name}
[MSVC Doc] BUILD SUCCESSFUL: 9 min 30 sec - 1.0-SNAPSHOT - results-testing-util

It seems like a problem with ${project.scmTag}. I also tried ${project.scm.url} and that did not work.

Show
Bryan Madsen added a comment - These both worked. [MSVC Doc] BUILD ${state}: ${project.name} - ${project.version} - ${project.name} [MSVC Doc] BUILD SUCCESSFUL: msvc-procedure - 1.0-SNAPSHOT - msvc-procedure [MSVC Doc] BUILD ${state}: ${build.durationTime} - ${project.version} - ${project.name} [MSVC Doc] BUILD SUCCESSFUL: 9 min 30 sec - 1.0-SNAPSHOT - results-testing-util It seems like a problem with ${project.scmTag}. I also tried ${project.scm.url} and that did not work.
Hide
Olivier Lamy added a comment -

project is here a reference to org.apache.maven.continuum.model.project.Project not to a maven project.
That's why ${project.scm.url} doesn't work.
Have you try with ${project.scmUrl} ?

Show
Olivier Lamy added a comment - project is here a reference to org.apache.maven.continuum.model.project.Project not to a maven project. That's why ${project.scm.url} doesn't work. Have you try with ${project.scmUrl} ?
Hide
Bryan Madsen added a comment -

${project.scmUrl} does work. This may be more of a documentation issue. I thought "project" referred to the pom "project". What are the possible values for the Continuum "project" and "build" attributes? Is there documentation that describes this?

Show
Bryan Madsen added a comment - ${project.scmUrl} does work. This may be more of a documentation issue. I thought "project" referred to the pom "project". What are the possible values for the Continuum "project" and "build" attributes? Is there documentation that describes this?
Hide
Olivier Lamy added a comment -

Emmanuel,
No way to have continuum-model javadoc here http://maven.apache.org/continuum/ref/latest/apidocs/index.html ?

Show
Olivier Lamy added a comment - Emmanuel, No way to have continuum-model javadoc here http://maven.apache.org/continuum/ref/latest/apidocs/index.html ?

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: