jenkins-plugin-updates: Shorter output
authorChristoph Berg <myon@debian.org>
Wed, 15 Jan 2025 14:35:35 +0000 (15:35 +0100)
committerChristoph Berg <myon@debian.org>
Wed, 15 Jan 2025 14:35:35 +0000 (15:35 +0100)
jenkins/pgapt-jobs.yaml

index ebd17197803e34a984a529b2bec3ff7a4e310ea0..66e45f79e481ceda278cebc85ee05508c3ce4a8e 100644 (file)
                 #  IdentityFile ~/.ssh/jenkins_ssh_cli
                 - shell: |
                     : https://jengus.postgresql.org/pluginManager/
-                    curl -f --netrc -X POST --header 'Referer: https://jengus.postgresql.org/pluginManager/checkUpdatesServer' https://jengus.postgresql.org/pluginManager/checkUpdatesServer
+                    curl -sf --netrc -X POST --header 'Referer: https://jengus.postgresql.org/pluginManager/checkUpdatesServer' https://jengus.postgresql.org/pluginManager/checkUpdatesServer
                     ssh jenkins list-plugins > plugins.txt
-                    cat plugins.txt
                     if grep ')$' plugins.txt; then
+                      :
                       : There are pending Jenkins plugin updates
                       : https://jengus.postgresql.org/pluginManager/
+                      :
                       exit 1
                     fi
         publishers: