Giter Site home page Giter Site logo

instr-jenkins-docker-image's Introduction

instr-jenkins-docker-image

Docker image based on jenkins/jenkins:lts that showcases instr usage. It contains a pipeline job configured to get the source code from instr-ios-sample-app and run the pipeline script hosted in the repository. The pipeline runs the tests, uses instr to run a performance benchmark and uses the Jenkins Performance Plugin to record the results.

How to run it

Dependencies

  • Environment capable of running instr: macOS with SIP disabled.
  • Docker
  • Java 1.8 or higher

Instructions

  1. Run the Jenkins server locally using Docker.
docker run -p 8080:8080 -p 50000:50000 ruenzuo/instrumentality-jenkins-performance-sample-config

Wait until you see INFO: Jenkins is fully up and running before continuing.

  1. Connect your computer to the Jenkins running in Docker as a build node.
curl -o "agent.jar" http://localhost:8080/jnlpJars/agent.jar
java -jar "agent.jar" -jnlpUrl http://localhost:8080/computer/macos-host/slave-agent.jnlp -workDir "/tmp/jenkins_macos_host"
  1. Navigate to http://localhost:8080 and run/inspect the sample job prepared for you.

job_page performance_trend

instr-jenkins-docker-image's People

Watchers

UnsafePointer<T> avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.