From 3945f19c89f23484925a77a19fc645f502fcabdc Mon Sep 17 00:00:00 2001 From: Build Automation Date: Sat, 13 Nov 2021 00:46:44 +0530 Subject: [PATCH 1/3] Updating the Jenkinsfile with Github URL. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9d4ba862..628c664b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ String platform='AngularJS'; checkout scm def branchCommit = '"' + 'https://gitlab.syncfusion.com/api/v4/projects/' + env.projectId + '/merge_requests/' + env.MergeRequestId + '/changes' - String branchCommitDetails = bat returnStdout: true, script: 'curl -s --request GET --header PRIVATE-TOKEN:' + env.BuildAutomation_PrivateToken + " " + 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('\n')[2]; ChangeFiles = ChangeFiles.split('"new_path":') @@ -39,7 +39,7 @@ String platform='AngularJS'; } //Checkout the ug_spellchecker from development Source - 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']]]) + 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']]]) } } @@ -56,7 +56,7 @@ if(currentBuild.result != 'FAILURE') { gitlabCommitStatus("Build") { - 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+'"' + 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+'"' } def files = findFiles(glob: '**/cireports/errorlogs/*.txt') From 35acf2d5507a08c5772ca7a982019a3dffa95fdc Mon Sep 17 00:00:00 2001 From: Kannan <74587271+kannans24@users.noreply.github.com> Date: Thu, 18 Nov 2021 15:42:00 +0530 Subject: [PATCH 2/3] Update Jenkinsfile Get the file changed. --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 628c664b..d35c0e87 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,11 +17,10 @@ String platform='AngularJS'; { checkout scm - def branchCommit = '"' + 'https://gitlab.syncfusion.com/api/v4/projects/' + env.projectId + '/merge_requests/' + env.MergeRequestId + '/changes' + def branchCommit = '"' + 'https://api.gitlab.com/repos/syncfusion-content/angularjs-docs/pulls/' + env.pullRequestId + '/files' String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' + env.GithubBuildAutomation_PrivateToken + " " + branchCommit - def ChangeFiles= branchCommitDetails.split('\n')[2]; - ChangeFiles = ChangeFiles.split('"new_path":') + def ChangeFiles= branchCommitDetails.split('"filename": '); for (int i= 1; i < ChangeFiles.size();i++) { @@ -39,7 +38,7 @@ String platform='AngularJS'; } //Checkout the ug_spellchecker from development Source - 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']]]) + checkout([$class: 'GitSCM', branches: [[name: '*/development']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ug_spellchecker']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: env.githubCredentialId, url: 'https://github.com/syncfusion-content/ug_spellchecker.git']]]) } } From 3c5bb859dbc59676d70e0100e152f1062cf285bc Mon Sep 17 00:00:00 2001 From: website automation Date: Tue, 14 Dec 2021 07:31:09 +0000 Subject: [PATCH 3/3] Added the release notes MD file and corresponding node entry in the TOC.html file for the 2021 Volume 4 Main - December 17, 2021 --- angularjs-toc.html | 2 +- angularjs/Release-Notes/v19.4.0.38.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 angularjs/Release-Notes/v19.4.0.38.md diff --git a/angularjs-toc.html b/angularjs-toc.html index 63cb9abf..c3278700 100644 --- a/angularjs-toc.html +++ b/angularjs-toc.html @@ -1217,7 +1217,7 @@
  • Release Notes -