ci: add cleanup step, also timeout and timestamps

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-09-26 10:46:31 +02:00
parent 93a0f7891f
commit f5e5db50d3
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 6 additions and 0 deletions

6
ci/Jenkinsfile vendored
View File

@ -7,6 +7,8 @@ pipeline {
} }
options { options {
timestamps()
timeout(time: 5, unit: 'MINUTES')
disableConcurrentBuilds() disableConcurrentBuilds()
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '20', numToKeepStr: '20',
@ -35,4 +37,8 @@ pipeline {
} }
} }
} }
post {
cleanup { cleanWs() }
}
} }