Adding variables for user and pass of compute nodes IPMIs
Change-Id: I2d0bd933635dfc7142809cb7f4af1374d6c7aaad
diff --git a/Jenkinsfile b/Jenkinsfile
index 89efc74..4be7201 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -69,9 +69,9 @@
stage 'Power cycle compute nodes'
parallel(
compute_1: {
- sh 'ipmitool -U admin -P admin -H ${computeNode1IPMI} power cycle'
+ sh 'ipmitool -U "${computeNode1IPMIUser}" -P "${computeNode1IPMIPass}" -H ${computeNode1IPMIIP} power cycle'
}, compute_2: {
- sh 'ipmitool -U admin -P admin -H ${computeNode2IPMI} power cycle'
+ sh 'ipmitool -U "${computeNode2IPMIUser}" -P "${computeNode2IPMIPass}" -H ${computeNode2IPMIIP} power cycle'
}, failFast : true
)