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": ');