Skip to content

boltopspro-docs/jenkins

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NOTE: This repo contains only the documentation for the private BoltsOps Pro repo code. Original file: https://github.com/boltopspro/jenkins/blob/master/README.md The docs are publish so they are available for interested customers. For access to the source code, you must be a paying BoltOps Pro subscriber. If are interested, you can contact us at contact@boltops.com or https://www.boltops.com

jenkins configset

CodeBuild

BoltOps Badge

This configset install Jenkins on AmazonLinux2.

$ systemctl status jenkins
● jenkins.service - LSB: Jenkins Automation Server
   Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled)
   Active: active (running) since Tue 2020-01-14 02:03:32 UTC; 18min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 4765 ExecStart=/etc/rc.d/init.d/jenkins start (code=exited, status=0/SUCCESS)
    Tasks: 38
   Memory: 315.6M
   CGroup: /system.slice/jenkins.service
           └─4812 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins ...

Jan 14 02:03:31 ip-172-31-10-238.us-west-2.compute.internal systemd[1]: Starting LSB: Jenkins Automation Server...
Jan 14 02:03:31 ip-172-31-10-238.us-west-2.compute.internal runuser[4792]: pam_unix(runuser:session): session opened for user jen...=0)
Jan 14 02:03:32 ip-172-31-10-238.us-west-2.compute.internal runuser[4792]: pam_unix(runuser:session): session closed for user jenkins
Jan 14 02:03:32 ip-172-31-10-238.us-west-2.compute.internal jenkins[4765]: Starting Jenkins [  OK  ]
Jan 14 02:03:32 ip-172-31-10-238.us-west-2.compute.internal systemd[1]: Started LSB: Jenkins Automation Server.
Hint: Some lines were ellipsized, use -l to show in full.
$

What are lono configsets?

Lono configsets allow CloudFormation cfn-init configsets that are typically embedded in the template to be reusable. More info: Lono Configsets docs.

Usage

Add to project Gemfile:

git "jenkins", git: "git@github.com:boltopspro/jenkins"

Use configset to enable the configset for the blueprint. Example:

configs/demo/configsets/base.rb:

configset("jenkins", resource: "Instance")

This adds the configset to the resource with the logical id Instance in your CloudFormation template. The configset is added to the Resources[Instance].Metadata.AWS::CloudFormation::Init attribute of the Instance resource. You can confirm that it'll be used with the lono configsets BLUEPRINT command.

lono configsets demo

More Examples

Here's an example adding to a LaunchConfig resource:

configset("jenkins", resource: "LaunchConfig")

Here's an example adding to a LaunchTemplate resource:

configset("jenkins", resource: "LaunchTemplate")

About

Public documentation for boltopspro/jenkins

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages