#1806  Cache of suggested gradle job not working
Released
hzgotb opened 1 month ago

现在版本是10.3.1。 已经按最新的缓存配置,设置好。 在gradle容器里构建jar包。 但是最后在Settings/Builds/Cache Management里看到的缓存体积只有29 bytes

Robin Shen changed title 1 month ago
Previous Value Current Value
gradle 构建后,缓存不成功
Gradle cache not working
Robin Shen commented 1 month ago

为方便其他人参与讨论以及release notes的自动生成,尽量以英文提问。

hzgotb commented 1 month ago

为方便其他人参与讨论以及release notes的自动生成,尽量以英文提问。

英语不好 😅 只能翻译咯。

Robin Shen commented 1 month ago

附上一个示例项目吧。

gradylzp commented 1 month ago
Robin Shen commented 1 month ago

自动生成的模版有误。将cache路径改为 /home/gradle/.gradle/caches。如果有必要的话,.gradle下其他的目录也可以考虑cache。

Robin Shen changed fields 1 month ago
Name Previous Value Current Value
Type
Question
Bug
Affected Versions
empty
<=10.3.2
Robin Shen changed title 1 month ago
Previous Value Current Value
Gradle cache not working
Cache of suggested gradle job not working
OneDev changed state to 'Closed' 1 month ago
Previous Value Current Value
Open
Closed
OneDev commented 1 month ago

State changed as code fixing the issue is committed (b8e2a482)

OneDev changed state to 'Released' 1 month ago
Previous Value Current Value
Closed
Released
OneDev commented 1 month ago

State changed as build #4819 (10.3.3) is successful

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
<=10.3.2
Labels
No labels
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1806
Please wait...
Page is in error, reload to recover