Merge branch 'master' into 2019_2_1_port_49293

This commit is contained in:
Dmitry Kuzmenko 2019-11-14 03:54:44 +03:00 committed by GitHub
commit 857415f24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
51 changed files with 501 additions and 351 deletions

View File

@ -7,14 +7,17 @@ properties([
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')), buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > 1) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - 1) if (buildNumber > 1) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - 1)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
def shell_header def shell_header

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -22,14 +22,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') { wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') {
withEnv([ withEnv([

View File

@ -22,14 +22,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') { wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') {
withEnv([ withEnv([

View File

@ -22,14 +22,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') { wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') {
withEnv([ withEnv([

View File

@ -22,14 +22,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') { wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') {
withEnv([ withEnv([

View File

@ -22,14 +22,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') { wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') {
withEnv([ withEnv([

View File

@ -22,14 +22,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') { wrappedNode(jenkins_slave_label, global_timeout, '#jenkins-prod-pr') {
withEnv([ withEnv([

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -20,14 +20,17 @@ properties([
]) ])
]) ])
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > concurrent_builds) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - concurrent_builds) if (buildNumber > concurrent_builds) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - concurrent_builds)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
runTests( runTests(
env: env, env: env,

View File

@ -10,14 +10,17 @@ properties([
def shell_header def shell_header
// Be sure to cancel any previously running builds // Only set milestones on PR builds
def buildNumber = env.BUILD_NUMBER as int if (env.CHANGE_ID) {
if (buildNumber > 1) { // Be sure to cancel any previously running builds
// This will cancel the previous build which also defined a matching milestone def buildNumber = env.BUILD_NUMBER as int
milestone(buildNumber - 1) if (buildNumber > 1) {
// This will cancel the previous build which also defined a matching milestone
milestone(buildNumber - 1)
}
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
} }
// Define a milestone for this build so that, if another build starts, this one will be aborted
milestone(buildNumber)
def lint_report_issues = [] def lint_report_issues = []

View File

@ -21,7 +21,7 @@ log = logging.getLogger(__name__)
# These arches compiled from the rpmUtils.arch python module source # These arches compiled from the rpmUtils.arch python module source
ARCHES_64 = ('x86_64', 'athlon', 'amd64', 'ia32e', 'ia64', 'geode') ARCHES_64 = ('x86_64', 'athlon', 'amd64', 'ia32e', 'ia64', 'geode')
ARCHES_32 = ('i386', 'i486', 'i586', 'i686') ARCHES_32 = ('i386', 'i486', 'i586', 'i686')
ARCHES_PPC = ('ppc', 'ppc64', 'ppc64iseries', 'ppc64pseries') ARCHES_PPC = ('ppc', 'ppc64', 'ppc64le', 'ppc64iseries', 'ppc64pseries')
ARCHES_S390 = ('s390', 's390x') ARCHES_S390 = ('s390', 's390x')
ARCHES_SPARC = ( ARCHES_SPARC = (
'sparc', 'sparcv8', 'sparcv9', 'sparcv9v', 'sparc64', 'sparc64v' 'sparc', 'sparcv8', 'sparcv9', 'sparcv9v', 'sparc64', 'sparc64v'