Tekton task for use with ODS Pipeline to build Gradle applications and libraries.
tasks:
- name: build
taskRef:
resolver: git
params:
- { name: url, value: https://github.com/opendevstack/ods-pipeline-gradle.git }
- { name: revision, value: v0.2.1 }
- { name: pathInRepo, value: tasks/build.yaml }
workspaces:
- { name: source, workspace: shared-workspace }
See the documentation for details and available parameters.
TIP: If you need a database to run alongside your tests, you can use the tasks/build-with-postgres.yaml
variant of this task!
docs
and tasks
are generated directories from recipes located in build
. See the Makefile
target for how everything fits together.