Skip to content

Commit 2d076db

Browse files
authored
Use HTTPS to request on the controller (#1941)
1 parent 0c3bfd7 commit 2d076db

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

jenkins_pipelines/environments/common/pipeline-build-validation.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -904,13 +904,13 @@ def cleanMigrationFeatureName(String feature) {
904904
}
905905

906906
/**
907-
* Fetches the HTML report path from the file exposed via HTTP on the controller
908-
* and logs the full HTTP link to the job steps.
907+
* Fetches the HTML report path from the file exposed via HTTPS on the controller
908+
* and logs the full HTTPS URL to the job steps.
909909
* * @param rake_target The rake target (e.g., build_validation_smoke_tests_NODETAG).
910910
*/
911911
def echoHtmlReportPath(String rake_target) {
912912
// Construct the full URL to the file containing the HTML path
913-
def path_export_url = "http://${env.controller_hostname}/results/${env.BUILD_NUMBER}/${rake_target}_html_path.txt"
913+
def path_export_url = "https://${env.controller_hostname}/results/${env.BUILD_NUMBER}/${rake_target}_html_path.txt"
914914

915915
def html_report_path = ''
916916
try {
@@ -921,8 +921,8 @@ def echoHtmlReportPath(String rake_target) {
921921
// The content is the full relative path to the HTML report
922922
html_report_path = response.content.trim()
923923

924-
// Construct and log the full HTTP URL for the actual report
925-
def full_html_url = "http://${env.controller_hostname}/${html_report_path}"
924+
// Construct and log the full HTTPS URL for the actual report
925+
def full_html_url = "https://${env.controller_hostname}/${html_report_path}"
926926
echo "HTML Report URL: ${full_html_url}"
927927
} else {
928928
echo "Warning: Failed to fetch HTML path file. HTTP Status: ${response.status}"

0 commit comments

Comments
 (0)