Use alpine images for building.
@@ -8,7 +8,7 @@ pipeline {
agent {
docker {
args '-v /mnt/ramdisk/3:/home/jenkins --privileged=true'
- image 'hub.carlspring.org/jenkins/opensuse-slave:latest'
+ image 'strongboxci/alpine:jdk8-mvn-3.5'
}
}
options {
@@ -125,7 +125,7 @@ pipeline {
always {
script {
// unmount and copy back to hdd
- sh "sudo umount --force $RAMMOUNT"
+ sh "sudo umount -f $RAMMOUNT"
sh "cp -R '$RAMWS/.' '$RAMMOUNT'"
}
