diff --git a/deploy/jenkins/jenkins-plugins-setup.sh b/deploy/jenkins/jenkins-plugins-setup.sh index 3ec26f3be90d21b34920eeeab7546add2d184ae9..ad3851378df6bb9afe833823d553fa190ea77d78 100755 --- a/deploy/jenkins/jenkins-plugins-setup.sh +++ b/deploy/jenkins/jenkins-plugins-setup.sh @@ -4,13 +4,13 @@ normal=$(tput sgr0) if [[ ! -d /var/lib/jenkins/.m2 ]]; then echo -e "\n\e[0;32m${bold}Downloading and copying m2 directory to Jenkins ${normal}" -wget https://sunbirdpublic.blob.core.windows.net/installation/m2.tar -tar -xf m2.tar +wget https://sunbirdpublic.blob.core.windows.net/installation/m2-slim.tar +tar -xf m2-slim.tar mv .m2 /var/lib/jenkins chown -R jenkins:jenkins /var/lib/jenkins/.m2 else -wget https://sunbirdpublic.blob.core.windows.net/installation/m2.tar -tar -xf m2.tar +wget https://sunbirdpublic.blob.core.windows.net/installation/m2-slim.tar +tar -xf m2-slim.tar cp -rf .m2/* /var/lib/jenkins/.m2/ chown -R jenkins:jenkins /var/lib/jenkins/.m2 fi diff --git a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/Badger/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/Badger/config.xml deleted file mode 100644 index 6e2ea4303735970418caf005008ab0b6a19a72f7..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/Badger/config.xml +++ /dev/null @@ -1,108 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>Build/Core/Badger</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description> - <defaultValue/> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>artifact_source</name> - <description><font color=dimgray size=2><b> -ArtifactRepo - Push the docker image to container registry. -</b></font></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>ArtifactRepo</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec/> - <upstreamProjects>/Build/Core/Badger</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${public_repo_branch}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/upload/docker/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/Config/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/Config/config.xml deleted file mode 100644 index 874765187c01e16d066feb96dbb84573347c760d..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/Config/config.xml +++ /dev/null @@ -1,108 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>Build/Core/Config</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description> - <defaultValue/> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>artifact_source</name> - <description><font color=dimgray size=2><b> -ArtifactRepo - Push the docker image to container registry. -</b></font></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>ArtifactRepo</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec/> - <upstreamProjects>/Build/Core/Config</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${public_repo_branch}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/upload/docker/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/UserOrg/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/UserOrg/config.xml deleted file mode 100644 index 103b8d979e25a0ad18f8b2492d506a6b0ed64ca6..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/Core/jobs/UserOrg/config.xml +++ /dev/null @@ -1,108 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>Build/Core/UserOrg</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description> - <defaultValue/> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>artifact_source</name> - <description><font color=dimgray size=2><b> -ArtifactRepo - Push the docker image to container registry. -</b></font></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>ArtifactRepo</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec/> - <upstreamProjects>/Build/Core/UserOrg</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${public_repo_branch}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/upload/docker/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Badger/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Badger/config.xml deleted file mode 100644 index 0c80df220dc6d6693303366dbbe0dcc48fd36a06..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Badger/config.xml +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.36"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, latest code will be built. Specify github tag name to build from a tag.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - <configVersion>1</configVersion> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <hudson.triggers.SCMTrigger> - <spec>H/15 * * * *</spec> - <ignorePostCommitHooks>false</ignorePostCommitHooks> - </hudson.triggers.SCMTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="workflow-cps@2.75"> - <script>node(){ - build_tag="1.8.0-gold" - name="badger" - node=env.NODE_NAME - org=env.hub_org - - sh """ - docker pull sunbird/${name}:${build_tag} - docker tag sunbird/${name}:${build_tag} ${org}/${name}:${build_tag} - """ -writeFile file: 'metadata.json', text: '{ "image_name" : "' + name + '", "image_tag" : "' + build_tag + '", "node_name" : "' + node + '"}' - - archiveArtifacts artifacts: 'metadata.json', onlyIfSuccessful: true -}</script> - <sandbox>true</sandbox> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Bot/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Bot/config.xml index 2f929ce380b65990dbc7e94de6552680db0847df..cf45e95b680b55d9f805f463ec417792b4d4679b 100644 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Bot/config.xml +++ b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Bot/config.xml @@ -38,19 +38,21 @@ <trim>true</trim> </hudson.model.StringParameterDefinition> <hudson.model.StringParameterDefinition> - <name>diksha_bot_tag</name> - <description><font color=red size=2><b> If the value is blank, master branch will be copied from diksha private repo. Specify github tag name to build from a tag <br> + <name>private_bot_tag</name> + <description><font color=red size=2><b> If the value is blank, master branch will be copied from bot private repo. Specify github tag name to build from a tag <br> keep empty to build from master <br> + <br> + keep empty if there is no bot private repo <br> </b></font></description> <defaultValue/> <trim>false</trim> </hudson.model.StringParameterDefinition> <hudson.model.ChoiceParameterDefinition> - <name>diksha_bot_repo</name> - <description/> + <name>private_bot_repo</name> + <description><font color=red size=3><b> keep empty if there is no bot private repo</description> <choices class="java.util.Arrays$ArrayList"> <a class="string-array"> - <string>https://github.com/DIKSHA-NCTE/Diksha-Bot.git</string> + <string/> </a> </choices> </hudson.model.ChoiceParameterDefinition> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/CloudStorageSDK/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/CloudStorageSDK/config.xml deleted file mode 100644 index 8fc15e8756f54f34ff06233d4a3915787b6078ed..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/CloudStorageSDK/config.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.31"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.20"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.29"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, latest code will be built. Specify github tag name to build from a tag.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <hudson.triggers.SCMTrigger> - <spec>H/15 * * * *</spec> - <ignorePostCommitHooks>false</ignorePostCommitHooks> - </hudson.triggers.SCMTrigger> - </triggers> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.63"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-cloud-storage-sdk.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${github_release_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>true</disabled> -</flow-definition> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Config/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Config/config.xml deleted file mode 100644 index 842c70c411018a79bf76dc66f766bd31954719d5..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Config/config.xml +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.31"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.20"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.29"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, latest code will be built. Specify github tag name to build from a tag.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - <configVersion>1</configVersion> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <hudson.triggers.SCMTrigger> - <spec>H/15 * * * *</spec> - <ignorePostCommitHooks>false</ignorePostCommitHooks> - </hudson.triggers.SCMTrigger> - </triggers> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.63"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-config.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${github_release_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>true</disabled> -</flow-definition> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Content/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Content/config.xml index c0ac7d0449ca9027fcd10c8d4f8e2d3e543d962c..746733e67fcf818005fd539a416cc164e007ef9b 100644 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Content/config.xml +++ b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Content/config.xml @@ -39,7 +39,7 @@ </hudson.model.StringParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> @@ -59,7 +59,7 @@ </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> @@ -71,6 +71,9 @@ <name>${github_release_tag}</name> </hudson.plugins.git.BranchSpec> </branches> + <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> + <submoduleCfg class="list"/> + <extensions/> </scm> <scriptPath>build/content-service/Jenkinsfile</scriptPath> <lightweight>false</lightweight> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/DiscussionsMiddleware/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/DiscussionsMiddleware/config.xml index c78e9744d99e0894cc91dcd2ab89f86e7bcd5c2c..9565409bffa768d2bff1acb528cebc6f5446424e 100644 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/DiscussionsMiddleware/config.xml +++ b/deploy/jenkins/jobs/Build/jobs/Core/jobs/DiscussionsMiddleware/config.xml @@ -39,7 +39,7 @@ </hudson.model.StringParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> @@ -59,7 +59,7 @@ </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> @@ -71,6 +71,9 @@ <name>${github_release_tag}</name> </hudson.plugins.git.BranchSpec> </branches> + <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> + <submoduleCfg class="list"/> + <extensions/> </scm> <scriptPath>Jenkinsfile</scriptPath> <lightweight>false</lightweight> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Nodebb/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Nodebb/config.xml index 9b2c31fc0f22ec436cb4e989c1774369d0d96624..ca230f61bd461e3082178ed6755b78147ffa1b22 100644 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Nodebb/config.xml +++ b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Nodebb/config.xml @@ -38,7 +38,7 @@ </hudson.model.StringParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> @@ -49,11 +49,16 @@ </hudson.plugins.throttleconcurrents.ThrottleJobProperty> <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> + <triggers> + <hudson.triggers.SCMTrigger> + <spec>15 * * * *</spec> + <ignorePostCommitHooks>false</ignorePostCommitHooks> + </hudson.triggers.SCMTrigger> + </triggers> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> @@ -65,6 +70,9 @@ <name>${github_release_tag}</name> </hudson.plugins.git.BranchSpec> </branches> + <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> + <submoduleCfg class="list"/> + <extensions/> </scm> <scriptPath>Jenkinsfile</scriptPath> <lightweight>false</lightweight> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/OfflineInstaller/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/OfflineInstaller/config.xml deleted file mode 100644 index 18e092b87309b6a442543d822fef3e0dd0100939..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/OfflineInstaller/config.xml +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.22"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font style="color:dimgray;font-size:14px;"><b> -<li>To build from a tag, use refs/tags/github_tag</li> -<li>To build from a branch, use refs/heads/github_branch</li> -<li>Usually this input does not require any changes, unless you want to build from a differnt branch / tag</li> -<li>The default value of ${public_repo_branch} will be the release / tag version set in global configuration</li> -<li>To build from a differnt branch, replace the ${public_repo_branch} with your branch</li> -</b></font></description> - <defaultValue>refs/heads/${public_repo_branch}</defaultValue> - <trim>true</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/Sunbird-Ed/SunbirdEd-portal.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${github_release_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - </scm> - <scriptPath>Jenkinsfile.desktop</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/PlatformCoursesFunctionalTest/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/PlatformCoursesFunctionalTest/config.xml deleted file mode 100644 index b0634c473d5d9aa9aa1c3918ca2077175e6b96bc..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/PlatformCoursesFunctionalTest/config.xml +++ /dev/null @@ -1,83 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font style="color:dimgray;font-size:14px;"><b> -<li>To build from a tag, use refs/tags/github_tag</li> -<li>To build from a branch, use refs/heads/github_branch</li> -<li>Usually this input does not require any changes, unless you want to build from a differnt branch / tag</li> -<li>The default value of ${public_repo_branch} will be the release / tag version set in global configuration</li> -<li>To build from a differnt branch, replace the ${public_repo_branch} with your branch</li> -</b></font></description> - <defaultValue>refs/heads/${public_repo_branch}</defaultValue> - <trim>true</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <hudson.triggers.TimerTrigger> - <spec>H 0 * * *</spec> - </hudson.triggers.TimerTrigger> - <hudson.triggers.SCMTrigger> - <spec>H 23 * * *</spec> - <ignorePostCommitHooks>false</ignorePostCommitHooks> - </hudson.triggers.SCMTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-functional-tests.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${github_release_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - </scm> - <scriptPath>lms_service_api_test/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Player/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Player/config.xml index 2bdb6d3147faf88c254b4b82c050b01baf610472..6676f64404d5ce32e10a9104bfbdb1e27737a547 100644 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Player/config.xml +++ b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Player/config.xml @@ -97,10 +97,13 @@ <name>${github_release_tag}</name> </hudson.plugins.git.BranchSpec> </branches> + <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> + <submoduleCfg class="list"/> + <extensions/> </scm> <scriptPath>Jenkinsfile</scriptPath> <lightweight>false</lightweight> </definition> <triggers/> <disabled>false</disabled> -</flow-definition> +</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Router/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Router/config.xml index 9f98c0ca4de2ef548d6bf04496176d19617e0a5f..b4bd8f3a8a2760b017f8e3cf084982e4f63be81c 100644 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/Router/config.xml +++ b/deploy/jenkins/jobs/Build/jobs/Core/jobs/Router/config.xml @@ -38,19 +38,21 @@ <trim>true</trim> </hudson.model.StringParameterDefinition> <hudson.model.StringParameterDefinition> - <name>diksha_bot_tag</name> - <description><font color=red size=2><b> If the value is blank, master branch will be copied from diksha private repo. Specify github tag name to build from a tag <br> + <name>private_bot_tag</name> + <description><font color=red size=2><b> If the value is blank, master branch will be copied from bot private repo. Specify github tag name to build from a tag <br> keep empty to build from master <br> + <br> + keep empty if there is no bot private repo <br> </b></font></description> <defaultValue/> <trim>false</trim> </hudson.model.StringParameterDefinition> <hudson.model.ChoiceParameterDefinition> - <name>diksha_bot_repo</name> - <description/> + <name>private_bot_repo</name> + <description><font color=red size=3><b> keep empty if there is no bot private repo</description> <choices class="java.util.Arrays$ArrayList"> <a class="string-array"> - <string>https://github.com/DIKSHA-NCTE/Diksha-Bot.git</string> + <string/> </a> </choices> </hudson.model.ChoiceParameterDefinition> diff --git a/deploy/jenkins/jobs/Build/jobs/Core/jobs/UserOrg/config.xml b/deploy/jenkins/jobs/Build/jobs/Core/jobs/UserOrg/config.xml deleted file mode 100644 index 67a25d802378e8854f0d4e6fe78e52dff9458766..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Build/jobs/Core/jobs/UserOrg/config.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>1</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, latest code will be built. Specify github tag name to build from a tag.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <hudson.triggers.SCMTrigger> - <spec>H/15 * * * *</spec> - <ignorePostCommitHooks>false</ignorePostCommitHooks> - </hudson.triggers.SCMTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-user-service.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${github_release_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/Oauth/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/Bootstrap/config.xml similarity index 76% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/Oauth/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/Bootstrap/config.xml index 6bbe79142af8d2343f0e60c62d5d31b3b97750ec..76712ca41fd253cc1761b0b1d57e1612c89bc4c9 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/Oauth/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/Bootstrap/config.xml @@ -1,5 +1,5 @@ <?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.33"> +<flow-definition plugin="workflow-job@2.31"> <actions/> <description></description> <keepDependencies>false</keepDependencies> @@ -12,20 +12,25 @@ <artifactNumToKeep>2</artifactNumToKeep> </strategy> </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> + <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.29"> <autoRebuild>false</autoRebuild> <rebuildDisabled>false</rebuildDisabled> </com.sonyericsson.rebuild.RebuildSettings> <hudson.model.ParametersDefinitionProperty> <parameterDefinitions> + <hudson.model.StringParameterDefinition> + <name>hosts</name> + <description><font color=dimgray size=2><b>Enter the host name to be bootstrapped.</b></font></description> + <defaultValue>all</defaultValue> + <trim>false</trim> + </hudson.model.StringParameterDefinition> <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> <name>private_branch</name> <description></description> - <randomName>choice-parameter-186759255678992</randomName> + <randomName>choice-parameter-2544395024638227</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.62"> + <secureScript plugin="script-security@1.53"> <script>if (override_private_branch.equals("true")) { return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" } @@ -33,12 +38,12 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.62"> + <secureFallbackScript plugin="script-security@1.53"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> </script> - <projectName>Oauth</projectName> + <projectName>Bootstrap</projectName> <parameters class="linked-hash-map"/> <referencedParameters></referencedParameters> <choiceType>ET_FORMATTED_HTML</choiceType> @@ -47,10 +52,10 @@ return """<b>This parameter is not used</b>"&quo <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> <name>branch_or_tag</name> <description></description> - <randomName>choice-parameter-186759262347032</randomName> + <randomName>choice-parameter-2620434998790477</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.62"> + <secureScript plugin="script-security@1.53"> <script>if (override_public_branch.equals("true")) { return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; @@ -59,27 +64,17 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.62"> + <secureFallbackScript plugin="script-security@1.53"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> </script> - <projectName>Oauth</projectName> + <projectName>Bootstrap</projectName> <parameters class="linked-hash-map"/> <referencedParameters></referencedParameters> <choiceType>ET_FORMATTED_HTML</choiceType> <omitValueField>true</omitValueField> </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.ChoiceParameterDefinition> - <name>tag</name> - <description></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>stack-oauth</string> - <string>stack-kibana</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> @@ -92,8 +87,8 @@ return """<b>This parameter is not used</b>"&quo <paramsToUseForLimit></paramsToUseForLimit> </hudson.plugins.throttleconcurrents.ThrottleJobProperty> </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.73"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.11.0"> + <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.63"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> @@ -107,19 +102,11 @@ return """<b>This parameter is not used</b>"&quo </branches> <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> + <extensions/> </scm> - <scriptPath>pipelines/deploy/oauth/Jenkinsfile</scriptPath> + <scriptPath>pipelines/bootstrap/Jenkinsfile</scriptPath> <lightweight>false</lightweight> </definition> <triggers/> <disabled>false</disabled> -</flow-definition> \ No newline at end of file +</flow-definition> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/CF-QUML_Migration_Script/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/CF-QUML_Migration_Script/config.xml deleted file mode 100644 index e633d3a3f8486e428342a4c8ffb4e33aefcca25e..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/CF-QUML_Migration_Script/config.xml +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions/> - <description>Migration from QUML version 0.5 to QUML version 1.0</description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>kp_search_service_base_path</name> - <description>kp_search_service_base_path http://11.2.6.6/search</description> - <defaultValue>http://11.2.6.6/search</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>kp_learning_service_base_path</name> - <description>kp_learning_service_base_path http://11.2.4.22:8080/learning-service</description> - <defaultValue>http://11.2.4.22:8080/learning-service</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>kp_assessment_service_base_path</name> - <description>kp_assessment_service_base_path: http://11.2.6.6/assessment</description> - <defaultValue>http://11.2.6.6/assessment</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>kp_content_service_base_path</name> - <description>kp_content_service_base_path http://11.2.6.6/content</description> - <defaultValue>http://11.2.6.6/content</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>github_release_tag</name> - <description><font color="red"><b>CAUTION: If the value is blank, latest code will be built. Specify github tag name to build from a tag</b></font></description> - <defaultValue/> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/Sunbird-Ed/SunbirdEd-portal.git.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/DiscussionsMiddleware/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/DiscussionsMiddleware/config.xml deleted file mode 100644 index b6b3651bb018392700e220522a02e5f92a3cae3f..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/DiscussionsMiddleware/config.xml +++ /dev/null @@ -1,150 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.22"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/Core/KnowledgeMW</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description> - <defaultValue/> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> - <name>private_branch</name> - <description/> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.75"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>DiscussionsMiddleware</projectName> - <projectFullName>Deploy/dev/Core/DiscussionsMiddleware</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters/> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> - <name>branch_or_tag</name> - <description/> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.75"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>DiscussionsMiddleware</projectName> - <projectFullName>Deploy/dev/Core/DiscussionsMiddleware</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters/> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec/> - <upstreamProjects>ArtifactUpload/dev/Core/KnowledgeMW</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.86"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.4.5"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/deploy/knowledge-mw-service/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/UserOrg/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/UserOrg/config.xml deleted file mode 100644 index c0cd9f5f4c66cd7f6bd25ec3323a52b4a673c589..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/UserOrg/config.xml +++ /dev/null @@ -1,148 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/Core/UserOrg</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.58"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.58"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>UserOrg</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.58"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.58"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>UserOrg</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec></spec> - <upstreamProjects>ArtifactUpload/dev/Core/UserOrg</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/deploy/userorg/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlineInstaller/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlineInstaller/config.xml deleted file mode 100644 index b51ad0803c4361725e2554bce74f1ae1c531557f..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlineInstaller/config.xml +++ /dev/null @@ -1,138 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.36"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>offlineInstaller</projectName> - <projectFullName>Deploy/dev/Core/offlineInstaller</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>offlineInstaller</projectName> - <projectFullName>Deploy/dev/Core/offlineInstaller</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.StringParameterDefinition> - <name>sunbirded_installer_branch_or_tag</name> - <description><font color=dimgray size=2><b>Provide the branch or tag of sunbirded offline installer repo [ <u>https://github.com/Sunbird-Ed/sunbird-desktop-app.git</u> ] for the build job.</b></font></description> - <defaultValue>release-2.6.0</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>offline_installer_type</name> - <description><font color=dimgray size=2><b>Choose the type of installer you wanted to build</b></font></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>linux64bit</string> - <string>windows64bit</string> - <string>windows32bit</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - <configVersion>1</configVersion> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.75"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.0.0"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/offlineinstaller/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>true</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlinewindowstest32/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlinewindowstest32/config.xml deleted file mode 100644 index 5d2d3a18258d42a39479d6e7d5f42394c8992d41..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlinewindowstest32/config.xml +++ /dev/null @@ -1,135 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.34"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.62"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.62"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>offlinewindowstest32</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.62"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.62"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>offlinewindowstest32</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.StringParameterDefinition> - <name>sunbirded_installer_branch_or_tag</name> - <description><font color=dimgray size=2><b>Provide the branch or tag of sunbirded offline installer repo [ <u>https://github.com/Sunbird-Ed/sunbird-desktop-app.git</u> ] for the build job.</b></font></description> - <defaultValue>release-2.1</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>offline_installer_type</name> - <description><font color=dimgray size=2><b>Choose the type of installer you wanted to build</b></font></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>windows32bit</string> - <string>windows64bit</string> - <string>linux64bit</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.73"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.12.0"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/offlineinstaller/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlinewindowstest64/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlinewindowstest64/config.xml deleted file mode 100644 index 137949d93ba3c30968c4e96d31976fde2058ade3..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/offlinewindowstest64/config.xml +++ /dev/null @@ -1,135 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.34"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.62"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.62"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>offlinewindowstest64</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.62"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.62"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>offlinewindowstest64</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.StringParameterDefinition> - <name>sunbirded_installer_branch_or_tag</name> - <description><font color=dimgray size=2><b>Provide the branch or tag of sunbirded offline installer repo [ <u>https://github.com/Sunbird-Ed/sunbird-desktop-app.git</u> ] for the build job.</b></font></description> - <defaultValue>release-2.1</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>offline_installer_type</name> - <description><font color=dimgray size=2><b>Choose the type of installer you wanted to build</b></font></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>windows64bit</string> - <string>windows32bit</string> - <string>linux64bit</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.73"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.12.0"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/offlineinstaller/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Druid_ingestion_health_check/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/DruidIngestionHealthCheck/config.xml similarity index 100% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Druid_ingestion_health_check/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/DruidIngestionHealthCheck/config.xml diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Druid_segment_health_check/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/DruidSegmentHealthCheck/config.xml similarity index 100% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Druid_segment_health_check/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/DruidSegmentHealthCheck/config.xml diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/MLWorkbench/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/MLWorkbench/config.xml deleted file mode 100644 index 4772e037c5122ea4ab33b8ee208a44cea6fb3cbc..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/MLWorkbench/config.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.31"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.20"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.29"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=black size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/DataPipeline/ml-workbench</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, latest built image will be deployed.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec></spec> - <upstreamProjects>ArtifactUpload/dev/DataPipeline/ml-workbench</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.63"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/deploy/ml-workbench/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Monitoring/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Monitoring/config.xml deleted file mode 100644 index c327603e74791faa694897830c8923b7e1228e21..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/Monitoring/config.xml +++ /dev/null @@ -1,139 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.22"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> - <name>private_branch</name> - <description/> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.75"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>Monitoring</projectName> - <projectFullName>Deploy/dev/DataPipeline/Monitoring</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters/> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> - <name>branch_or_tag</name> - <description/> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.75"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>Monitoring</projectName> - <projectFullName>Deploy/dev/DataPipeline/Monitoring</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters/> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.StringParameterDefinition> - <name>tag</name> - <description/> - <defaultValue/> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>kubeconfigpath</name> - <description/> - <defaultValue>/var/lib/jenkins/secrets/dp-k8s.yml</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.86"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.4.5"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-data-pipeline.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>kubernetes/pipelines/monitoring/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/InfraMonitoring/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/Monitoring/config.xml similarity index 94% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/InfraMonitoring/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/Monitoring/config.xml index 957182101826c5e4a0822d28ddeb93eb5b0db830..cc7259165a536b1252bf10d23868a2b944eca1b6 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/InfraMonitoring/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/Monitoring/config.xml @@ -22,7 +22,7 @@ <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> <name>private_branch</name> <description></description> - <randomName>choice-parameter-188158799721702</randomName> + <randomName>choice-parameter-188192452200864</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> <secureScript plugin="script-security@1.57"> @@ -47,12 +47,12 @@ return """<b>This parameter is not used</b>"&quo <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> <name>branch_or_tag</name> <description></description> - <randomName>choice-parameter-188158802464010</randomName> + <randomName>choice-parameter-188192454133057</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> <secureScript plugin="script-security@1.57"> <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-data-pipeline">project-sunbird/sunbird-data-pipeline</a></b></font></b></font>"""; +return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-learning-platform">project-sunbird/sunbird-learning-platform</a></b></font></b></font>"""; } else @@ -116,12 +116,12 @@ return """<b>This parameter is not used</b>"&quo <shallow>true</shallow> <noTags>false</noTags> <reference></reference> - <depth>1</depth> + <depth>0</depth> <honorRefspec>false</honorRefspec> </hudson.plugins.git.extensions.impl.CloneOption> </extensions> </scm> - <scriptPath>pipelines/deploy/monitor/DataPipeline/Jenkinsfile</scriptPath> + <scriptPath>pipelines/deploy/monitor/KnowledgePlatform/Jenkinsfile</scriptPath> <lightweight>false</lightweight> </definition> <triggers/> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/InternalKong/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/Search/config.xml similarity index 63% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/InternalKong/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/Search/config.xml index cef5783bf034f212fbafb27bc6c7d0e2b40bf676..bf385df218c3b6104d53631ab40a8d067527a62b 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/InternalKong/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/Search/config.xml @@ -29,14 +29,14 @@ <hudson.model.StringParameterDefinition> <name>absolute_job_path</name> <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/Core/APIManager</defaultValue> + <defaultValue>ArtifactUpload/dev/KnowledgePlatform/KnowledgePlatform</defaultValue> <trim>false</trim> </hudson.model.StringParameterDefinition> <org.biouno.unochoice.CascadeChoiceParameter plugin="uno-choice@2.2.1"> <name>artifact_source</name> <description><font color=dimgray size=2><b> ArtifactRepo - Download the artifact from azure blob, JenkinsJob - Use the atrifact from Jenkins job.</b></font></description> - <randomName>choice-parameter-9061667106947</randomName> + <randomName>choice-parameter-14760318274338</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> <secureScript plugin="script-security@1.66"> @@ -51,33 +51,69 @@ ArtifactRepo - Download the artifact from azure blob, JenkinsJob - Use the atrif <sandbox>false</sandbox> </secureFallbackScript> </script> - <projectName>InternalKong</projectName> - <projectFullName>Deploy/dev/DataPipeline/InternalKong</projectFullName> + <projectName>Search</projectName> + <projectFullName>Deploy/dev/KnowledgePlatform/Search</projectFullName> <parameters class="linked-hash-map"/> <referencedParameters></referencedParameters> <choiceType>PT_SINGLE_SELECT</choiceType> <filterable>false</filterable> <filterLength>1</filterLength> </org.biouno.unochoice.CascadeChoiceParameter> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.ChoiceParameterDefinition> - <name>option</name> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> + <name>build_number</name> + <description></description> + <randomName>choice-parameter-14760320375443</randomName> + <visibleItemCount>1</visibleItemCount> + <script class="org.biouno.unochoice.model.GroovyScript"> + <secureScript plugin="script-security@1.66"> + <script>if (artifact_source.equals("JenkinsJob")) { +return """<input name="value" value="lastSuccessfulBuild" class="setting-input" type="text"><br> <font color=darkgreen size=2><b>OPTIONAL: Specify the build number of ArtifactUpload job from which the artifact will be copied and deployed.</b></font>""" +} +else +{ +return "<b>Not Applicable</b>" +}</script> + <sandbox>false</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.66"> + <script></script> + <sandbox>false</sandbox> + </secureFallbackScript> + </script> + <projectName>Search</projectName> + <projectFullName>Deploy/dev/KnowledgePlatform/Search</projectFullName> + <parameters class="linked-hash-map"/> + <referencedParameters>artifact_source</referencedParameters> + <choiceType>ET_FORMATTED_HTML</choiceType> + <omitValueField>true</omitValueField> + </org.biouno.unochoice.DynamicReferenceParameter> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> + <name>artifact_version</name> <description></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>onboard-apis</string> - <string>onboard-consumers</string> - <string>deploy-internal-kong</string> - <string>provision-kong-db</string> - <string>bootstrap-swarm</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> + <randomName>choice-parameter-14760322347747</randomName> + <visibleItemCount>1</visibleItemCount> + <script class="org.biouno.unochoice.model.GroovyScript"> + <secureScript plugin="script-security@1.66"> + <script>if (artifact_source.equals("ArtifactRepo")) { +return """<input name="value" value="" class="setting-input" type="text"> <br> <font color=red size=2><b>CAUTION: If the value is blank, artifact version will be taken from the latest metadata.json.</b></font>""" +} +else { +return "<b>Not Applicable</b>" +}</script> + <sandbox>false</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.66"> + <script></script> + <sandbox>false</sandbox> + </secureFallbackScript> + </script> + <projectName>Search</projectName> + <projectFullName>Deploy/dev/KnowledgePlatform/Search</projectFullName> + <parameters class="linked-hash-map"/> + <referencedParameters>artifact_source</referencedParameters> + <choiceType>ET_FORMATTED_HTML</choiceType> + <omitValueField>true</omitValueField> + </org.biouno.unochoice.DynamicReferenceParameter> <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> <name>private_branch</name> <description></description> @@ -97,8 +133,8 @@ return """<b>This parameter is not used</b>"&quo <sandbox>false</sandbox> </secureFallbackScript> </script> - <projectName>InternalKong</projectName> - <projectFullName>Deploy/dev/DataPipeline/InternalKong</projectFullName> + <projectName>Search</projectName> + <projectFullName>Deploy/dev/KnowledgePlatform/Search</projectFullName> <parameters class="linked-hash-map"/> <referencedParameters></referencedParameters> <choiceType>ET_FORMATTED_HTML</choiceType> @@ -112,7 +148,7 @@ return """<b>This parameter is not used</b>"&quo <script class="org.biouno.unochoice.model.GroovyScript"> <secureScript plugin="script-security@1.66"> <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-data-pipeline">project-sunbird/sunbird-data-pipeline</a></b></font></b></font>"""; +return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-learning-platform">project-sunbird/sunbird-learning-platform</a></b></font></b></font>"""; } else @@ -124,8 +160,8 @@ return """<b>This parameter is not used</b>"&quo <sandbox>false</sandbox> </secureFallbackScript> </script> - <projectName>InternalKong</projectName> - <projectFullName>Deploy/dev/DataPipeline/InternalKong</projectFullName> + <projectName>Search</projectName> + <projectFullName>Deploy/dev/KnowledgePlatform/Search</projectFullName> <parameters class="linked-hash-map"/> <referencedParameters></referencedParameters> <choiceType>ET_FORMATTED_HTML</choiceType> @@ -143,7 +179,18 @@ return """<b>This parameter is not used</b>"&quo <paramsToUseForLimit></paramsToUseForLimit> </hudson.plugins.throttleconcurrents.ThrottleJobProperty> <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> + <triggers> + <jenkins.triggers.ReverseBuildTrigger> + <spec></spec> + <upstreamProjects>ArtifactUpload/dev/KnowledgePlatform/KnowledgePlatform</upstreamProjects> + <threshold> + <name>SUCCESS</name> + <ordinal>0</ordinal> + <color>BLUE</color> + <completeBuild>true</completeBuild> + </threshold> + </jenkins.triggers.ReverseBuildTrigger> + </triggers> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.75"> @@ -151,8 +198,7 @@ return """<b>This parameter is not used</b>"&quo <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/ekstep/sunbird-devops.git</url> - <credentialsId>githubPassword</credentialsId> + <url>https://github.com/project-sunbird/sunbird-learning-platform.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> @@ -172,7 +218,7 @@ return """<b>This parameter is not used</b>"&quo </hudson.plugins.git.extensions.impl.CloneOption> </extensions> </scm> - <scriptPath>pipelines/internal-kong/Jenkinsfile</scriptPath> + <scriptPath>pipelines/deploy/search/Jenkinsfile</scriptPath> <lightweight>false</lightweight> </definition> <triggers/> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Badger/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Badger/config.xml deleted file mode 100644 index a21614a8fbd8efe372fdf79eb2a3366ad3971b51..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Badger/config.xml +++ /dev/null @@ -1,156 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.36"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/Core/Badger</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>Badger</projectName> - <projectFullName>Deploy/dev/Kubernetes/Badger</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>Badger</projectName> - <projectFullName>Deploy/dev/Kubernetes/Badger</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.StringParameterDefinition> - <name>role_name</name> - <description></description> - <defaultValue>deploy-badger</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec></spec> - <upstreamProjects>ArtifactUpload/dev/Core/Badger</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.75"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.0.0"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>kubernetes/pipelines/deploy_core/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/BootstrapMongodb/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/BootstrapMongodb/config.xml similarity index 100% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/BootstrapMongodb/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/BootstrapMongodb/config.xml diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/DiscussionsMW/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/DiscussionsMW/config.xml index 9c9cc3c643bb95c1530fea9345aa7f9f7517729c..d9066b159cc66c81236d5839a59d828746c5f738 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/DiscussionsMW/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/DiscussionsMW/config.xml @@ -43,7 +43,7 @@ <randomName>choice-parameter-2544395024638227</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> + <secureScript plugin="script-security@1.76"> <script>if (override_private_branch.equals("true")) { return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" } @@ -51,7 +51,7 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.75"> + <secureFallbackScript plugin="script-security@1.76"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> @@ -69,7 +69,7 @@ return """<b>This parameter is not used</b>"""</script> <randomName>choice-parameter-2620434998790477</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> + <secureScript plugin="script-security@1.76"> <script>if (override_public_branch.equals("true")) { return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; @@ -78,7 +78,7 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.75"> + <secureFallbackScript plugin="script-security@1.76"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> @@ -101,7 +101,7 @@ return """<b>This parameter is not used</b>"""</script> </hudson.model.ChoiceParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> @@ -127,11 +127,11 @@ return """<b>This parameter is not used</b>"""</script> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/ntp-devops.git</url> + <url>https://github.com/project-sunbird/sunbird-devops.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/FuntionalTestCases/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/FuntionalTestCases/config.xml deleted file mode 100644 index 86917858d061044fc317f4273fc26ae6ca2fdf00..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/FuntionalTestCases/config.xml +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions> - <org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobAction plugin="pipeline-model-definition@1.6.0"/> - <org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction plugin="pipeline-model-definition@1.6.0"> - <jobProperties/> - <triggers/> - <parameters/> - <options/> - </org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <hudson.triggers.TimerTrigger> - <spec>H 23 * * *</spec> - </hudson.triggers.TimerTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-functional-tests.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>release-2.10.0</name> - </hudson.plugins.git.BranchSpec> - <hudson.plugins.git.BranchSpec> - <name>release-3.0.0</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions/> - </scm> - <scriptPath>Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Groups/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Groups/config.xml index b6cbc95e4da1a95f63a051bad0348334b9b6a8f5..7d53ae637714617f1b6b6803ef08b107f260d1e0 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Groups/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Groups/config.xml @@ -1,6 +1,6 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> + <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.22"> <jobPropertyDescriptors> <string>hudson.model.ParametersDefinitionProperty</string> <string>com.sonyericsson.rebuild.RebuildSettings</string> @@ -37,13 +37,13 @@ <defaultValue/> <trim>false</trim> </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.2"> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> <name>private_branch</name> <description/> <randomName>choice-parameter-2544395024638227</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.71"> + <secureScript plugin="script-security@1.76"> <script>if (override_private_branch.equals("true")) { return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" } @@ -51,7 +51,7 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.71"> + <secureFallbackScript plugin="script-security@1.76"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> @@ -63,13 +63,13 @@ return """<b>This parameter is not used</b>"""</script> <choiceType>ET_FORMATTED_HTML</choiceType> <omitValueField>true</omitValueField> </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.2"> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> <name>branch_or_tag</name> <description/> <randomName>choice-parameter-2620434998790477</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.71"> + <secureScript plugin="script-security@1.76"> <script>if (override_public_branch.equals("true")) { return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; @@ -78,7 +78,7 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.71"> + <secureFallbackScript plugin="script-security@1.76"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> @@ -101,7 +101,7 @@ return """<b>This parameter is not used</b>"""</script> </hudson.model.ChoiceParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> @@ -126,12 +126,12 @@ return """<b>This parameter is not used</b>"""</script> </triggers> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> + <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/ntp-devops.git</url> + <url>https://github.com/project-sunbird/sunbird-devops.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/KafkaSetup/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KafkaSetup/config.xml similarity index 100% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/KafkaSetup/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KafkaSetup/config.xml diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KeycloakMigration/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KeycloakMigration/config.xml index 0981b7800947ae1c3395664064d68e5544a1d307..a32fbf199bbc36df66a330d394424acc8e62b653 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KeycloakMigration/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KeycloakMigration/config.xml @@ -1,7 +1,6 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.36"> +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> <actions/> - <description></description> + <description/> <keepDependencies>false</keepDependencies> <properties> <jenkins.model.BuildDiscarderProperty> @@ -25,51 +24,51 @@ <defaultValue>ArtifactUpload/dev/Core/Keycloak</defaultValue> <trim>false</trim> </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.CascadeChoiceParameter plugin="uno-choice@2.2.1"> + <org.biouno.unochoice.CascadeChoiceParameter plugin="uno-choice@2.5.1"> <name>artifact_source</name> <description><font color=dimgray size=2><b> ArtifactRepo - Download the artifact from azure blob, JenkinsJob - Use the atrifact from Jenkins job.</b></font></description> <randomName>choice-parameter-9600649228560</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> + <secureScript plugin="script-security@1.76"> <script>return[ -'JenkinsJob', -'ArtifactRepo' +'JenkinsJob', +'ArtifactRepo' ]</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script></script> + <secureFallbackScript plugin="script-security@1.76"> + <script/> <sandbox>false</sandbox> </secureFallbackScript> </script> <projectName>KeycloakMigration</projectName> <projectFullName>Deploy/dev/Kubernetes/KeycloakMigration</projectFullName> <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> + <referencedParameters/> <choiceType>PT_SINGLE_SELECT</choiceType> <filterable>false</filterable> <filterLength>1</filterLength> </org.biouno.unochoice.CascadeChoiceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> <name>build_number</name> - <description></description> + <description/> <randomName>choice-parameter-9600651313765</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (artifact_source.equals("JenkinsJob")) { -return """<input name="value" value="lastSuccessfulBuild" class="setting-input" type="text"><br> <font color=darkgreen size=2><b>OPTIONAL: Specify the build number of ArtifactUpload job from which the artifact will be copied and deployed.</b></font>""" + <secureScript plugin="script-security@1.76"> + <script>if (artifact_source.equals("JenkinsJob")) { +return """<input name="value" value="lastSuccessfulBuild" class="setting-input" type="text"><br> <font color=darkgreen size=2><b>OPTIONAL: Specify the build number of ArtifactUpload job from which the artifact will be copied and deployed.</b></font>""" } else { -return "<b>Not Applicable</b>" +return "<b>Not Applicable</b>" }</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script></script> + <secureFallbackScript plugin="script-security@1.76"> + <script/> <sandbox>false</sandbox> </secureFallbackScript> </script> @@ -80,23 +79,23 @@ return "<b>Not Applicable</b>" <choiceType>ET_FORMATTED_HTML</choiceType> <omitValueField>true</omitValueField> </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> <name>artifact_version</name> - <description></description> + <description/> <randomName>choice-parameter-9600653373369</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (artifact_source.equals("ArtifactRepo")) { -return """<input name="value" value="" class="setting-input" type="text"> <br> <font color=red size=2><b>CAUTION: If the value is blank, artifact version will be taken from the latest metadata.json.</b></font>""" + <secureScript plugin="script-security@1.76"> + <script>if (artifact_source.equals("ArtifactRepo")) { +return """<input name="value" value="" class="setting-input" type="text"> <br> <font color=red size=2><b>CAUTION: If the value is blank, artifact version will be taken from the latest metadata.json.</b></font>""" } else { -return "<b>Not Applicable</b>" +return "<b>Not Applicable</b>" }</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script></script> + <secureFallbackScript plugin="script-security@1.76"> + <script/> <sandbox>false</sandbox> </secureFallbackScript> </script> @@ -107,53 +106,54 @@ return "<b>Not Applicable</b>" <choiceType>ET_FORMATTED_HTML</choiceType> <omitValueField>true</omitValueField> </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.1"> <name>private_branch</name> - <description></description> + <description/> <randomName>choice-parameter-2544395024638227</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" + <secureScript plugin="script-security@1.76"> + <script>if (override_private_branch.equals("true")) { +return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" } else -return """<b>This parameter is not used</b>"""</script> +return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> </script> <projectName>KeycloakMigration</projectName> <projectFullName>Deploy/dev/Kubernetes/KeycloakMigration</projectFullName> <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> + <referencedParameters/> <choiceType>ET_FORMATTED_HTML</choiceType> <omitValueField>true</omitValueField> </org.biouno.unochoice.DynamicReferenceParameter> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> <throttleEnabled>false</throttleEnabled> <throttleOption>project</throttleOption> <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> + <paramsToUseForLimit/> </hudson.plugins.throttleconcurrents.ThrottleJobProperty> + <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> <triggers/> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.75"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.0.0"> + <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/ntp-devops.git</url> + <url>https://github.com/project-sunbird/sunbird-devops.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/KeycloakRealm/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KeycloakRealm/config.xml similarity index 100% rename from deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Core/jobs/KeycloakRealm/config.xml rename to deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/KeycloakRealm/config.xml diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Player/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Player/config.xml index ca962611c76cb47eeedc966de0c087cb441a2c4f..541b1d523efbfa7a227d75cc4d7c304f6d15cbe5 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Player/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/Player/config.xml @@ -43,7 +43,7 @@ <randomName>choice-parameter-2544395024638227</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> + <secureScript plugin="script-security@1.76"> <script>if (override_private_branch.equals("true")) { return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" } @@ -51,7 +51,7 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.75"> + <secureFallbackScript plugin="script-security@1.76"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> @@ -69,7 +69,7 @@ return """<b>This parameter is not used</b>"""</script> <randomName>choice-parameter-2620434998790477</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.75"> + <secureScript plugin="script-security@1.76"> <script>if (override_public_branch.equals("true")) { return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; @@ -78,7 +78,7 @@ else return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.75"> + <secureFallbackScript plugin="script-security@1.76"> <script>return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureFallbackScript> @@ -101,7 +101,7 @@ return """<b>This parameter is not used</b>"""</script> </hudson.model.ChoiceParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.1"> <maxConcurrentPerNode>0</maxConcurrentPerNode> <maxConcurrentTotal>0</maxConcurrentTotal> <categories class="java.util.concurrent.CopyOnWriteArrayList"/> @@ -127,11 +127,11 @@ return """<b>This parameter is not used</b>"""</script> </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.2"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/ntp-devops.git</url> + <url>https://github.com/project-sunbird/sunbird-devops.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/UserOrg/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/UserOrg/config.xml deleted file mode 100644 index bb6a462579ca83f1206f93a29b335fe5f6565f07..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/UserOrg/config.xml +++ /dev/null @@ -1,159 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.36"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/Core/UserOrg</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>UserOrg</projectName> - <projectFullName>Deploy/dev/Kubernetes/UserOrg</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.66"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.66"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>UserOrg</projectName> - <projectFullName>Deploy/dev/Kubernetes/UserOrg</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.ChoiceParameterDefinition> - <name>role_name</name> - <description></description> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>sunbird-deploy</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers> - <jenkins.triggers.ReverseBuildTrigger> - <spec></spec> - <upstreamProjects>ArtifactUpload/dev/Core/UserOrg</upstreamProjects> - <threshold> - <name>SUCCESS</name> - <ordinal>0</ordinal> - <color>BLUE</color> - <completeBuild>true</completeBuild> - </threshold> - </jenkins.triggers.ReverseBuildTrigger> - </triggers> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.75"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.0.0"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>kubernetes/pipelines/deploy_core/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/redis/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/redis/config.xml deleted file mode 100644 index 073dd5a2b42b5ad0da224504585d2112bc365cfc..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/Kubernetes/jobs/redis/config.xml +++ /dev/null @@ -1,136 +0,0 @@ -<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.38"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description/> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.2"> - <name>private_branch</name> - <description/> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.71"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.71"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>redis</projectName> - <projectFullName>Deploy/dev/Kubernetes/redis</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters/> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.2"> - <name>branch_or_tag</name> - <description/> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.71"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.71"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>redis</projectName> - <projectFullName>Deploy/dev/Kubernetes/redis</projectFullName> - <parameters class="linked-hash-map"/> - <referencedParameters/> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <hudson.model.ChoiceParameterDefinition> - <name>role_name</name> - <description/> - <choices class="java.util.Arrays$ArrayList"> - <a class="string-array"> - <string>chatbot</string> - </a> - </choices> - </hudson.model.ChoiceParameterDefinition> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.2"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit/> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-bot.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference/> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/redis.Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/Health/config.xml b/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/Health/config.xml deleted file mode 100644 index 1cd2aa21a67314bb767f9da6eda3be83729020e9..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/Health/config.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions/> - </scm> - <scriptPath>pipelines/deploy/health-check/Jenkinsfile</scriptPath> - <lightweight>true</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/KeyRotation/config.xml b/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/KeyRotation/config.xml deleted file mode 100644 index c87f70872af64c8ede3e1d5b986f705634b59e70..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/KeyRotation/config.xml +++ /dev/null @@ -1,145 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>bootstrap_user</name> - <description><font color="black" size=2><b>Deployer user</b></font></description> - <defaultValue>deployer</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>bootstrap_user_public_key</name> - <description><font color="black" size=2><b>Deployer user public key keep in single quotes</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>ssh_user</name> - <description><font color="black" size=2><b>ops user</b></font></description> - <defaultValue>ops</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>ssh_private_file</name> - <description><font color="black" size=2><b>location of ssh key for ops user from '/'</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>ssh_public_key</name> - <description><font color="black" size=2><b>ops public key</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-189737247413523</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.57"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.57"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>KeyRotation</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-189737249857994</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.57"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.57"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>KeyRotation</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.66"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/bootstrap/Jenkinsfile.rotatekey</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> diff --git a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/KongMigration/config.xml b/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/KongMigration/config.xml deleted file mode 100644 index 9e18416ad5f66027a14a7b873d19dd8b2c8d5637..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/Core/jobs/KongMigration/config.xml +++ /dev/null @@ -1,137 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> - <jobPropertyDescriptors> - <string>hudson.model.ParametersDefinitionProperty</string> - <string>com.sonyericsson.rebuild.RebuildSettings</string> - </jobPropertyDescriptors> - </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> - </actions> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <hudson.model.StringParameterDefinition> - <name>absolute_job_path</name> - <description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> - <defaultValue>ArtifactUpload/dev/Core/APIManager</defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <hudson.model.StringParameterDefinition> - <name>image_tag</name> - <description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description> - <defaultValue></defaultValue> - <trim>false</trim> - </hudson.model.StringParameterDefinition> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-2544395024638227</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.58"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.58"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>KongMigration</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-2620434998790477</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.58"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.<br>Note: The tag or branch name for this job should be taken from <a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a></b></font></b></font>"""; - -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.58"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>KongMigration</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - <triggers/> - </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>0</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/ops/kong-migration/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/Health/config.xml b/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/Health/config.xml deleted file mode 100644 index 870f36491421360ebb330ed7ed84cd311fe401c3..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/Health/config.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions/> - </scm> - <scriptPath>pipelines/deploy/health-check/Jenkinsfile-dp</scriptPath> - <lightweight>true</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/redis-restore/config.xml b/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/RedisRestore/config.xml similarity index 100% rename from deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/redis-restore/config.xml rename to deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/DataPipeline/jobs/RedisRestore/config.xml diff --git a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/KnowledgePlatform/jobs/Health/config.xml b/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/KnowledgePlatform/jobs/Health/config.xml deleted file mode 100644 index febb94b0735b24388aa61a14121512c4b6d845c8..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/OpsAdministration/jobs/dev/jobs/KnowledgePlatform/jobs/Health/config.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions/> - </scm> - <scriptPath>pipelines/deploy/health-check/Jenkinsfile-lp</scriptPath> - <lightweight>true</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Provision/jobs/dev/jobs/Core/jobs/keycloak-test/config.xml b/deploy/jenkins/jobs/Provision/jobs/dev/jobs/Core/jobs/keycloak-test/config.xml deleted file mode 100644 index 19e29c89936bdc99c6949c06ce79d3b80e987065..0000000000000000000000000000000000000000 --- a/deploy/jenkins/jobs/Provision/jobs/dev/jobs/Core/jobs/keycloak-test/config.xml +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version='1.1' encoding='UTF-8'?> -<flow-definition plugin="workflow-job@2.32"> - <actions/> - <description></description> - <keepDependencies>false</keepDependencies> - <properties> - <jenkins.model.BuildDiscarderProperty> - <strategy class="hudson.tasks.LogRotator"> - <daysToKeep>-1</daysToKeep> - <numToKeep>10</numToKeep> - <artifactDaysToKeep>-1</artifactDaysToKeep> - <artifactNumToKeep>2</artifactNumToKeep> - </strategy> - </jenkins.model.BuildDiscarderProperty> - <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> - <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.30"> - <autoRebuild>false</autoRebuild> - <rebuildDisabled>false</rebuildDisabled> - </com.sonyericsson.rebuild.RebuildSettings> - <hudson.model.ParametersDefinitionProperty> - <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>private_branch</name> - <description></description> - <randomName>choice-parameter-196487835595646</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.58"> - <script>if (override_private_branch.equals("true")) { -return """<input name="value" value="${private_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout a different branch from private repository.</b></font>""" -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.58"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>keycloak-test</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.1"> - <name>branch_or_tag</name> - <description></description> - <randomName>choice-parameter-196487838166797</randomName> - <visibleItemCount>1</visibleItemCount> - <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.58"> - <script>if (override_public_branch.equals("true")) { -return """<input name="value" value="${public_repo_branch}" class="setting-input" type="text"><br> <font color=dimgray size=2><b>Change this value to checkout Jenkinsfile from a different tag or branch.<br>Note: Ideally this value should be same as the branch or tag from which the corresponding Build job was run.</b></font></b></font>"""; -} -else -return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureScript> - <secureFallbackScript plugin="script-security@1.58"> - <script>return """<b>This parameter is not used</b>"""</script> - <sandbox>false</sandbox> - </secureFallbackScript> - </script> - <projectName>keycloak-test</projectName> - <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> - <choiceType>ET_FORMATTED_HTML</choiceType> - <omitValueField>true</omitValueField> - </org.biouno.unochoice.DynamicReferenceParameter> - </parameterDefinitions> - </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> - <maxConcurrentPerNode>0</maxConcurrentPerNode> - <maxConcurrentTotal>0</maxConcurrentTotal> - <categories class="java.util.concurrent.CopyOnWriteArrayList"/> - <throttleEnabled>false</throttleEnabled> - <throttleOption>project</throttleOption> - <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> - <paramsToUseForLimit></paramsToUseForLimit> - </hudson.plugins.throttleconcurrents.ThrottleJobProperty> - </properties> - <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.67"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3"> - <configVersion>2</configVersion> - <userRemoteConfigs> - <hudson.plugins.git.UserRemoteConfig> - <url>https://github.com/project-sunbird/sunbird-devops.git</url> - </hudson.plugins.git.UserRemoteConfig> - </userRemoteConfigs> - <branches> - <hudson.plugins.git.BranchSpec> - <name>${branch_or_tag}</name> - </hudson.plugins.git.BranchSpec> - </branches> - <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> - <extensions> - <hudson.plugins.git.extensions.impl.CloneOption> - <shallow>true</shallow> - <noTags>false</noTags> - <reference></reference> - <depth>1</depth> - <honorRefspec>false</honorRefspec> - </hudson.plugins.git.extensions.impl.CloneOption> - </extensions> - </scm> - <scriptPath>pipelines/provision/keycloak/Jenkinsfile</scriptPath> - <lightweight>false</lightweight> - </definition> - <triggers/> - <disabled>false</disabled> -</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Provision/jobs/dev/jobs/DataPipeline/jobs/postgres-managed/config.xml b/deploy/jenkins/jobs/Provision/jobs/dev/jobs/DataPipeline/jobs/PostgresManaged/config.xml similarity index 100% rename from deploy/jenkins/jobs/Provision/jobs/dev/jobs/DataPipeline/jobs/postgres-managed/config.xml rename to deploy/jenkins/jobs/Provision/jobs/dev/jobs/DataPipeline/jobs/PostgresManaged/config.xml