diff --git a/Jenkinsfile b/Jenkinsfile index 6c08ec0728..6acaed9c29 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,10 @@ String platform='WPF'; checkout scm - def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files' + def page = 1 + while(true) + { + def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files?per_page=100^&page='+ page 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": '); @@ -28,7 +31,15 @@ String platform='WPF'; { def ChangeFile= ChangeFiles[i].split(',')[0].replace('"', '') Content += env.WORKSPACE + "\\Spell-Checker\\" + ChangeFile + "\r\n"; - } + } + + // Last page + if((ChangeFiles.size() - 1) < 100) + { + break + } + page++ + } if (Content) { diff --git a/wpf-toc.html b/wpf-toc.html index 9970c2a8df..7a36de2f58 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -8,21 +8,8 @@ System Requirements
  • - AI and Smart Tooling + AI Coding Assistants
  • Installation