clean jenkins workspace (post build)
Gitea/subman-nextjs/pipeline/head There was a failure building this commit
Details
Gitea/subman-nextjs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
b16d293e27
commit
740a57b30e
|
@ -21,4 +21,15 @@ agent any
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
// Clean after build
|
||||||
|
always {
|
||||||
|
cleanWs(cleanWhenNotBuilt: true,
|
||||||
|
deleteDirs: true,
|
||||||
|
disableDeferredWipeout: true,
|
||||||
|
notFailBuild: true,
|
||||||
|
patterns: [[pattern: '.gitignore', type: 'INCLUDE'],
|
||||||
|
[pattern: '.propsfile', type: 'EXCLUDE']])
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue