File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ String platform='ej2-angular';
17
17
{
18
18
checkout scm
19
19
20
- // def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files'
21
- def branchCommit = ' " ' + ' https://api.github.com/repos/syncfusion-content/ej2-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'
21
+
22
22
String branchCommitDetails = bat returnStdout : true , script : ' curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit
23
23
24
24
def ChangeFiles = branchCommitDetails. split(' "filename": ' );
You can’t perform that action at this time.
0 commit comments