Can you check out multiple repositories for a Gradle composite build? #4382
-
Basically I have a setup where I'm using Gradle composite build to pull a library into my build. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The only one special clone:
git:
image: woodpeckerci/plugin-git
clone:
git:
image: woodpeckerci/plugin-git
steps:
build:
image: alpine
commands:
- echo 'Build'
test:
image: alpine
commands:
- echo 'Test' But you can use steps:
clone-deps:
image: woodpeckerci/plugin-git
settings: ...
build:
image: alpine
commands:
- echo 'Build'
test:
image: alpine
commands:
- echo 'Test'
push-back:
image: alpine/git
commands: ...
Consider to use git submodules. |
Beta Was this translation helpful? Give feedback.
The only one special
clone
step can be defined in a workflow:But you can use
clone
plugin or image withgit
in so many steps, how you want: