From 0445f4044d7c534e131a9ea4c28d2de55fb4d950 Mon Sep 17 00:00:00 2001 From: Edberg-Vasan <104352008+Edberg-Vasan@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:22:59 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9faab419..6d3fb6f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ String platform='ASP.NET MVC'; { checkout scm - def branchCommit = '"'+'https://api.github.com/repos/syncfusion-content/asp.netmvc-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": ');