Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Sep 8, 2023
2 parents b230103 + 5cdcbb1 commit 3545e47
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
16 changes: 14 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,19 @@ pipeline {
]))
}
parameters {
string(name: 'BuildPriority', defaultValue: "$buildPriority", description: "Specify the priority of this build.\nDefaults to project's depth in the upstream project graph")
string(
name: 'BuildPriority',
defaultValue: "$buildPriority",
description: """Specify the priority of this build.
Defaults to project's depth in the upstream project graph."""
)
booleanParam(
name: 'requireLastBuild',
defaultValue: true,
description: """Is the last build required for the zip-timestamp-merge Ant task?
Defaults to true and will typically only be false for either the first build
or any build that adds or removes build artifacts."""
)
}
triggers {
upstream(
Expand Down Expand Up @@ -931,7 +943,7 @@ void deploySteps(niceCmd, projectDir, deployJdk, maven, mavenOpts, mavenOptsJdk1
copyArtifacts(
projectName: "/${JOB_NAME}",
selector: lastSuccessful(stable: false),
filter: '**/*.aar, **/*.jar, **/*.war',
filter: '**/*.aar, **/*.jar, **/*.war, **/*.zip',
target: 'target/last-successful-artifacts',
flatten: true,
optional: true
Expand Down
16 changes: 14 additions & 2 deletions book/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,19 @@ pipeline {
]))
}
parameters {
string(name: 'BuildPriority', defaultValue: "$buildPriority", description: "Specify the priority of this build.\nDefaults to project's depth in the upstream project graph")
string(
name: 'BuildPriority',
defaultValue: "$buildPriority",
description: """Specify the priority of this build.
Defaults to project's depth in the upstream project graph."""
)
booleanParam(
name: 'requireLastBuild',
defaultValue: true,
description: """Is the last build required for the zip-timestamp-merge Ant task?
Defaults to true and will typically only be false for either the first build
or any build that adds or removes build artifacts."""
)
}
triggers {
upstream(
Expand Down Expand Up @@ -937,7 +949,7 @@ void deploySteps(niceCmd, projectDir, deployJdk, maven, mavenOpts, mavenOptsJdk1
copyArtifacts(
projectName: "/${JOB_NAME}",
selector: lastSuccessful(stable: false),
filter: '**/*.aar, **/*.jar, **/*.war',
filter: '**/*.aar, **/*.jar, **/*.war, **/*.zip',
target: 'target/last-successful-artifacts',
flatten: true,
optional: true
Expand Down

0 comments on commit 3545e47

Please sign in to comment.