Skip to content

Commit 1922f4e

Browse files
Updated Jenkinsfile
1 parent e9cffbb commit 1922f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ String platform='php';
1818
{
1919
checkout scm
2020

21-
def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/php-docs/pulls/'+env.pullRequestId+'/files'
21+
def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files'
2222
String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit
2323

2424
def ChangeFiles= branchCommitDetails.split('"filename": ');

0 commit comments

Comments
 (0)