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

Added python interpreter

parent e854b44c
......@@ -73,33 +73,33 @@ pipeline {
}
}
stage ('Clone Ansible toolchain') {
steps {
script {
gitlabCommitStatus(name: "Clone Ansible scripts") {
sh "git clone https://gitlab.com/shweta.shrivastava/colosseum-cm.git"
}
}
}
}
stage ('Configure Ansible toolchain') {
steps {
script {
gitlabCommitStatus(name: "Configure Ansible toolchain") {
dir ('colosseum-cm') {
sh "git checkout oai-ci"
sh "./bootstrap.sh ${GIT_URL} ${params.eNB_Branch} ${GIT_COMMIT}"
}
}
}
}
}
// stage ('Clone Ansible toolchain') {
// steps {
// script {
// gitlabCommitStatus(name: "Clone Ansible scripts") {
// sh "git clone https://gitlab.com/shweta.shrivastava/colosseum-cm.git"
// }
// }
// }
// }
// stage ('Configure Ansible toolchain') {
// steps {
// script {
// gitlabCommitStatus(name: "Configure Ansible toolchain") {
// dir ('colosseum-cm') {
// sh "git checkout oai-ci"
// sh "./bootstrap.sh ${GIT_URL} ${params.eNB_Branch} ${GIT_COMMIT}"
// }
// }
// }
// }
// }
stage ('Run Ansible toolchain') {
steps {
script {
gitlabCommitStatus(name: "Run Ansible toolchain") {
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