Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.3.4 (Beta)
-
None
-
Linux Red Hat EL 5.4, Sun java 1.6.0_04
-
Patch
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.