Skip to content
Use Puppeteer on Jenkins on Docker with Node.js and Jest.
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
README.md
package.json

README.md

Jenkins Puppeteer Docker

At geckos.io we use this to test the client/server communication between browser and Node.js.

Build and run the docker image

Add public Jenkins roles

Use the Role-based Authorization Strategy to manage it.

  • Navigate to the "Manage and Assign Roles" view
  • Add a new global role, "Public" for example
  • Add only the "Overall" "Read" permission, nothing else
  • Add a new Project Role with a relevant name and pattern that matches the job you want to filter for
  • Add the "Job" "Read" permission to the new Project Role
  • Navigate to the "Assign Roles" view
  • Add user/group "Anonymous" to global roles
  • Add Anonymous to the project role you created

Use a regex like geckos\.io[\w\/-]* to match the project name (geckos.io) and its branches (geckos.io/master).

source: stackoverflow.com

Badge

Add a cool badge like this

[![Jenkins](http://localhost:8080/buildStatus/icon?job=geckos.io%2Fmaster&style=flat-square)](http://localhost:8080/blue/organizations/jenkins/geckos.io/activity)

Code Coverage with cobertura

See medium.com

You can’t perform that action at this time.