GitHub puppet-jenkins
Puppet module for Jenkins

Repo Checks ( 10 of 15 successfull )
Metadata Valid
No translation
passed
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_SUPPORT_RANGE}
passed
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
passed
With Operatingsystem Support
No translation
passed
Supports Only Current Centos
No translation
failed
Supports Latest Centos
No translation
passed
Supports Only Current Ubuntu
No translation
failed
Supports Latest Ubuntu
No translation
failed
In Modulesync Repo
Is listed as a module managed using modulesync_config
passed
Synced
Has a .msync.yml file
passed
Latest Modulesync
Has been synchronized with the latest tagged version of modulesync_config
failed
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
passed
Released
Is in modulesync_config and in forge releases.
passed
Valid Sync File
If a (optional) sync file is present, it must not contain a `.travis.yml` entry.
passed
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.
failed

Open Pull Requests

Use eval in jenkins-run
tests-fail

It's required to support escaping spaces in JENKINSJAVACMD, JENKINSJAVAOPTIONS, JENKINSHOME and JENKINSWAR variables.

For example, it's impossible to set hudson.model.DirectoryBrowserSupport.CSP without this, since CSP policy has to contain spaces, and escaping spaces wasn't possible in JENKINS_JAVA_OPTS.

Open PR in GitHub
Allow disabling automatic Jenkins master restarts
tests-fail

This is useful on production Jenkins masters where non-scheduled restarts are
dangerous. Unit file changes and user changes that happen before tha package is
installed are not affected.

Open PR in GitHub
Resolve credential leak via ps while jenkins-cli is used during puppe…
merge-conflicts
tests-fail

…t runs

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

Passes credentials to jenkins-cli as environement variables by default so passwords aren't visible in the output of ps during puppet agent runs.

This Pull Request (PR) fixes the following issues

Not sure if this has an associated issue

Open PR in GitHub
Fix code ordering on 18.04 and add new debian gpg key
tests-fail

Change code ordering to work with Ubuntu 18.04 and add new upstream gpg key from Jenkins

Fixes

920

971

Open PR in GitHub
Removes quotes from $JAVA_ARGS, otherwise java fails to start
tests-fail
Use plist to manage arguments and environment for macos swarm plugin
merge-conflicts
tests-fail

Pull Request (PR) description

This change removes the start up script for macOS and moves the arguments to the plist template.

Open PR in GitHub
jenkins_exec type
tests-fail

```
jenkins_exec{ 'job-dsl security':
script => @(END)
import jenkins.model.*

def j = Jenkins.getInstance()
def jobDsl = j.getDescriptor("javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration")
jobDsl.setUseScriptSecurity(false)
END
}
```

Open PR in GitHub
Add spec tests for jenkins::slave::tunnel parameter
merge-conflicts
needs-rebase
Remove the retries gem
merge-conflicts
tests-fail

Retries is only used by the CLI providers. Puppet itself also provides retry functionality. This avoids the need to ensure a gem is installed in the right environment, which may not even work if it's a disconnected environment.

This does ignore a parameter for the maximum time to sleep. I'm looking for feedback on how to best deal with this.

Open PR in GitHub
Change hiera_array to the newer lookup

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

This PR remove the deprecated hiera_array and change it to the new lookup.

This Pull Request (PR) fixes the following issues

Fixes #983

Open PR in GitHub
Fix issue with detached plugins taking priority.
merge-conflicts
needs-rebase
tests-fail

As of Jenkins 2.176.2 detached plugins were taking precedence over specified plugins due to a fix that was introduced for docker: https://issues.jenkins-ci.org/browse/JENKINS-57528.

The fix in Jenkins ensured stricter processing of plugins. the module was installing plugins as .hpi files where Jenkins expects them to be .jpi files.

This problem was highlighted in https://github.com/voxpupuli/puppet-jenkins/issues/926.

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

<!--
Replace this comment with a description of your pull request.
-->

This Pull Request (PR) fixes the following issues

<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->

Open PR in GitHub
bump up dependencies

bump up dependencies

Open PR in GitHub
Assume the package default for Jenkins homedir

In case the Jenkins user doesn't exist, we can assume what's default in the package because it may be present in the future.

This is a test to see if this fixes the acceptance tests on EL7 when running under docker.

Open PR in GitHub
Feature/oic auth

This PR adds support for OpenId Connect Authentication https://plugins.jenkins.io/oic-auth/ securityRealm.

I am not very happy with the use of the "Boolean:" construct that i added for boolean parameters.
This was necessary because one of the parameters for the OicSecurityRealm constructor is a classed Boolean opposed to all others being primitive booleans. I am not very fluent in Java so i did not know how to solve this a different way. If anyone can provide a more elegant way around this issue i would love to change it.

Open PR in GitHub
Always read plugin manifest as UTF-8

The manifest can contain UTF-8 data and if no LANG is set (like in minimal environments), this causes the read to fail. This forces it to read the file using UTF-8 encoding.

Open PR in GitHub
puppetlabs/stdlib: allow 7.x
puppet/archive: allow 5.x
enhancement

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

<!--
Replace this comment with a description of your pull request.
-->

This Pull Request (PR) fixes the following issues

<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->

Open PR in GitHub
download jenkins-cli.jar instead of extracting it from jenkins.war
needs-rebase
needs-tests
needs-work
tests-fail

… the Jenkins-cli.

https://github.com/voxpupuli/puppet-jenkins/issues/998

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

<!--
Jenkins CLI is no longer available in the above path, so we need to download it directly from jnlpJars/jenkins-cli.jar
WEB-INF/jenkins-cli

-->

This Pull Request (PR) fixes the following issues

<!--
directly download jenkins-cli from jnlpJars/jenkins-cli.jar
-->

Open PR in GitHub
v3.0.0 release prep
tests-fail

Pull Request (PR) description

This PR bumps metadata.json to v3.0.0 and updates the change log in preparation for a new release. The major version bump is a result of the fact that puppet 3.x code and other breaking changes have happened since the last release.

Open PR in GitHub
Handle arguments with spaces
tests-fail

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

Allow Java System Properties that may contain spaces as options parameters, like -Dhudson.model.DirectoryBrowserSupport.CSP="sandbox allow-same-origin"

This Pull Request (PR) fixes the following issues

Fixes #927

Open PR in GitHub
Allow up-to-date dependencies
modulesync 4.2.0
modulesync

modulesync 4.2.0

Open PR in GitHub