Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Introduce jenkins_pipeline_library_jenkins_prefer_lts to control geer…
Browse files Browse the repository at this point in the history
…lingguy.jenkins jenkins_prefer_lts option
  • Loading branch information
Tobias Richter committed Aug 6, 2020
1 parent 0d9c508 commit 62a26fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ jenkins_pipeline_library_jenkins_version: 2.222.3
# Controls if the jenkins will be installed by the jenkins role dependency
jenkins_pipeline_library_jenkins_install: false

# Controls the jenkins_prefer_lts option of geerlingguy.jenkins dependency
jenkins_pipeline_library_jenkins_prefer_lts: true

# Linux jenkins user
jenkins_pipeline_library_jenkins_process_user: jenkins

Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies:
jenkins_version: "{{ jenkins_pipeline_library_jenkins_version }}",
jenkins_process_user: "{{ jenkins_pipeline_library_jenkins_process_user }}",
jenkins_process_group: "{{ jenkins_pipeline_library_jenkins_process_group }}",
jenkins_pipeline_library_jenkins_prefer_lts: "{{ jenkins_pipeline_library_jenkins_prefer_lts }}",
tags: ['wcm_io_devops.jenkins_pipeline_library.jenkins-installation'],
# only setup jenkins when enabled
when: jenkins_pipeline_library_jenkins_install | bool
Expand Down

0 comments on commit 62a26fc

Please sign in to comment.