Skip to content

Commit 2ee5bff

Browse files
committed
bad var used for templating github_stable
1 parent 61e9920 commit 2ee5bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/generate-jenkins/templates/Jenkinsfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ pipeline {
658658
sh '''#! /bin/bash
659659
{% if external_type == "github_devel" %}
660660
curl -s https://api.github.com/repos/${EXT_USER}/${EXT_REPO}/releases/latest | jq '. |.body' | sed 's:^.\\(.*\\).$:\\1:' > releasebody.json
661-
{% elif release_type == "github_stable" %}
661+
{% elif external_type == "github_stable" %}
662662
curl -s https://api.github.com/repos/${EXT_USER}/${EXT_REPO}/releases/latest | jq '. |.body' | sed 's:^.\\(.*\\).$:\\1:' > releasebody.json
663663
{% elif external_type == "alpine_repo" %}
664664
echo "Updating external repo packages to ${EXT_RELEASE}" > releasebody.json

0 commit comments

Comments
 (0)