Skip to content

Commit

Permalink
Add environment variables from credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelnano committed Dec 1, 2023
1 parent 0139276 commit b260e91
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
pipeline {
// Run on an agent where we want to use Go
agent any
environment {
XOA_URL = credentials("terraform-provider-xoa-url")
XOA_USER = credentials("terraform-provider-xoa-user")
XOA_PASSWORD = credentials("terraform-provider-xoa-password")
XOA_POOL = credentials("terraform-provider-xoa-pool")
XOA_TEMPLATE = credentials("terraform-provider-xoa-template")
XOA_DISKLESS_TEMPLATE = credentials("terraform-provider-xoa-diskless-template")
XOA_ISO = credentials("terraform-provider-xoa-iso")
XOA_ISO_SR = credentials("terraform-provider-xoa-iso-sr")
XOA_NETWORK = credentials("terraform-provider-xoa-network")
XOA_RETRY_MAX_TIME = credentials("terraform-provider-xoa-retry-max-time")
XOA_RETRY_MODE = credentials("terraform-provider-xoa-retry-mode")
TF_ACC = 1
}

// Ensure the desired Go version is installed for all stages,
// using the name defined in the Global Tool Configuration
Expand Down

0 comments on commit b260e91

Please sign in to comment.