File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ String platform='angular-api';
1717 {
1818 checkout scm
1919
20- def branchCommit = ' " ' + ' https://api.github.com/repos/syncfusion-content/angular-api-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 def ChangeFiles = branchCommitDetails. split(' "filename": ' );
2323 for (int i= 1 ; i < ChangeFiles . size();i++ )
You can’t perform that action at this time.
0 commit comments