Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fowlie/gradle-jenkins-test
A Gradle plugin that updates test report timestamps, so Jenkins doesn't mark the build as failed
https://github.com/fowlie/gradle-jenkins-test
Last synced: 5 days ago
JSON representation
A Gradle plugin that updates test report timestamps, so Jenkins doesn't mark the build as failed
- Host: GitHub
- URL: https://github.com/fowlie/gradle-jenkins-test
- Owner: fowlie
- License: mit
- Created: 2014-09-22T18:16:53.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T22:56:10.000Z (almost 7 years ago)
- Last Synced: 2023-02-26T04:42:17.315Z (over 1 year ago)
- Language: Groovy
- Homepage:
- Size: 63.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/fowlie/gradle-jenkins-test.svg?branch=master)](https://travis-ci.org/fowlie/gradle-jenkins-test)
[![Release](http://img.shields.io/badge/release-0.3-47b31f.svg)](https://github.com/fowlie/gradle-jenkins-test/releases)
[![License](http://img.shields.io/badge/license-MIT-47b31f.svg)](#copyright-and-license)gradle-jenkins-test
============
A Gradle plugin for Jenkins users. When Gradle skips the test task because it's already up-to-date, Jenkins thinks the tests didn't run because of the old timestamp and will mark the build as failed! This plugin automatically updates the timestamp on the test report files every build, so your builds will pass.#### Usage
```groovy
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.fowlie:gradle-jenkins-test:+'
}
}
apply plugin: com.github.fowlie.GradleJenkinsTestPlugin
```
#### But why write a plugin from a piece of code thats not even 10 lines of code?
* Your build script will be a little shorter and a little cleaner
* I finally have something to blog about, besides how I created the blog