INFRA-381 correctly merged jenkinsfile

This commit is contained in:
Schife 2020-06-05 07:56:37 +01:00
parent fb184839f4
commit 5f6f36712f

View File

@ -1,13 +1,9 @@
@Library('corda-shared-build-pipeline-steps')
import static com.r3.build.BuildControl.killAllExistingBuildsForJob
killAllExistingBuildsForJob(env.JOB_NAME, env.BUILD_NUMBER.toInteger())
pipeline {
agent { label 'k8s' }
options {
timestamps()
buildDiscarder(logRotator(daysToKeepStr: '7', artifactDaysToKeepStr: '7'))
disableConcurrentBuilds()
timeout(time: 3, unit: 'HOURS')
}
@ -140,4 +136,4 @@ pipeline {
deleteDir() /* clean up our workspace */
}
}
}
}