Code Monkey home page Code Monkey logo

jenkins-playground's Issues

Use the jenkins slave for build

Started by user Coderbunker
17:58:55 Connecting to https://api.github.com using xuyuji9000-bot/******
Obtained Jenkinsfile from f1bcfa6740b8521ca50158bafa453e400ad04dd8
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] deleteDir
Required context class hudson.FilePath is missing
Perhaps you forgot to surround the code with a step that provides this, such as: node
[Pipeline] error
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline

Could not update commit status, please check if your scan credentials belong to a member of the organization or a collaborator of the repository and repo:status scope is selected


GitHub has been notified of this commit’s build result

ERROR: Attempted to execute a step that requires a node context while ‘agent none’ was specified. Be sure to specify your own ‘node { ... }’ blocks when using ‘agent none’.
Finished: FAILURE

Polish the Documented steps for Workshop

  1. Create aws account

  2. Get an instance

  3. Prepare s3 bucket

  4. Get an AWS IAM user for Jenkins deployment

  5. Install Jenkins on the Instance

  6. Pointing the url to the instance

  7. Enable SSL

  8. Create a Reactjs project on Github

  9. Add Jenkinsfile to the Reactjs configuration

  10. Test automatic build and deployment

EXTRA:

  1. Add test step to the pipeline

Roadmap

  • Setup Jenkins with Packer

  • Run first Jenkins Job with Jenkinsfile

  • Add a slave node

Install Jenkins on Centos

  1. Prepare Java: sudo yum install java-1.8.0-openjdk-devel

  2. Enable Jenkins reepository:

curl --silent --location http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo | sudo tee /etc/yum.repos.d/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key

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.