blob: 6eb10610aa21545ba7c2d3fd33552ffa3a4d41fc [file] [log] [blame]
Devin Lime1346f42018-05-15 15:41:36 -07001#!groovy
2
Devin Limf5175192018-05-14 19:13:22 -07003// Copyright 2017 Open Networking Foundation (ONF)
4//
5// Please refer questions to either the onos test mailing list at <onos-test@onosproject.org>,
6// the System Testing Plans and Results wiki page at <https://wiki.onosproject.org/x/voMg>,
7// or the System Testing Guide page at <https://wiki.onosproject.org/x/WYQg>
8//
9// TestON is free software: you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation, either version 2 of the License, or
12// (at your option) any later version.
13//
14// TestON is distributed in the hope that it will be useful,
15// but WITHOUT ANY WARRANTY; without even the implied warranty of
16// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17// GNU General Public License for more details.
18//
19// You should have received a copy of the GNU General Public License
20// along with TestON. If not, see <http://www.gnu.org/licenses/>.
21
22// This is the dependency Jenkins script.
23// This will initialize the paths of the jenkins file and paths.
24
Devin Limf5175192018-05-14 19:13:22 -070025// init the paths for the directory
Devin Limfe9a4cb2018-05-11 17:06:21 -070026def initLocation(){
27 jenkinsFolder = "~/OnosSystemTest/TestON/JenkinsFile/"
28 rScriptLocation = jenkinsFolder + "wikiGraphRScripts/"
29 jenkinsWorkspace = "/var/jenkins/workspace/"
30 SCPFSpecificLocation = rScriptLocation + "SCPFspecificGraphRScripts/"
31 CHOScriptDir = "~/CHO_Jenkins_Scripts/"
32}
Devin Limf5175192018-05-14 19:13:22 -070033
34// init the paths for the files.
Devin Limfe9a4cb2018-05-11 17:06:21 -070035def initFiles(){
36 trendIndividual = rScriptLocation + "trendIndividualTest.R"
37 trendMultiple = rScriptLocation + "trendMultipleTests.R"
38 trendSCPF = rScriptLocation + "trendSCPF.R"
39 trendCHO = rScriptLocation + "trendCHO.R"
40 histogramMultiple = rScriptLocation + "histogramMultipleTestGroups.R"
41 pieMultiple = rScriptLocation + "pieMultipleTests.R"
42}
Devin Limf5175192018-05-14 19:13:22 -070043
44// init both directory and file paths.
Devin Limfe9a4cb2018-05-11 17:06:21 -070045def init(){
46 initLocation()
47 initFiles()
48}
Jon Hall6af749d2018-05-29 12:59:47 -070049
50return this
Devin Limfe9a4cb2018-05-11 17:06:21 -070051