Skip to content

Commit b2cbda9

Browse files
authored
Update Jenkinsfile
1 parent 7b4ea04 commit b2cbda9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ String platform='ej2-angular';
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/ej2-angular-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'
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)