You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2019/01/04 01:31:04 UTC

[yetus] branch master updated (8c3c818 -> 2a8e3e9)

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

aw pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git.


    from 8c3c818  YETUS-683. Publish apache/yetus docker images on hub.docker.com
     new eec3ad2  YETUS-755. bundler is breaking dockerfile building
     new 2a8e3e9  YETUS-752. Jenkinsfile: only send mail to dev@ on apache.org

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile                                        | 34 ++++++++++------------
 .../src/main/shell/test-patch-docker/Dockerfile    |  2 +-
 2 files changed, 17 insertions(+), 19 deletions(-)


[yetus] 02/02: YETUS-752. Jenkinsfile: only send mail to dev@ on apache.org

Posted by aw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2a8e3e9bd68a05a0b1485cb359548be9d47b33ee
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Tue Jan 1 06:55:39 2019 -0800

    YETUS-752. Jenkinsfile: only send mail to dev@ on apache.org
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
---
 Jenkinsfile | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0046404..98abd9f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,12 +21,6 @@ pipeline {
     label 'Hadoop||ubuntu||azaka||small'
   }
 
-  // Waiting on INFRA-17471 so that webhooks work
-  // in the meantime ...
-  triggers {
-    pollSCM('@hourly')
-  }
-
   options {
     buildDiscarder(logRotator(numToKeepStr: '5'))
     timeout (time: 9, unit: 'HOURS')
@@ -213,9 +207,9 @@ pipeline {
                       reportFiles: 'report.html',
                       reportName: 'Yetus Report'
         ])
-          if (env.BRANCH_NAME == 'master') {
-            emailext(subject: '$DEFAULT_SUBJECT',
-                  body:
+        if (env.BRANCH_NAME == 'master') and (env.BUILD_URL.contains('apache.org')) {
+          emailext(subject: '$DEFAULT_SUBJECT',
+                   body:
 '''For more details, see ${BUILD_URL}
 
 ${CHANGES, format="[%d] (%a) %m"}
@@ -236,8 +230,10 @@ ${FILE,path="out/brief.txt"}
     // on failure, we send an email to the person who changed
     // the code and the person who requested the job to get run
     failure {
-      emailext(subject: '$DEFAULT_SUBJECT',
-              body:
+      script {
+        if (env.BUILD_URL.contains('apache.org')) {
+          emailext(subject: '$DEFAULT_SUBJECT',
+                  body:
 '''For more details, see ${BUILD_URL}
 
 ${CHANGES, format="[%d] (%a) %m"}
@@ -246,13 +242,15 @@ HTML Version: ${BUILD_URL}Yetus_20Report/
 
 ${FILE,path="out/brief.txt"}
 ''',
-              recipientProviders: [
-                [$class: 'DevelopersRecipientProvider'],
-                [$class: 'RequesterRecipientProvider']
-              ],
-              replyTo: '$DEFAULT_REPLYTO',
-              to: '$DEFAULT_RECIPIENTS'
-      )
+                  recipientProviders: [
+                    [$class: 'DevelopersRecipientProvider'],
+                    [$class: 'RequesterRecipientProvider']
+                  ],
+                  replyTo: '$DEFAULT_REPLYTO',
+                  to: '$DEFAULT_RECIPIENTS'
+          )
+        }
+      }
     }
 
     // Jenkins pipeline jobs fill slaves on PRs without this :(


[yetus] 01/02: YETUS-755. bundler is breaking dockerfile building

Posted by aw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit eec3ad2836d80db8a6a55af5248a774ad08f85ba
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Thu Jan 3 00:13:09 2019 -0800

    YETUS-755. bundler is breaking dockerfile building
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
---
 precommit/src/main/shell/test-patch-docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/precommit/src/main/shell/test-patch-docker/Dockerfile b/precommit/src/main/shell/test-patch-docker/Dockerfile
index 4ba2fcf..4cf4ce0 100644
--- a/precommit/src/main/shell/test-patch-docker/Dockerfile
+++ b/precommit/src/main/shell/test-patch-docker/Dockerfile
@@ -190,7 +190,7 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
 RUN gem install rake
 RUN gem install rubocop
 RUN gem install ruby-lint
-RUN gem install bundler
+RUN gem install bundler -v 1.17.3
 # set some reasonable defaults for ruby
 # user's can always override these as needed
 ENV PATH ${PATH}:/var/tmp/.bundler-gems/bin