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 20, 2023
2 parents 1fe97e1 + 75fce40 commit 88a6755
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ def upstreamProjects = [
* 'book/Jenkinsfile' -> 'book' *
* 'devel/Jenkinsfile' -> 'devel' *
* *
* abortOnUnreadyDependency Aborts the build when any dependency is queued, building, *
* or unsuccessful. *
* Defaults to true *
* *
* disableSubmodules Disables checkout of Git submodules. *
* Defaults to true *
* *
Expand Down Expand Up @@ -169,9 +165,6 @@ if (!binding.hasVariable('projectDir')) {
}
binding.setVariable('projectDir', projectDir)
}
if (!binding.hasVariable('abortOnUnreadyDependency')) {
binding.setVariable('abortOnUnreadyDependency', true)
}
if (!binding.hasVariable('disableSubmodules')) {
binding.setVariable('disableSubmodules', true)
}
Expand Down Expand Up @@ -584,6 +577,13 @@ pipeline {
defaultValue: "$buildPriority",
description: """Specify the priority of this build.
Defaults to project's depth in the upstream project graph."""
)
booleanParam(
name: 'abortOnUnreadyDependency',
defaultValue: true,
description: """Aborts the build when any dependency is queued, building, or unsuccessful.
Defaults to true and will typically only be false to push a new version of a project out immediately.
May also want to set BuildPriority to \"1\" to put at the top of the build queue."""
)
booleanParam(
name: 'requireLastBuild',
Expand All @@ -603,7 +603,7 @@ or any build that adds or removes build artifacts."""
stage('Check Ready') {
when {
expression {
return abortOnUnreadyDependency
return params.abortOnUnreadyDependency
}
}
steps {
Expand Down
2 changes: 1 addition & 1 deletion all
Submodule all updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile
2 changes: 1 addition & 1 deletion bom
Submodule bom updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile
16 changes: 8 additions & 8 deletions book/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ def upstreamProjects = [
* 'book/Jenkinsfile' -> 'book' *
* 'devel/Jenkinsfile' -> 'devel' *
* *
* abortOnUnreadyDependency Aborts the build when any dependency is queued, building, *
* or unsuccessful. *
* Defaults to true *
* *
* disableSubmodules Disables checkout of Git submodules. *
* Defaults to true *
* *
Expand Down Expand Up @@ -184,9 +180,6 @@ if (!binding.hasVariable('projectDir')) {
}
binding.setVariable('projectDir', projectDir)
}
if (!binding.hasVariable('abortOnUnreadyDependency')) {
binding.setVariable('abortOnUnreadyDependency', true)
}
if (!binding.hasVariable('disableSubmodules')) {
binding.setVariable('disableSubmodules', true)
}
Expand Down Expand Up @@ -599,6 +592,13 @@ pipeline {
defaultValue: "$buildPriority",
description: """Specify the priority of this build.
Defaults to project's depth in the upstream project graph."""
)
booleanParam(
name: 'abortOnUnreadyDependency',
defaultValue: true,
description: """Aborts the build when any dependency is queued, building, or unsuccessful.
Defaults to true and will typically only be false to push a new version of a project out immediately.
May also want to set BuildPriority to \"1\" to put at the top of the build queue."""
)
booleanParam(
name: 'requireLastBuild',
Expand All @@ -618,7 +618,7 @@ or any build that adds or removes build artifacts."""
stage('Check Ready') {
when {
expression {
return abortOnUnreadyDependency
return params.abortOnUnreadyDependency
}
}
steps {
Expand Down
2 changes: 1 addition & 1 deletion model
Submodule model updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile
2 changes: 1 addition & 1 deletion renderer-html
2 changes: 1 addition & 1 deletion servlet
Submodule servlet updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile
2 changes: 1 addition & 1 deletion style
Submodule style updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile
2 changes: 1 addition & 1 deletion taglib
Submodule taglib updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile
2 changes: 1 addition & 1 deletion view
Submodule view updated 2 files
+8 −8 Jenkinsfile
+8 −8 book/Jenkinsfile

0 comments on commit 88a6755

Please sign in to comment.