We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5507e2 + 446ef11 commit 9004e59Copy full SHA for 9004e59
Jenkinsfile
@@ -17,7 +17,7 @@ String platform='JavaScript';
17
{
18
checkout scm
19
20
- def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/JavaScript-docs/pulls/'+env.pullRequestId+'/files'
+ def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files'
21
String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit
22
23
def ChangeFiles= branchCommitDetails.split('"filename": ');
0 commit comments