Просмотр исходного кода

[sdks] Make sure to run only one build per type per node

They could conflict while provisioning android toolchains etc. otherwise.
Alexander Köplinger 6 лет назад
Родитель
Сommit
b740313aa5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/ci/pipeline/sdks-archive.groovy

+ 1 - 1
scripts/ci/pipeline/sdks-archive.groovy

@@ -66,7 +66,7 @@ def archive (product, configuration, platform, chrootname = "", chrootadditional
 
                     // build the Archive
                     timeout (time: 300, unit: 'MINUTES') {
-                        lock ("${product}-${env.NODE_NAME}") {
+                        lock ("${product}-${configuration}-${env.NODE_NAME}") {
                             if (platform == "Darwin") {
                                 def brewpackages = "autoconf automake ccache cmake coreutils gdk-pixbuf gettext glib gnu-sed gnu-tar intltool ios-deploy jpeg libffi libidn2 libpng libtiff libtool libunistring ninja openssl p7zip pcre pkg-config scons wget xz mingw-w64 make"
                                 sh "brew install ${brewpackages} || brew upgrade ${brewpackages}"