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

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new 926c6e4  Update asfMainNetBeansBuild.groovy
926c6e4 is described below

commit 926c6e4343e1de27fbb3614c4a9af1e0fc6290e2
Author: Eric Barboni <[email protected]>
AuthorDate: Mon Sep 23 11:01:40 2019 +0200

    Update asfMainNetBeansBuild.groovy
    
    experiement git
---
 vars/asfMainNetBeansBuild.groovy | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index ac6e013..ea4a4f5 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -87,6 +87,19 @@ def call(Map params = [:]) {
                     withAnt(installation: myAnt) {
                         script {
                             //sh 'ant'
+                            // experiment 
+                            echo ')==='
+                            sh 'cat ${env.WORKSPACE}/.git/HEAD'
+                            echo '==,'
+                            sh 'git --version'
+                            echo '==,'
+                            sh 'git rev-parse HEAD'
+                            echo '==,'
+                            sh 'git rev-parse --abbrev-ref HEAD '
+                            echo '==,'
+                            sh 'git branch --remote --verbose --no-abbrev 
--contains'
+                            throw new Exception("Fail fast debug")
+                            // end experiement
                             if (env.BRANCH_NAME=="master") {
                                 sh "ant build-nbms build-source-zips 
build-javadoc -Djavadoc.web.zip=${env.WORKSPACE}/WEBZIP.zip"
                                 sh "rm -rf ${env.WORKSPACE}/repoindex/"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to