Skip to content

Commit

Permalink
bad var used for templating github_stable
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Dec 2, 2018
1 parent 61e9920 commit 2ee5bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/generate-jenkins/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ee5bff

Please sign in to comment.