Skip to content

Commit 9004e59

Browse files
Merge pull request #458 from Syncfusion-Content/development
DOCINFRA-2341_merged_using_automation
2 parents b5507e2 + 446ef11 commit 9004e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ String platform='JavaScript';
1717
{
1818
checkout scm
1919

20-
def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/JavaScript-docs/pulls/'+env.pullRequestId+'/files'
20+
def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files'
2121
String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit
2222

2323
def ChangeFiles= branchCommitDetails.split('"filename": ');

0 commit comments

Comments
 (0)