Public Repository

Last pushed: 9 months ago
Short Description
Jenkins preloaded with APC and sample apps for the Apcera Platform
Full Description

About

Contains APC and Jenkins. Jenkins is configured with a few sample app items, git plugins, and a user. Feel free to test this out on the Apcera Platform Community Edition https://www.apcera.com/community-edition

Dockerfile link

Single Jenkins Instance Instructions:

Run Jenkins in a cluster:

  • Create policy for Jenkins to use an AppToken per http://docs.apcera.com/jobs/app-token

  • apc network create jenkins --batch

  • apc docker create jenkins-master -i apcerademos/apcerajenkins -m 2G -d 5G --port 8080 -ae -r http://master-jenkins.demo.apcera.net -e target="http://demo.apcera.net" --batch

  • apc docker create jenkins-slave -i apcerademos/apcerajenkins -m 2G -d 5G --port 8080 -ae -s "bash /slave.sh" -e target="http://demo.apcera.net" --batch

  • apc network join jenkins -j jenkins-master -da master --batch

  • apc network join jenkins -j jenkins-slave --batch

  • apc service bind /apcera::http --job jenkins-master --batch

  • apc service bind /apcera::http --job jenkins-slave --batch

  • apc app start jenkins-master

  • apc app update jenkins-slave -i 3 --batch
  • apc app start jenkins-slave

Jenkins Credentials:

Login: apcera
Password: apcera*

Docker Pull Command
Owner
apcerademos

Comments (0)