diff --git a/Jenkinsfile b/Jenkinsfile index faac13c..4fd563e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,8 @@ String platform='angular-api'; { checkout scm - def branchCommit = '"' + 'https://api.github.com/repos/syncfusion-content/angular-api-docs/pulls/' + env.pullRequestId + '/files' + def branchCommit = env.githubSourceRepoHttpUrl + '/pulls/' + env.pullRequestId + '/files' + echo "branchCommit is ${branchCommit}" String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit def ChangeFiles= branchCommitDetails.split('"filename": ');