Giter VIP home page Giter VIP logo

first-jenkins-pipline's Introduction

#Jenkins

##install jenking ##run localhost:8080 ##log in [reda reda , or find your admin passwors in apdata ,,, they will give you] ##to link jenkins with dockerHub , add your credentials in manage credentials (username+password) and call it a name in the ID , you will use the ID in the Jenkinsfile to setup your pipline github=>jenkins=>dockerHub ##create a new job of pipline type , describe it , the add this poll SCM in build triggers : * * * * * wich means every minute ##add your pipline of type : pipline script from SCM [source code management] , then choose git , then add your repo url (the http one in my case + ma ke it public also)

https://youtu.be/ac9PMyB268s?t=150 https://devops4solutions.com/publish-docker-image-to-dockerhub-using-jenkins-pipeline/

DOCKER : Jenkins Password Admin path: C:\ProgramData\Jenkins.jenkins\secrets\initialAdminPassword

commands

docker build . or best build -t imageName . [imageName] [Path]

docker run -it f10f459c3e7d[imageId] or best docker run [imageName]

//wsl home Location[in the network]: \wsl$\Ubuntu\home

open closed tab chrome: clt shift T

start . == to open project explorer || Win + E || wsl : explorer.exe .

start cmd.exe or start wsl.exe to open wsl/cmc

wsl -l -v || wsl --list

wsl --set-default-version 2

wsl --set-version Ubuntu-20.04 2

linux Version: cat /etc/*-release

windows version: win+R tap winver

To run a command as administrator (user "root"), use "sudo ".

See "man sudo_root" for details.

Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64)

* Documentation: https://help.ubuntu.com

System information as of Sun Nov 28 12:34:10 +01 2021

System load: 0.16 Processes: 8

Usage of /: 0.5% of 250.98GB Users logged in: 0

Memory usage: 8% IPv4 address for eth0: 172.18.136.241

Swap usage: 0%

1 update can be applied immediately.

To see these additional updates run: apt list --upgradable

The list of available updates is more than a week old.

To check for new updates run: sudo apt update

This message is shown once a day. To disable it please create the

/home/reda/.hushlogin file.

first-jenkins-pipline's People

Contributors

reda-elouahabi avatar

Watchers

 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.