Run builder locally

This commit is contained in:
TheSpad
2022-08-20 12:54:12 +01:00
parent 49add04942
commit 94a09f0476
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
fi
echo "**** External trigger running off of develop branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_SONARR_DEVELOP\". ****"
echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -sL 'https://services.sonarr.tv/v1/update/develop/changes?version=4&os=linuxmusl' | jq -r '.[0].version')
EXT_RELEASE=$(curl -sL 'https://services.sonarr.tv/v1/update/develop?version=4&os=linuxmusl' | jq -r '.[0].version')
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****"
FAILURE_REASON="Can't retrieve external version for sonarr branch develop"
+1 -1
View File
@@ -45,4 +45,4 @@ COPY root/ /
# ports and volumes
EXPOSE 8989
VOLUME /config
VOLUME /config
+1 -1
View File
@@ -45,4 +45,4 @@ COPY root/ /
# ports and volumes
EXPOSE 8989
VOLUME /config
VOLUME /config
Vendored
+1 -1
View File
@@ -104,7 +104,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: ''' curl -sL 'https://services.sonarr.tv/v1/update/develop/changes?version=4&os=linuxmusl' | jq -r '.[0].version' ''',
script: ''' curl -sL 'https://services.sonarr.tv/v1/update/develop?version=4&os=linuxmusl' | jq -r '.[0].version' ''',
returnStdout: true).trim()
env.RELEASE_LINK = 'custom_command'
}