From 2ee5bffe9232fc9cba9a66ef8071bc9373688e05 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 1 Dec 2018 20:36:13 -0800 Subject: [PATCH] bad var used for templating github_stable --- roles/generate-jenkins/templates/Jenkinsfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/generate-jenkins/templates/Jenkinsfile.j2 b/roles/generate-jenkins/templates/Jenkinsfile.j2 index 273655a3..26bdbb7d 100644 --- a/roles/generate-jenkins/templates/Jenkinsfile.j2 +++ b/roles/generate-jenkins/templates/Jenkinsfile.j2 @@ -658,7 +658,7 @@ pipeline { sh '''#! /bin/bash {% if external_type == "github_devel" %} curl -s https://api.github.com/repos/${EXT_USER}/${EXT_REPO}/releases/latest | jq '. |.body' | sed 's:^.\\(.*\\).$:\\1:' > releasebody.json -{% elif release_type == "github_stable" %} +{% elif external_type == "github_stable" %} curl -s https://api.github.com/repos/${EXT_USER}/${EXT_REPO}/releases/latest | jq '. |.body' | sed 's:^.\\(.*\\).$:\\1:' > releasebody.json {% elif external_type == "alpine_repo" %} echo "Updating external repo packages to ${EXT_RELEASE}" > releasebody.json