@@ -3,7 +3,7 @@ import groovy.transform.Field
3
3
properties([disableConcurrentBuilds(abortPrevious : true )])
4
4
@Field def DO_RUN = true
5
5
@Field def TARGET = " main"
6
- @Field def SCRIPT_LOCATION = " py_scripts /contrib/intel/jenkins"
6
+ @Field def SCRIPT_LOCATION = " upstream/libfabric /contrib/intel/jenkins"
7
7
@Field def RELEASE = false
8
8
@Field def BUILD_MODES = [" reg" , " dbg" , " dl" ]
9
9
@Field def PYTHON_VERSION = " 3.9"
@@ -123,21 +123,22 @@ def save_summary() {
123
123
"""
124
124
}
125
125
126
- def checkout_py_scripts () {
126
+ def checkout_upstream () {
127
+ def loc = " ${ env.WORKSPACE} /upstream/libfabric"
127
128
sh """
128
- if [[ ! -d ${ env.WORKSPACE} /py_scripts ]]; then
129
- mkdir ${ env.WORKSPACE } /py_scripts
129
+ if [[ ! -d ${ env.WORKSPACE} /upstream ]]; then
130
+ mkdir -p ${ loc }
130
131
else
131
- rm -rf ${ env.WORKSPACE} /py_scripts && mkdir ${ env.WORKSPACE } /py_scripts
132
+ rm -rf ${ env.WORKSPACE} /upstream && mkdir -p ${ loc }
132
133
fi
133
134
134
- git clone --branch ${ TARGET} ${ env.UPSTREAM} ${ env.WORKSPACE } /py_scripts
135
+ git clone --branch ${ TARGET} ${ env.UPSTREAM} ${ loc }
135
136
"""
136
137
}
137
138
138
139
def checkout_ci_resources () {
139
140
sh """
140
- if [[ ! -d ${ env.WORKSPACE} /py_scripts ]]; then
141
+ if [[ ! -d ${ env.WORKSPACE} /upstream ]]; then
141
142
mkdir ${ env.WORKSPACE} /ci_resources
142
143
else
143
144
rm -rf ${ env.WORKSPACE} /ci_resources && mkdir ${ env.WORKSPACE} /ci_resources
@@ -150,7 +151,7 @@ def checkout_ci_resources() {
150
151
151
152
def checkout_external_resources () {
152
153
checkout_ci_resources()
153
- checkout_py_scripts ()
154
+ checkout_upstream ()
154
155
}
155
156
156
157
def generate_diff (def branch_name , def output_loc ) {
0 commit comments