add jenkinsfile for ssd_health

This commit is contained in:
2025-11-01 12:13:55 -07:00
parent 21db3c8f07
commit 61acb185e5
3 changed files with 87 additions and 3 deletions

View File

@ -7,6 +7,10 @@ pipeline {
}
environment {
matt_public_key = credentials('matt_public_key')
matt_private_key = credentials('matt_private_key')
cosmos_password = credentials('cosmos_password')
cosmos_root_password = credentials('cosmos_root_password')
ANSIBLE_FORCE_COLOR = '1'
}
@ -45,7 +49,10 @@ pipeline {
cd /var/jenkins_home/ansible
ansible-playbook -i \$inventory_file /var/jenkins_home/ansible/playbooks/cosmos-nvidia.yaml \
--ssh-common-args='-o StrictHostKeyChecking=no'
--ssh-common-args='-o StrictHostKeyChecking=no' \
--extra-vars "matt_public_key='${env.matt_public_key}' cosmos_password='${env.cosmos_password}' \
cosmos_root_password='${env.cosmos_root_password}' matt_private_key='${env.matt_private_key}' \
cosmos_password='${env.cosmos_password}' cosmos_root_password='${env.cosmos_root_password}' "
"""
}