From 1602fd1332d15ca1f80504dad423abab5370b0c0 Mon Sep 17 00:00:00 2001 From: Edberg-Vasan <104352008+Edberg-Vasan@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:21:59 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 26dbebe4..2f185eb9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ timestamps { checkout scm - def branchCommit = '"'+'https://api.github.com/repos/syncfusion-content/asp.net-core-docs/pulls/'+env.pullRequestId+'/changes' + def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files' String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit def ChangeFiles= branchCommitDetails.split('"filename": ');