Skip to content

Commit ff682a6

Browse files
Merge pull request #353 from Syncfusion-Content/development
DOCINFRA-2341_merged_using_automation
2 parents e5d24c6 + b08e057 commit ff682a6

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='Angular';
1717
{
1818
checkout scm
1919

20-
def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/angular-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)