correct variable

This commit is contained in:
Hyatt 2022-03-15 16:45:15 -05:00
parent 9efb546e55
commit c5c9ee27d1
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -67,7 +67,6 @@ podTemplate(
) { ) {
node (label) { node (label) {
def workspace = pwd() def workspace = pwd()
def openVPNConfig
stage ("Prepare Container") { stage ("Prepare Container") {
container ("alpine") { container ("alpine") {
@ -84,6 +83,7 @@ podTemplate(
} }
} }
def openVPNConfig
stage ("Get Remote OpenVPN Config") { stage ("Get Remote OpenVPN Config") {
container ("alpine") { container ("alpine") {
openVPNConfig = sh( openVPNConfig = sh(
@ -93,8 +93,8 @@ podTemplate(
} }
} }
def k8sSecret
stage ("Compile Secret") { stage ("Compile Secret") {
def k8sSecret
withCredentials([string( withCredentials([string(
credentialsId: nordCreds, credentialsId: nordCreds,
variable: "NORD_CREDS", variable: "NORD_CREDS",