@@ -21,10 +21,6 @@ stage ('http_scale_test') {
21
21
sh " wget ${ HTTP_TEST_PROPERTY_FILE} -O ${ property_file_name} "
22
22
sh " cat ${ property_file_name} "
23
23
def http_properties = readProperties file : property_file_name
24
- def skip_tls = http_properties[' SKIP_TLS_VERIFICATION' ]
25
- def cluster_user = http_properties[' CLUSTER_USER' ]
26
- def cluster_password = http_properties[' CLUSTER_PASSWORD' ]
27
- def cluster_api_url = http_properties[' CLUSTER_API_URL' ]
28
24
def sshkey_token = http_properties[' SSHKEY_TOKEN' ]
29
25
def orchestration_host = http_properties[' ORCHESTRATION_HOST' ]
30
26
def orchestration_user = http_properties[' ORCHESTRATION_USER' ]
@@ -58,12 +54,8 @@ stage ('http_scale_test') {
58
54
def http_test_server_container_image = http_properties[' HTTP_TEST_SERVER_CONTAINER_IMAGE' ]
59
55
60
56
try {
61
- http_build = build job : ' ATS- SCALE-CI-HTTP' ,
57
+ http_build = build job : ' SCALE-CI-HTTP' ,
62
58
parameters : [ [$class : ' LabelParameterValue' , name : ' node' , label : node_label ],
63
- [$class : ' BooleanParameterValue' , name : ' SKIP_TLS_VERIFICATION' , value : Boolean . valueOf(skip_tls) ],
64
- [$class : ' StringParameterValue' , name : ' CLUSTER_USER' , value : cluster_user ],
65
- [$class : ' StringParameterValue' , name : ' CLUSTER_PASSWORD' , value : cluster_password ],
66
- [$class : ' StringParameterValue' , name : ' CLUSTER_API_URL' , value : cluster_api_url ],
67
59
[$class : ' StringParameterValue' , name : ' SSHKEY_TOKEN' , value : sshkey_token ],
68
60
[$class : ' StringParameterValue' , name : ' ORCHESTRATION_HOST' , value : orchestration_host ],
69
61
[$class : ' StringParameterValue' , name : ' ORCHESTRATION_USER' , value : orchestration_user ],
@@ -96,20 +88,20 @@ stage ('http_scale_test') {
96
88
[$class : ' StringParameterValue' , name : ' HTTP_TEST_STRESS_CONTAINER_IMAGE' , value : http_test_stress_container_image ],
97
89
[$class : ' StringParameterValue' , name : ' HTTP_TEST_SERVER_CONTAINER_IMAGE' , value : http_test_server_container_image ]]
98
90
} catch ( Exception e) {
99
- echo " ATS- SCALE-CI-HTTP Job failed with the following error: "
91
+ echo " SCALE-CI-HTTP Job failed with the following error: "
100
92
echo " ${ e.getMessage()} "
101
93
echo " Sending an email"
102
94
mail(
103
- to : ' nelluri @redhat.com' ,
104
- subject : ' ATS- SCALE-CI-HTTP job failed' ,
95
+ to : ' msheth @redhat.com' ,
96
+ subject : ' SCALE-CI-HTTP job failed' ,
105
97
body : """ \
106
98
Encoutered an error while running the ats-scale-ci-http job: ${ e.getMessage()} \n\n
107
99
Jenkins job: ${ env.BUILD_URL}
108
100
""" )
109
101
currentBuild. result = " FAILURE"
110
102
sh " exit 1"
111
103
}
112
- println " ATS- SCALE-CI-HTTP build ${ http_build.getNumber()} completed successfully"
104
+ println " SCALE-CI-HTTP build ${ http_build.getNumber()} completed successfully"
113
105
}
114
106
}
115
107
}
0 commit comments