From 3bead75d9ff2f85e1c3e3d0827e63c8720e4f18a Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Mon, 5 Jun 2023 11:31:37 +0200 Subject: [PATCH] updating links --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 162cfdc..61b1b7d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,8 @@ def installRetryCount = 0 def exportRetryCount = 0 def checkRetryCount = 0 def checkRetryCountSec = 0 +def file = "terraform-provider-dynatrace_1.31.0_linux_amd64.zip" +def link = "https://github.com/dynatrace-oss/terraform-provider-dynatrace/releases/download/v1.30.1/${zip}" pipeline { @@ -72,12 +74,10 @@ pipeline { script { installRetryCount = installRetryCount+1 } - sh ''' - pip3 install --user -r requirements.txt - wget "https://github.com/dynatrace-oss/terraform-provider-dynatrace/releases/download/v1.30.1/terraform-provider-dynatrace_1.30.1_linux_amd64.zip" - python3 unzip.py terraform-provider-dynatrace_1.31.0_linux_amd64.zip - ls -la - ''' + sh "pip3 install --user -r requirements.txt" + sh "wget "${provider}"" + sh "python3 unzip.py "${link}"" + sh "ls -la" } } }