Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2013-10-02 23:59:08 +0000
committerRoberto E. Escobar2013-10-04 22:33:46 +0000
commit1f6d3b198c98d065512c59dfdb402bf94b69bc36 (patch)
treeb9bd749145e2da958c4e8eeb1fc030f6fdd391b3 /plugins/org.eclipse.osee.x.server.integration.tests
parent99268ace985ce2bf13ae0ee15f2617664585af3b (diff)
downloadorg.eclipse.osee-1f6d3b198c98d065512c59dfdb402bf94b69bc36.tar.gz
org.eclipse.osee-1f6d3b198c98d065512c59dfdb402bf94b69bc36.tar.xz
org.eclipse.osee-1f6d3b198c98d065512c59dfdb402bf94b69bc36.zip
feature[ats_7KQYW]: Zip build benchmark test results
Diffstat (limited to 'plugins/org.eclipse.osee.x.server.integration.tests')
-rw-r--r--plugins/org.eclipse.osee.x.server.integration.tests/assembly/benchmark-assembly.xml19
-rw-r--r--plugins/org.eclipse.osee.x.server.integration.tests/pom.xml22
2 files changed, 38 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/assembly/benchmark-assembly.xml b/plugins/org.eclipse.osee.x.server.integration.tests/assembly/benchmark-assembly.xml
new file mode 100644
index 0000000000..93f71083a6
--- /dev/null
+++ b/plugins/org.eclipse.osee.x.server.integration.tests/assembly/benchmark-assembly.xml
@@ -0,0 +1,19 @@
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <baseDirectory>/</baseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}/contiperf-report/</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/pom.xml b/plugins/org.eclipse.osee.x.server.integration.tests/pom.xml
index f8f3b87445..34cf867d86 100644
--- a/plugins/org.eclipse.osee.x.server.integration.tests/pom.xml
+++ b/plugins/org.eclipse.osee.x.server.integration.tests/pom.xml
@@ -60,7 +60,7 @@
</plugins>
</build>
</profile>
- <profile>
+ <profile>
<id>osee-server-int-test-remote-server</id>
<activation>
<activeByDefault>false</activeByDefault>
@@ -125,7 +125,8 @@
value="${project.build.directory}/server-data" />
<property name="xserver-log-config" value="${project.basedir}/logback-test.xml" />
- <property name="xserver-db-home" value="file:${xserver-project}/target/server/demo/hsql/osee.hsql.db" />
+ <property name="xserver-db-home"
+ value="file:${xserver-project}/target/server/demo/hsql/osee.hsql.db" />
<property name="xserver-db-name" value="osee-test-db" />
<property name="xserver-db-username" value="public" />
<property name="xserver-db-password" value="" />
@@ -136,7 +137,7 @@
<property name="additionalJvmArgs" value=" " />
<property name="xserver-log-output" value="${xserver-data}/server-output.log" />
-
+
<mkdir dir="${xserver-data}" />
<ant antfile="osee-application-server.xml" target="run"
inheritRefs="true" output="${xserver-log-output}" />
@@ -171,6 +172,21 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptor>${project.basedir}/assembly/benchmark-assembly.xml</descriptor>
+ <finalName>${project.artifactId}.benchmarks</finalName>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>

Back to the top