diff --git a/helpers/trigger-jenkins.sh b/helpers/trigger-jenkins.sh index 34ab111..f84ad44 100755 --- a/helpers/trigger-jenkins.sh +++ b/helpers/trigger-jenkins.sh @@ -1,25 +1,25 @@ #!/bin/bash # Grab our input urlpath="$1" # Before we can proceed, is this a blacklisted repository? if [[ "$urlpath" = "sysadmin/ci-tooling.git" ]] || [[ "$urlpath" = "sysadmin/repo-metadata.git" ]] || [[ "$urlpath" = "kde-build-metadata.git" ]] || [[ "$urlpath" = "kapidox.git" ]] || [[ "$urlpath" = "kde-dev-scripts.git" ]]; then exit fi # Now we wait 10 seconds - this allows the anongit network to sync sleep 10s # Tell the KDE CI system curl --connect-timeout 10 --max-time 10 "https://build.kde.org/git/notifyCommit?url=git://anongit.kde.org/$urlpath" &> /dev/null # If it is a website then we should tell the Binary Factory as well # We also cover cutehmi-doxygen as that repository is incorporated into the cutehmi.kde.org website by it's template -if [[ "$urlpath" = "websites/"* ]] || [[ "$urlpath" = "cutehmi-doxygen.git" ]]; then +if [[ "$urlpath" = "websites/"* ]]; then curl --connect-timeout 10 --max-time 10 "https://binary-factory.kde.org/git/notifyCommit?url=https://anongit.kde.org/$urlpath" &> /dev/null fi # Trigger an external build system (contact santa_) curl --connect-timeout 10 --max-time 10 "http://gpul.grupos.udc.es:8080/git/notifyCommit?url=git://anongit.kde.org/$urlpath" &> /dev/null