forked from pfirmstone/JGDMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhudson.xml
114 lines (98 loc) · 4.44 KB
/
hudson.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<!--
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); you may not use this file except in compliance
! with the License. You may obtain a copy of the License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by applicable law or agreed to in writing, software
! distributed under the License is distributed on an "AS IS" BASIS,
! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! See the License for the specific language governing permissions and
! limitations under the License.
!-->
<project name="hudson" basedir="."
xmlns:as="antlib:org.codehaus.mojo.animal_sniffer" >
<target name="verify" depends="river-runtime,verify-15-sun"
description="River-verify entry">
</target>
<target name="river-trunk" description="River-trunk entry">
<ant>
<target name="hudson-ci" />
</ant>
</target>
<typedef uri="antlib:org.codehaus.mojo.animal_sniffer">
<classpath>
<fileset dir="dep-libs/animal-sniffer">
<include name="**/*.jar"/>
</fileset>
<fileset dir="dep-libs/asm">
<include name="**/*.jar"/>
</fileset>
</classpath>
</typedef>
<target name="river-runtime" >
<ant>
<target name="clean" />
<target name="river-runtime" />
</ant>
</target>
<macrodef name="verify-signature">
<attribute name="signature" />
<sequential>
<as:check-signature signature="@{signature}" >
<path path="dep-libs/asm/asm-tree-3.2.jar" />
<path path="lib" />
<path path="lib-dl" />
<ignore className="org.apache.velocity.app.VelocityEngine"/>
<ignore className="org.apache.velocity.VelocityContext"/>
<ignore className="org.apache.velocity.Template"/>
</as:check-signature>
</sequential>
</macrodef>
<target name="verify-14" >
<verify-signature signature="dep-libs/animal-sniffer/java14-1.0.signature" />
</target>
<target name="verify-14-sun" >
<verify-signature signature="dep-libs/animal-sniffer/java14-sun-1.0.signature" />
</target>
<target name="verify-15" >
<verify-signature signature="dep-libs/animal-sniffer/java15-1.0.signature" />
</target>
<target name="verify-15-sun" >
<verify-signature signature="dep-libs/animal-sniffer/java15-sun-1.0.signature" />
</target>
<target name="verify-15-ibm" >
<verify-signature signature="dep-libs/animal-sniffer/java15-ibm-1.0.signature" />
</target>
<target name="qa-runtime" description="build QA runtime" >
<ant dir="qa" inheritall="false">
<target name="clean" />
<target name="harness-runtime" />
</ant>
<delete file="harness-runtime.jar" />
<jar destfile="harness-runtime.jar" index="false">
<fileset dir=".">
<include name="lib/**" />
<include name="lib-dl/**"/>
<include name="lib-ext/**"/>
<include name="qa/lib/**" />
<include name="qa/lib-ext/**"/>
</fileset>
</jar>
</target>
<target name="run-qa" description="execute QA test" >
<property name="harness-runtime-src" value="https://hudson.apache.org/hudson/pview/job/River-QA-runtime/lastSuccessfulBuild/artifact/jtsk/trunk/harness-runtime.jar" />
<property name="harness-runtime-dst" value="harness-runtime.jar" />
<get src="${harness-runtime-src}" dest="${harness-runtime-dst}" />
<unzip src="${harness-runtime-dst}" dest="." />
<ant dir="qa" target="run-categories" inheritall="false">
<property name="run.categories" value="id,loader,policyprovider,locatordiscovery,activation,config,discoverymanager,joinmanager,url,iiop,jrmp,reliability,thread,renewalmanager,constraint,export,lookupdiscovery,servicediscovery,io,security,lookupservice,renewalservice,eventmailbox,jeri,start,discoveryservice,discoveryproviders,javaspace,txnmanager"/>
</ant>
</target>
</project>