blob: b2c30c550b7e417735342e4ff4fa35dafbca46ec [file] [log] [blame]
Devin Limf5175192018-05-14 19:13:22 -07001// Copyright 2017 Open Networking Foundation (ONF)
2//
3// Please refer questions to either the onos test mailing list at <onos-test@onosproject.org>,
4// the System Testing Plans and Results wiki page at <https://wiki.onosproject.org/x/voMg>,
5// or the System Testing Guide page at <https://wiki.onosproject.org/x/WYQg>
6//
7// TestON is free software: you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation, either version 2 of the License, or
10// (at your option) any later version.
11//
12// TestON is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16//
17// You should have received a copy of the GNU General Public License
18// along with TestON. If not, see <http://www.gnu.org/licenses/>.
19
20// This is the dependency Jenkins script.
21// This will initialize the paths of the jenkins file and paths.
22
Devin Limfe9a4cb2018-05-11 17:06:21 -070023#!groovy
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}
49return this;
50