Continuum
  1. Continuum
  2. CONTINUUM-2437

SCM tag field is not propagated to buildagent

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.4 (Beta)
    • Fix Version/s: 1.3.6
    • Component/s: Distributed Builds
    • Labels:
      None
    • Environment:
      Linux Red Hat EL 5.4, Sun java 1.6.0_04
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      The build agent never receives the SCM branch/tag field when building

      I am using continuum 1.3.4. The pom file looks like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>

      <groupId>starteam-test</groupId>
      <artifactId>starteam-test</artifactId>
      <version>1</version>
      <packaging>jar</packaging>
      <name>Starteam Checkout by Label</name>
      <scm>
      <connection>scm:starteam:user:pass@server:49201:/nonexistent</connection>
      <tag>starteam-label-name</tag>
      </scm>
      </project>

      And the result in the continuum-buildagent.log is this:

      INFO scmManager - Command line: /bin/sh -c stcmd co -x -nologo -stop -p user@server:49201/nonexistent -fp /usr/local/applications/data/working-directory/704 -is -eol on

      The command line would have included "-vl starteam-label-name" if the SCM tag was used.

        Activity

        Hide
        Maria Catherine Tan added a comment -

        Hi Alftheo,

        Could you also include a test for this so I can apply this already. It can be a selenium test if you want.

        Thanks!

        Show
        Maria Catherine Tan added a comment - Hi Alftheo, Could you also include a test for this so I can apply this already. It can be a selenium test if you want. Thanks!
        Hide
        Maria Catherine Tan added a comment -

        patch applied in r915617 of 1.3.x branch and r915640 of trunk.

        Thanks Alftheo

        Show
        Maria Catherine Tan added a comment - patch applied in r915617 of 1.3.x branch and r915640 of trunk. Thanks Alftheo
        Hide
        Maria Catherine Tan added a comment -

        also added selenium test

        r915623 of 1.3.x branch
        r915708 of trunk

        Show
        Maria Catherine Tan added a comment - also added selenium test r915623 of 1.3.x branch r915708 of trunk

          People

          • Assignee:
            Maria Catherine Tan
            Reporter:
            Alftheo Potgieter
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: