GitHub puppet-jenkins
276
276
132
Puppet module for Jenkins

Metadata Valid
No translation
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_VERSION_RANGE}
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
With Operatingsystem Support
No translation
Supports Only Current Centos
No translation
Supports Latest Centos
No translation
Supports Only Current Ubuntu
No translation
Supports Latest Ubuntu
No translation
In Modulesync Repo
No translation
In Plumbing
Is in plumbing
Has Secrets
Has a .sync.yml file
Synced
Has a .msync.yml file
Latest Modulesync
No translation
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
Released
Is in modulesync_config and in forge releases.
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.

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.

Add spec tests for jenkins::slave::tunnel parameter
needs-rebase
merge-conflicts
rebased pr 761+ssh pubkey support (closes #761)
needs-tests
merge-conflicts

In an attempt to get #761 merged, I've rebased it and added support for a ssh pubkey configuration in the bootstrap user.

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
}
```

Update jenkins-run.erb
tests-fail
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.

Check password to see if it's changed when adding/updating credentials.
enhancement
needs-feedback
needs-rebase
merge-conflicts

If the password has changed run the update/create credential command.

Support custom config.xml via template
enhancement
needs-feedback
needs-tests
merge-conflicts
tests-fail

Adds custom config.xml template for managing authorizationStrategy, securityRealm and views among other things.

Removes quotes from $JAVA_ARGS, otherwise java fails to start
tests-fail

Solves #939

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

Initial FreeBSD support
merge-conflicts
tests-fail

I want to improve module and add support for FreeBSD platform. I plan to implement it in small commits
chunk/steps and this is the first of them. All changes are tested on FreeBSD 11/12 (aka HEAD)

  • add cases for FreeBSD-specific params
  • expand exec path to /usr/local/bin which is the default path for 3rd-party software on FreeBSD (and probaly other: HP-UX, Solaris)
modulesync 2.12.0
tests-fail
modulesync

modulesync 2.12.0

Bring start-slave script on MacOS inline with other OSes
merge-conflicts

The start-slave script was not using the env vars properly
This generates the start up options from the env vars in jenkins-slave

Fixes #779

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.

Resolve credential leak via ps while jenkins-cli is used during puppe…
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

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.

Fix issue with detached plugins taking priority.
merge-conflicts
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
-->

Adding LDAP as a user realm.
enhancement
needs-docs
needs-rebase
needs-tests
merge-conflicts

By setting the user_realm to ldap and passing in the necessary config fields in ldapconfig through hiera for example then puppet will manage the ldap config.

Parameters to be set in the $ldapconfig hash:


server => "",
rootDN => "",
userSearch => "",
managerDN => "",
managerPasswordSecret => "",
inhibitInferRootDN => "",
disableMailAddressResolver => "",
displayNameAttributeName => "",
mailAddressAttributeName => ""

These will be loaded into a json file and then used by the puppet_helper groovy script to pass these arguments to the LDAPSecurityRealm constructor function.

Use voxpupuli-acceptance
tests-fail