Can I determine repository workspace from ANT script?
One answer
John,
what do you want to achieve?
You can output the properties you get passed. The repository workspace UUID is in team.scm.workspaceUUID.
#Mon Aug 22 15:34:56 CEST 2016
team.scm.includeComponents=false
repositoryAddress=https\://clm.example.com\:9443/ccm/
team.scm.fetchDestination=JKEBuild\\I20160822-1534
buildDefinitionId=jke.dev
buildLabelPrefix=I
buildEngineHostName=IBM307-R909ZLFG
team.scm.loadComponents=
com.ibm.team.build.internal.template.id=com.ibm.team.build.ant
team.scm.buildOnlyIfChanges=true
outputRootDirectory=JKEBuild
team.scm.createFoldersForComponents=false
team.scm.workspaceUUID=_FdI4gLLtEeWDIeAzTW_Bmg
buildEngineId=jke.dev.engine
buildLabel=I20160822-1534
requestUUID=_MMEwcGhtEeaD9OIN0qZrCg
buildRequesterUserId=ralph
buildResultUUID=_MMEwcWhtEeaD9OIN0qZrCg
team.scm.acceptBeforeFetch=true
team.scm.deleteDestinationBeforeFetch=true
team.scm.componentLoadRules=
com.ibm.team.build.internal.engine.monitoring.threshold=3
team.scm.snapshotUUID=_MbXwsGhtEeaD9OIN0qZrCg
what do you want to achieve?
You can output the properties you get passed. The repository workspace UUID is in team.scm.workspaceUUID.
#Mon Aug 22 15:34:56 CEST 2016
team.scm.includeComponents=false
repositoryAddress=https\://clm.example.com\:9443/ccm/
team.scm.fetchDestination=JKEBuild\\I20160822-1534
buildDefinitionId=jke.dev
buildLabelPrefix=I
buildEngineHostName=IBM307-R909ZLFG
team.scm.loadComponents=
com.ibm.team.build.internal.template.id=com.ibm.team.build.ant
team.scm.buildOnlyIfChanges=true
outputRootDirectory=JKEBuild
team.scm.createFoldersForComponents=false
team.scm.workspaceUUID=_FdI4gLLtEeWDIeAzTW_Bmg
buildEngineId=jke.dev.engine
buildLabel=I20160822-1534
requestUUID=_MMEwcGhtEeaD9OIN0qZrCg
buildRequesterUserId=ralph
buildResultUUID=_MMEwcWhtEeaD9OIN0qZrCg
team.scm.acceptBeforeFetch=true
team.scm.deleteDestinationBeforeFetch=true
team.scm.componentLoadRules=
com.ibm.team.build.internal.engine.monitoring.threshold=3
team.scm.snapshotUUID=_MbXwsGhtEeaD9OIN0qZrCg