Skip to content

Commit 6ae10fa

Browse files
Moving pull request templates from Gitlab and updating Jenkinsfile with Github URL.
1 parent 9887d69 commit 6ae10fa

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.gitlab/.gitkeep

Whitespace-only changes.

.gitlab/merge_request_templates/.gitkeep

Whitespace-only changes.

Jenkinsfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ timestamps
1818
checkout scm
1919

2020
def branchCommit = '"' + 'https://gitlab.syncfusion.com/api/v4/projects/' + env.projectId + '/merge_requests/' + env.MergeRequestId + '/changes'
21-
String branchCommitDetails = bat returnStdout: true, script: 'curl -s --request GET --header PRIVATE-TOKEN:' + env.BuildAutomation_PrivateToken + " " + branchCommit
21+
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('\n')[2];
2424
ChangeFiles = ChangeFiles.split('"new_path":')
@@ -40,7 +40,7 @@ timestamps
4040
}
4141

4242
//Checkout the ug_spellchecker from development Source
43-
checkout([$class: 'GitSCM', branches: [[name: '*/development']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ug_spellchecker']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: env.gitlabCredentialId, url: 'https://gitlab.syncfusion.com/content/ug_spellchecker.git']]])
43+
checkout([$class: 'GitSCM', branches: [[name: '*/development']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ug_spellchecker']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: env.githubCredentialId, url: 'https://gitlab.syncfusion.com/content/ug_spellchecker.git']]])
4444

4545
}
4646

@@ -59,7 +59,7 @@ if(currentBuild.result != 'FAILURE')
5959
{
6060
gitlabCommitStatus("Build")
6161
{
62-
bat 'powershell.exe -ExecutionPolicy ByPass -File '+env.WORKSPACE+"/ug_spellchecker/build.ps1 -Script "+env.WORKSPACE+"/ug_spellchecker/build.cake -Target build -Platform \""+platform+"\" -Targetbranch "+env.gitlabTargetBranch+" -Branch "+'"'+env.gitlabSourceBranch+'"'
62+
bat 'powershell.exe -ExecutionPolicy ByPass -File '+env.WORKSPACE+"/ug_spellchecker/build.ps1 -Script "+env.WORKSPACE+"/ug_spellchecker/build.cake -Target build -Platform \""+platform+"\" -Targetbranch "+env.githubTargetBranch+" -Branch "+'"'+env.githubSourceBranch+'"'
6363
}
6464

6565
def files = findFiles(glob: '**/cireports/errorlogs/*.txt')

0 commit comments

Comments
 (0)