273f2128fe
Add support for the Slave Prerequisites Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Slave+Prerequisites+Plugin) Change-Id: I98e854ab3ab7cdbe1563b6b38b7fc4d661edcd11
7 lines
163 B
YAML
7 lines
163 B
YAML
properties:
|
|
- slave-prerequisites:
|
|
script: |
|
|
#!/bin/bash
|
|
AVAILABLE=$(df -BG --output=avail / | tail -1)
|
|
test ${AVAILABLE%G} -ge 10
|