diff --git a/Jenkinsfile b/Jenkinsfile index bba0f054c..b8c75d556 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ String platform='JavaScript'; { checkout scm - def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/JavaScript-docs/pulls/'+env.pullRequestId+'/files' + 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": ');