Skip to content

Commit

Permalink
Update snippet with mkdir and cp
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Féo <[email protected]>
  • Loading branch information
gabrielfeo authored Jan 30, 2025
1 parent 0e8b711 commit ddcc363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ Optionally, if you'd like to apply the script to all builds, you may add it to t
.gradle-inject-job:
before_script:
- !reference [ .injectDevelocityForGradle ]
- mv "$DEVELOCITY_INIT_SCRIPT_PATH" "${GRADLE_USER_HOME:-~/.gradle}"
- gradle_init_d="${GRADLE_USER_HOME:-~/.gradle}/init.d"
- mkdir -p "$gradle_init_d" && cp "$DEVELOCITY_INIT_SCRIPT_PATH" "$gradle_init_d"
artifacts:
!reference [ .build_scan_links_report, artifacts ]
Expand Down

0 comments on commit ddcc363

Please sign in to comment.