- Install Docker on your local machine.
- Run this command:
docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk11
- Write down the password that's created for you during this first time set up process: like
8458e513eacd41d8875ca3253f47d3a0
- Go to
localhost:8080
and you should be prompted for this password - The link to the public Github file that consist of groovy script for the pipelies: https://github.com/akash-p-07/Python-Build-Test-Procj/blob/main/Jenkinsfile
- While the docker container is running, run cmd:
docker ps
to see what containers are running - copy the container ID for Jenkins, like8f7c957e19fd
- Run command:
docker exec -it -u 0 8f7c957e19fd /bin/bash
to open an interactive terminal within the Docker Container as root (user 0) - Run command:
apt-get update
andapt-get install python3
andapt-get install python3-pip
to install Python3 and pip within the Docker container - Run
pip install pytest
to install the pytest package that actually runs the unit/integ tests during your test stage within the pipeline
python-build-test-procj's Introduction
python-build-test-procj's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.