Skip to content

Commit

Permalink
parameter for schema branch
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhanc committed Oct 6, 2020
1 parent ca20a2a commit 6d3409d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/upload/schemas/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ node() {
jobName = sh(returnStdout: true, script: "echo $JOB_NAME").split('/')[-1].trim()
stage('deploy artifact'){
sh """
rm -rf creation-portal
git clone https://github.com/Sunbird-Ed/creation-portal.git -b creation_portal
rm -rf creation-portal
git clone https://github.com/Sunbird-Ed/creation-portal.git -b ${params.schemas_branch}
"""
ansiblePlaybook = "${currentWs}/ansible/upload-schemas.yml"
ansibleExtraArgs = "--extra-vars \" source_name=${currentWs}/creation-portal/kp_schemas \" --vault-password-file /var/lib/jenkins/secrets/vault-pass"
Expand Down

0 comments on commit 6d3409d

Please sign in to comment.