diff --git a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..c20bd4ad2f7eb24eeae3dd66b73868d0a83dd831 --- /dev/null +++ b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/config.xml @@ -0,0 +1,28 @@ +<?xml version='1.1' encoding='UTF-8'?> +<com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.15"> + <description></description> + <properties> + <org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig plugin="docker-workflow@1.26"> + <dockerLabel></dockerLabel> + <registry plugin="docker-commons@1.17"/> + </org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig> + </properties> + <folderViews class="com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder"> + <views> + <hudson.model.AllView> + <owner class="com.cloudbees.hudson.plugins.folder.Folder" reference="../../../.."/> + <name>All</name> + <filterExecutors>false</filterExecutors> + <filterQueue>false</filterQueue> + <properties class="hudson.model.View$PropertyList"/> + </hudson.model.AllView> + </views> + <tabBar class="hudson.views.DefaultViewsTabBar"/> + </folderViews> + <healthMetrics> + <com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> + <nonRecursive>false</nonRecursive> + </com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> + </healthMetrics> + <icon class="com.cloudbees.hudson.plugins.folder.icons.StockFolderIcon"/> +</com.cloudbees.hudson.plugins.folder.Folder> \ No newline at end of file diff --git a/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/gotenberg/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/gotenberg/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..228ed48bba0eae78bba953466788976157dbe07f --- /dev/null +++ b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/gotenberg/config.xml @@ -0,0 +1,108 @@ +<?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.23"> + <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.32"> + <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/managed-learn/gotenberg</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.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/managed-learn/gotenberg</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-core-service/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-core-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..06d4492d529b7d88fdf913f7244911fd10e20c5c --- /dev/null +++ b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-core-service/config.xml @@ -0,0 +1,108 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-core-service</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.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/managed-learn/ml-core-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-project-service/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-project-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..12c0dff24154f33974a3bf64c36dbe1ad400bb22 --- /dev/null +++ b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-project-service/config.xml @@ -0,0 +1,108 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-project-service</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.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/managed-learn/ml-project-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-report-service/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-report-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..7cd0edb5d14ebca77439687c80e683fd5f83f9bc --- /dev/null +++ b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-report-service/config.xml @@ -0,0 +1,108 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-report-service</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.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/managed-learn/ml-report-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-survey-service/config.xml b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-survey-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..32d9038831ad9ab94e3a3ed56d23840d20e5e5f6 --- /dev/null +++ b/deploy/jenkins/jobs/ArtifactUpload/jobs/dev/jobs/managed-learn/jobs/ml-survey-service/config.xml @@ -0,0 +1,108 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-survey-service</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.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/managed-learn/ml-survey-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/managed-learn/config.xml b/deploy/jenkins/jobs/Build/jobs/managed-learn/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..a190d0fc2e4b5b436f443fdd40206973f48c88fe --- /dev/null +++ b/deploy/jenkins/jobs/Build/jobs/managed-learn/config.xml @@ -0,0 +1,23 @@ +<?xml version='1.1' encoding='UTF-8'?> +<com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.15"> + <actions/> + <properties/> + <folderViews class="com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder"> + <views> + <hudson.model.AllView> + <owner class="com.cloudbees.hudson.plugins.folder.Folder" reference="../../../.."/> + <name>All</name> + <filterExecutors>false</filterExecutors> + <filterQueue>false</filterQueue> + <properties class="hudson.model.View$PropertyList"/> + </hudson.model.AllView> + </views> + <tabBar class="hudson.views.DefaultViewsTabBar"/> + </folderViews> + <healthMetrics> + <com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> + <nonRecursive>false</nonRecursive> + </com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> + </healthMetrics> + <icon class="com.cloudbees.hudson.plugins.folder.icons.StockFolderIcon"/> +</com.cloudbees.hudson.plugins.folder.Folder> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/gotenberg/config.xml b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/gotenberg/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..a2666456c3a64cb2429ac5572010f68d32a2460e --- /dev/null +++ b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/gotenberg/config.xml @@ -0,0 +1,58 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> + <actions/> + <description/> + <keepDependencies>false</keepDependencies> + <properties> + <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.32"> + <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>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.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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <configVersion>2</configVersion> + <userRemoteConfigs> + <hudson.plugins.git.UserRemoteConfig> + <url>https://github.com/project-sunbird/gotenberg.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="empty-list"/> + <extensions/> + </scm> + <scriptPath>Jenkinsfile</scriptPath> + <lightweight>true</lightweight> + </definition> + <triggers/> + <disabled>false</disabled> +</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-core-service/config.xml b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-core-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..49552fa3fedd176e180799c62b23a08d1d70df91 --- /dev/null +++ b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-core-service/config.xml @@ -0,0 +1,67 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> + <actions/> + <description/> + <keepDependencies>false</keepDependencies> + <properties> + <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> + <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.32"> + <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>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.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.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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <configVersion>2</configVersion> + <userRemoteConfigs> + <hudson.plugins.git.UserRemoteConfig> + <url>https://github.com/project-sunbird/ml-core-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="empty-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/Build/jobs/managed-learn/jobs/ml-project-service/config.xml b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-project-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..be656dac94ecfb854d0fd8e98b9d58c063fc5043 --- /dev/null +++ b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-project-service/config.xml @@ -0,0 +1,66 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> + <actions/> + <description/> + <keepDependencies>false</keepDependencies> + <properties> + <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.32"> + <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>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.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.SCMTrigger> + <spec>H/10 * * * *</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <configVersion>2</configVersion> + <userRemoteConfigs> + <hudson.plugins.git.UserRemoteConfig> + <url>https://github.com/project-sunbird/ml-projects-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="empty-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/Build/jobs/managed-learn/jobs/ml-report-service/config.xml b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-report-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..bbd6e33e8f2f3f2ae07e7a9c1e0b3b9c0afb0aa4 --- /dev/null +++ b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-report-service/config.xml @@ -0,0 +1,66 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> + <actions/> + <description/> + <keepDependencies>false</keepDependencies> + <properties> + <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.32"> + <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>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.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.SCMTrigger> + <spec>H/10 * * * *</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <configVersion>2</configVersion> + <userRemoteConfigs> + <hudson.plugins.git.UserRemoteConfig> + <url>https://github.com/project-sunbird/ml-reports-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="empty-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/Build/jobs/managed-learn/jobs/ml-survey-service/config.xml b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-survey-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..30774bb170e4d69cd31529692454608cdfe85140 --- /dev/null +++ b/deploy/jenkins/jobs/Build/jobs/managed-learn/jobs/ml-survey-service/config.xml @@ -0,0 +1,66 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="workflow-job@2.40"> + <actions/> + <description/> + <keepDependencies>false</keepDependencies> + <properties> + <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.32"> + <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>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.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.SCMTrigger> + <spec>H/10 * * * *</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <configVersion>2</configVersion> + <userRemoteConfigs> + <hudson.plugins.git.UserRemoteConfig> + <url>https://github.com/project-sunbird/ml-survey-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="empty-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/managed-learn/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/config.xml index e9b5e331436afe3601808fc9ab569069101463ed..86bb2b1c571fbc0a6ce70791ff1767cfe2cfda35 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/config.xml @@ -26,4 +26,4 @@ </com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> </healthMetrics> <icon class="com.cloudbees.hudson.plugins.folder.icons.StockFolderIcon"/> -</com.cloudbees.hudson.plugins.folder.Folder> +</com.cloudbees.hudson.plugins.folder.Folder> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/gotenberg/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/gotenberg/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..6668b089b47ae74e7adadad1ef27b8395be7fd85 --- /dev/null +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/gotenberg/config.xml @@ -0,0 +1,159 @@ +<?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.23"> + <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.32"> + <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/managed-learn/gotenberg</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.6"> + <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.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> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>gotenberg</projectName> + <projectFullName>Deploy/dev/managed-learn/gotenberg</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.6"> + <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.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>"""; + +} +else +return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>gotenberg</projectName> + <projectFullName>Deploy/dev/managed-learn/gotenberg</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>helm-deploy</string> + </a> + </choices> + </hudson.model.ChoiceParameterDefinition> + </parameterDefinitions> + </hudson.model.ParametersDefinitionProperty> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.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>ArtifactUpload/dev/managed-learn/gotenberg</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/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/managed-learn/jobs/ml-analytics-service/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-analytics-service/config.xml index e85da6aa70f8efdc8c02029f1e718d6083d1ec72..073128b25122ae5c19232d2c9c1f23b0630230ed 100644 --- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-analytics-service/config.xml +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-analytics-service/config.xml @@ -1,14 +1,13 @@ -<?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> - <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.21"> + <org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.23"> <jobPropertyDescriptors> <string>hudson.model.ParametersDefinitionProperty</string> <string>com.sonyericsson.rebuild.RebuildSettings</string> </jobPropertyDescriptors> </org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> </actions> - <description></description> + <description/> <keepDependencies>false</keepDependencies> <properties> <jenkins.model.BuildDiscarderProperty> @@ -20,88 +19,89 @@ </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.32"> <autoRebuild>false</autoRebuild> <rebuildDisabled>false</rebuildDisabled> </com.sonyericsson.rebuild.RebuildSettings> <hudson.model.ParametersDefinitionProperty> <parameterDefinitions> - <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.2.2"> + <org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.5.6"> <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.73"> - <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.73"> - <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>ml-analytics-service</projectName> <projectFullName>Deploy/dev/managed-learn/ml-analytics-service</projectFullName> <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> + <referencedParameters/> <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.6"> <name>branch_or_tag</name> - <description></description> + <description/> <randomName>choice-parameter-2620434998790477</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> - <secureScript plugin="script-security@1.73"> - <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>"""; + <secureScript plugin="script-security@1.76"> + <script>if (override_public_branch.equals("false")) { +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> +return """<b>This parameter is not used</b>"""</script> <sandbox>false</sandbox> </secureScript> - <secureFallbackScript plugin="script-security@1.73"> - <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>ml-analytics-service</projectName> <projectFullName>Deploy/dev/managed-learn/ml-analytics-service</projectFullName> <parameters class="linked-hash-map"/> - <referencedParameters></referencedParameters> + <referencedParameters/> <choiceType>ET_FORMATTED_HTML</choiceType> <omitValueField>true</omitValueField> </org.biouno.unochoice.DynamicReferenceParameter> <hudson.model.StringParameterDefinition> <name>ml_analytics_version</name> - <description></description> - <defaultValue></defaultValue> + <description/> + <defaultValue/> <trim>false</trim> </hudson.model.StringParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> - <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.1"> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.2"> <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.80"> - <scm class="hudson.plugins.git.GitSCM" plugin="git@4.2.2"> + <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> @@ -114,12 +114,12 @@ return """<b>This parameter is not used</b>"&quo </hudson.plugins.git.BranchSpec> </branches> <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> - <submoduleCfg class="list"/> + <submoduleCfg class="empty-list"/> <extensions> <hudson.plugins.git.extensions.impl.CloneOption> <shallow>true</shallow> <noTags>false</noTags> - <reference></reference> + <reference/> <depth>1</depth> <honorRefspec>false</honorRefspec> </hudson.plugins.git.extensions.impl.CloneOption> @@ -130,4 +130,4 @@ return """<b>This parameter is not used</b>"&quo </definition> <triggers/> <disabled>false</disabled> -</flow-definition> +</flow-definition> \ No newline at end of file diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-core-service/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-core-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..d0a557ebfa883b7e1b257ef713cf90f5e8691c5f --- /dev/null +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-core-service/config.xml @@ -0,0 +1,159 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-core-service</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.6"> + <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.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> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-core-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-core-service</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.6"> + <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.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>"""; + +} +else +return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-core-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-core-service</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>sunbird-deploy</string> + </a> + </choices> + </hudson.model.ChoiceParameterDefinition> + </parameterDefinitions> + </hudson.model.ParametersDefinitionProperty> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.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>ArtifactUpload/dev/managed-learn/ml-core-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/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/managed-learn/jobs/ml-projects-service/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-projects-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..8432746c449ab590a1aa772fe84836410762b967 --- /dev/null +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-projects-service/config.xml @@ -0,0 +1,159 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-project-service</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.6"> + <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.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> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-projects-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-projects-service</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.6"> + <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.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>"""; + +} +else +return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-projects-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-projects-service</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>sunbird-deploy</string> + </a> + </choices> + </hudson.model.ChoiceParameterDefinition> + </parameterDefinitions> + </hudson.model.ParametersDefinitionProperty> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.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>ArtifactUpload/dev/managed-learn/ml-project-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/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/managed-learn/jobs/ml-reports-service/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-reports-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..eafa5b21308bcac9ac70d9f04ecc3261080e40ca --- /dev/null +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-reports-service/config.xml @@ -0,0 +1,159 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-report-service</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.6"> + <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.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> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-report-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-report-service</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.6"> + <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.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>"""; + +} +else +return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-report-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-report-service</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>sunbird-deploy</string> + </a> + </choices> + </hudson.model.ChoiceParameterDefinition> + </parameterDefinitions> + </hudson.model.ParametersDefinitionProperty> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.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>ArtifactUpload/dev/managed-learn/ml-report-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/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/managed-learn/jobs/ml-survey-service/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-survey-service/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..e3f71126f3d6f45586a516c58792d558b22012a3 --- /dev/null +++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/managed-learn/jobs/ml-survey-service/config.xml @@ -0,0 +1,159 @@ +<?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.23"> + <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.32"> + <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/managed-learn/ml-survey-service</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.6"> + <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.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> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-survey-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-survey-service</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.6"> + <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.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>"""; + +} +else +return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureScript> + <secureFallbackScript plugin="script-security@1.76"> + <script>return """<b>This parameter is not used</b>"""</script> + <sandbox>true</sandbox> + </secureFallbackScript> + </script> + <projectName>ml-survey-service</projectName> + <projectFullName>Deploy/dev/managed-learn/ml-survey-service</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>sunbird-deploy</string> + </a> + </choices> + </hudson.model.ChoiceParameterDefinition> + </parameterDefinitions> + </hudson.model.ParametersDefinitionProperty> + <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.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>ArtifactUpload/dev/managed-learn/ml-survey-service</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.90"> + <scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> + <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="empty-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/deploy_core/Jenkinsfile</scriptPath> + <lightweight>false</lightweight> + </definition> + <triggers/> + <disabled>false</disabled> +</flow-definition> \ No newline at end of file diff --git a/pipelines/deploy/ml-analytics-service/Jenkinsfile b/pipelines/deploy/ml-analytics-service/Jenkinsfile index cc5f9963dd8e90f38bca647e80829734c6e89e18..23316aced0ce0c23f9ae01d070d6720078736a18 100644 --- a/pipelines/deploy/ml-analytics-service/Jenkinsfile +++ b/pipelines/deploy/ml-analytics-service/Jenkinsfile @@ -14,8 +14,6 @@ node() { ansiColor('xterm') { stage('Deploy') { - - values = [:] sh 'echo "${currentWs} is this"' currentWs = sh(returnStdout: true, script: 'pwd').trim() @@ -32,11 +30,10 @@ node() { values.put('ansibleExtraArgs', ansibleExtraArgs) println values ansible_playbook_run(values) - currentBuild.result = "SUCCESS" currentBuild.description = "Artifact: ${values.artifact_version}, Private: ${params.private_branch}, Public: ${params.branch_or_tag}" - } + summary() } } catch (err) {