Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ci/snapshot-publish/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/

@Library('releng-pipeline') _

// Avoid running the pipeline on branch indexing
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
print "INFO: Build skipped due to trigger being Branch Indexing"
Expand All @@ -13,6 +15,13 @@ if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
}

pipeline {
agent {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not agent any instead of whole this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just trying to follow the example from the link in the description.
Do you know of any working examples that I can take a look at?

(I wonder whether we need that pipeline library here at all or if I should just go with agent any/agent basic and remove the pipeline library ... that was going to be my next "test" 😃 (https://eclipse-cbi.github.io/cbi-website/jiro-agent/index.html) )

This comment was marked as resolved.

This comment was marked as outdated.

This comment was marked as outdated.

kubernetes {
yaml loadOverridableResource(
libraryResource: 'org/eclipsefdn/container/agent.yml'
)
}
}
tools {
jdk 'openjdk-jdk25-latest'
}
Expand Down