You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ib...@apache.org on 2020/08/28 22:51:44 UTC

[beam] branch master updated: [BEAM-10825] Account for multiple Jenkins websites nodes.

This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new cedea5e  [BEAM-10825] Account for multiple Jenkins websites nodes.
     new 42b1911  Merge pull request #12722 from ibzib/BEAM-10825
cedea5e is described below

commit cedea5e61cd448b50f6791bdece7dfc94f127da6
Author: Kyle Weaver <kc...@google.com>
AuthorDate: Fri Aug 28 13:39:08 2020 -0700

    [BEAM-10825] Account for multiple Jenkins websites nodes.
---
 website/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/build.gradle b/website/build.gradle
index 7f8e7f6..6655814 100644
--- a/website/build.gradle
+++ b/website/build.gradle
@@ -75,7 +75,7 @@ task createDockerContainer(type: Exec) {
     // "jenkins" user ownership. BEAM-9737
     // Otherwise: run as current user, so as to not require sudo to clean up
     // build/ directory.
-    if (System.getenv('NODE_NAME') != 'websites') {
+    if (!System.getenv('NODE_NAME').startsWith('websites')) {
       extraOptions += " -u \$(id -u):\$(id -g)"
     }
     commandLine '/bin/bash', '-c',