[ 
https://issues.apache.org/jira/browse/YETUS-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037765#comment-17037765
 ] 

Pierre Smits commented on YETUS-936:
------------------------------------

It seems to me the project does not need an additional shell script (or piece 
of)  to get the proper Gradle version implemented in the docker container, as 
it already has installation routines to install Apache Ant and Apache Maven. 

With both, albeit Ant would require Ant Ivy, the script in the Dockefile 
file/script the appropriate Grade version can be downloaded and put in the 
correct place.

What does the team think regarding the best solution, as there are multiple 
options available?

> test-patch.sh does not do gradle in docker
> ------------------------------------------
>
>                 Key: YETUS-936
>                 URL: https://issues.apache.org/jira/browse/YETUS-936
>             Project: Yetus
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.11.1
>         Environment: MacBook, with in $HOME the .gradle folder. The 
> wrapper/thereunder folder thereunder contains: gradle-2.13-bin, 
> gradle-3.2.1-bin, gradle-5.0-bin, gradle-5.6.2-all
>            Reporter: Pierre Smits
>            Priority: Major
>              Labels: docker, gradle
>
> While trying to do a 'test-patch' on a PR in the ofbiz-framework repo on 
> Github with following command
> {code:java}
> ~/dev/asf/yetus/precommit/src/main/shell/test-patch.sh 
> --basedir=/Users/nl04748/dev/asf/ofbiz/ofbiz-framework --build-tool=gradle 
> --dirty-workspace --docker --patch-dir=/Users/nl04748/dev/test/yetus 
> --plugins=all --project=ofbiz 
> https://github.com/apache/ofbiz-framework/pull/12
> {code}
> I get following error returned:
> {code:java}
> ERROR: gradle is not available. 
> {code}
> See also linked mail thread 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to