This is an automated email from the ASF dual-hosted git repository. vatamane pushed a commit to branch create-hex-and-gradle-cache-dirs in repository https://gitbox.apache.org/repos/asf/couchdb-infra-cm.git
commit 94aa1faa1cc287c2982109bc61614d9000fe57de Author: Nick Vatamaniuc <[email protected]> AuthorDate: Thu Oct 5 17:16:18 2023 -0400 Automatically create /home/jenkins/{.gradle,.hex} directories --- roles/ci_agent/tasks/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/roles/ci_agent/tasks/main.yml b/roles/ci_agent/tasks/main.yml index fe585b1..f45de65 100644 --- a/roles/ci_agent/tasks/main.yml +++ b/roles/ci_agent/tasks/main.yml @@ -129,3 +129,22 @@ src: /etc/sv/jenkins dest: /etc/service/jenkins state: link + +- name: Setup Gradle cache directory + become: yes + file: + path: /home/jenkins/.gradle + state: directory + owner: jenkins + group: jenkins + mode: u=rwX,g=rX,o=rX + +- name: Setup Hex cache directory + become: yes + file: + path: /home/jenkins/.hex + state: directory + owner: jenkins + group: jenkins + mode: u=rwX,g=rX,o=rX +
