Repository to go along with the How To Secure Your Gradle Credentials In Jenkins article at jenkinshero.com.
- Docker
./gradlew docker dockerComposeUp
This will run:
- Jenkins
- Archiva
docker-compose down
(unfortunately the Palantir Gradle plugin doesn't provide a dockerComposeDown task so we have to run the docker-compose command directly)
./gradlew publish
This will publish a simple jar file with a single Java class to a locally configured Archiva Maven repository.
./gradlew build
This will try to build the project-to-build
project. It has a dependency on an artifact that it expects to be
in a locally configured Archiva Maven repository.