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 79c088c + 1922f4e commit 7b4528fCopy full SHA for 7b4528f
Jenkinsfile
@@ -18,7 +18,7 @@ String platform='php';
18
{
19
checkout scm
20
21
- def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/php-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'
22
String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit
23
24
def ChangeFiles= branchCommitDetails.split('"filename": ');
0 commit comments