Skip to content

Commit

Permalink
Added changes for parameterizing VM details (Seagate#442)
Browse files Browse the repository at this point in the history
Signed-off-by: Vaibhav Paratwar <vaibhav.paratwar@seagate.com>

Co-authored-by: Shailesh Vaidya <shailesh.vaidya@seagate.com>
  • Loading branch information
vaibhavparatwar and shailesh-vaidya committed Jun 8, 2021
1 parent 64f0a54 commit 39d83b7
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ pipeline {
parameters {
string(name: 'HARE_REPO', defaultValue: 'https://github.com/Seagate/cortx-hare', description: 'Repo to be used for Hare build.')
string(name: 'HARE_BRANCH', defaultValue: 'main', description: 'Branch to be used for Hare build.')
string(name: 'VM_FQDN', defaultValue: 'ssc-vm-3370.colo.seagate.com', description: 'VM to be used for premerge test.')
string(name: 'VM_CRED_USR', defaultValue: 'root', description: 'VM user.')
password(name: 'VM_CRED_PSW', defaultValue: 'seagate', description: 'password.')

}
environment {
REPO_NAME = 'cortx-hare'
// Updates :
// - Need new VM with clean state snapshot for HARE CI : https://jts.seagate.com/browse/EOS-18463
VM_FQDN = 'ssc-vm-3370.colo.seagate.com' // SSC VM used for Hare CI
VM_CRED = credentials('node-user') // To connect SSC VM over SSH
// VM_FQDN = 'ssc-vm-3370.colo.seagate.com' // SSC VM used for Hare CI
// VM_CRED = credentials('node-user') // To connect SSC VM over SSH
GITHUB_TOKEN = credentials('cortx-admin-github') // To clone cortx-hare repo
GPR_REPO = "https://github.com/${ghprbGhRepository}"
HARE_REPO = "${ghprbGhRepository != null ? GPR_REPO : HARE_REPO}"
Expand Down Expand Up @@ -225,4 +229,4 @@ def getTestMachine(String host) {
remote.allowAnyHosts = true
remote.fileTransfer = 'scp'
return remote
}
}

0 comments on commit 39d83b7

Please sign in to comment.