You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2019/06/26 14:37:03 UTC

[netbeans-jenkins-lib] branch master updated: simplify script

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 6cc934b  simplify script
6cc934b is described below

commit 6cc934b8eee64e7a77836c59b8d4ca97558ce6d2
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Wed Jun 26 16:36:56 2019 +0200

    simplify script
---
 vars/asfMainNetBeansBuild.groovy | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 2396c4c..b51f94d 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -105,9 +105,8 @@ def call(Map params = [:]) {
                                     for (String target in targets){
                                         sh "rm -rf ${env.WORKSPACE}/${target}-${clusterconfig}-temp"
                                         sh "mkdir  ${env.WORKSPACE}/${target}-${clusterconfig}-temp"
-                                        sh "cd ${env.WORKSPACE}/${target}-${clusterconfig}-temp"
                                         sh "unzip ${env.WORKSPACE}/nbbuild/build/${clusterconfig}*.zip -d ${env.WORKSPACE}/${target}-${clusterconfig}-temp "
-                                        sh "cp ${env.WORKSPACE}/.gitignore ."
+                                        sh "cp ${env.WORKSPACE}/.gitignore ${env.WORKSPACE}/${target}-${clusterconfig}-temp"
                                         def add = "";
                                         if (target=="build") {
                                             add=" -Ddo.build.windows.launchers=true"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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