Last active
August 19, 2024 16:05
-
-
Save antweiss/a2a827934761abb5f825b1429e0a1c5c to your computer and use it in GitHub Desktop.
CloudLinux Jenkins training
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/otomato-gh/jenkins-playground.git | |
cd jenkins-playground | |
./setup.sh | |
cd non-docker | |
./setup_jenkins.sh | |
####### | |
Go to <your machine public IP>:8080 | |
Follow the instructions to find and set the password and install the plugins | |
##### | |
Fork https://github.com/otomato-gh/bunsysinfo to your own github account. | |
Create a multi-branch pipeline with source from https://github.com/<your-user>/bunsysinfo | |
You will need to add a Jenkinsfile in your github repo. | |
Start with: | |
`pipeline { | |
agent any | |
stages { | |
stage('Hello') { | |
steps { | |
echo "Hello" | |
} | |
} | |
} | |
} | |
` | |
Follow the instructions on the repo to build the CI process. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment