Skip to content

Commit 7627b17

Browse files
authored
Update Jenkinsfile
1 parent 4fe01e3 commit 7627b17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ String platform='Install';
1717
{
1818
checkout scm
1919

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/install-docs/pulls/'+env.pullRequestId+'/changes'
20+
def branchCommit = 'https://api.github.com/repos/syncfusion-content/'+env.githubSourceRepoHttpUrl.split('/')[env.githubSourceRepoHttpUrl.split('/').size() - 1]+'/pulls/' + env.pullRequestId + '/files'
21+
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)