Skip to content

Commit e33c4f3

Browse files
Updated Jenkinsfile
1 parent a12d5e1 commit e33c4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ String platform='ReactJS';
1717
{
1818
checkout scm
1919

20-
def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/reactjs-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

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

0 commit comments

Comments
 (0)