You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (Jira)" <ji...@apache.org> on 2020/04/06 15:25:00 UTC

[jira] [Updated] (YETUS-936) test-patch.sh does not do gradle

     [ https://issues.apache.org/jira/browse/YETUS-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer updated YETUS-936:
-----------------------------------
    Release Note: 
<!-- markdown -->
Gradle support has been modified to support modern gradle layouts.  As such, this is an incompatible change for gradle.  Bootstrapping gradle is no longer supported; gradlew is expected to be there.  Patches that wish to upgrade gradle are now expected to just be a patch against the gradle components in the repo.

* checkstyle should now work
* $HOME/.gradle is no longer imported into docker containers to prevent cache corruption
* a new <plugin>_postcleanup has been added. In the case of gradle, this now shuts down the gradle daemon
* two new core routines have been added (escape_html/unescape_html) to cover some basic HTML entity resolution. These are not exhaustive but cover the most common ones seen.  
* GRADLE_ARGS is now GRADLEW_ARGS to match the functionality change.

  was:
Gradle support has been modified to support modern gradle layouts.  As such, this is an incompatible change for gradle.  Bootstrapping gradle is no longer supported; gradlew is expected to be there.  Patches that wish to upgrade gradle are now expected to just be a patch against the gradle components in the repo.

* checkstyle should now work
* $HOME/.gradle is no longer imported into docker containers to prevent cache corruption
* a new <plugin>_postcleanup has been added. In the case of gradle, this now shuts down the gradle daemon
* two new core routines have been added (escape_html/unescape_html) to cover some basic HTML entity resolution. These are not exhaustive but cover the most common ones seen.  
* GRADLE_ARGS is now GRADLEW_ARGS to match the functionality change.


> test-patch.sh does not do gradle
> --------------------------------
>
>                 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
>            Assignee: Allen Wittenauer
>            Priority: Blocker
>              Labels: docker, gradle
>             Fix For: 0.12.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> 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)