Commit 11367290 authored by Shweta Shrivastava's avatar Shweta Shrivastava
Browse files

Added python interpreter

parent e854b44c
...@@ -73,33 +73,33 @@ pipeline { ...@@ -73,33 +73,33 @@ pipeline {
} }
} }
stage ('Clone Ansible toolchain') { // stage ('Clone Ansible toolchain') {
steps { // steps {
script { // script {
gitlabCommitStatus(name: "Clone Ansible scripts") { // gitlabCommitStatus(name: "Clone Ansible scripts") {
sh "git clone https://gitlab.com/shweta.shrivastava/colosseum-cm.git" // sh "git clone https://gitlab.com/shweta.shrivastava/colosseum-cm.git"
} // }
} // }
} // }
} // }
stage ('Configure Ansible toolchain') { // stage ('Configure Ansible toolchain') {
steps { // steps {
script { // script {
gitlabCommitStatus(name: "Configure Ansible toolchain") { // gitlabCommitStatus(name: "Configure Ansible toolchain") {
dir ('colosseum-cm') { // dir ('colosseum-cm') {
sh "git checkout oai-ci" // sh "git checkout oai-ci"
sh "./bootstrap.sh ${GIT_URL} ${params.eNB_Branch} ${GIT_COMMIT}" // sh "./bootstrap.sh ${GIT_URL} ${params.eNB_Branch} ${GIT_COMMIT}"
} // }
} // }
} // }
} // }
} // }
stage ('Run Ansible toolchain') { stage ('Run Ansible toolchain') {
steps { steps {
script { script {
gitlabCommitStatus(name: "Run Ansible toolchain") { gitlabCommitStatus(name: "Run Ansible toolchain") {
dir ('colosseum-cm/ansible') { dir ('colosseum-cm/ansible') {
sh "ansible-playbook oai.yml" sh "ansible-playbook oai.yml -e 'ansible_python_interpreter=/usr/bin/python3'"
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment