Git Product home page Git Product logo

jenkins-resources's People

Contributors

ricardoandre97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jenkins-resources's Issues

Getting the following error when I try to install docker inside the docker container

=> [internal] load metadata for docker.io/jenkins/jenkins:latest 0.0s
=> CACHED [1/6] FROM docker.io/jenkins/jenkins 0.0s
=> ERROR [2/6] RUN curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && python get-pip.py 2.1s

[2/6] RUN curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && python get-pip.py:
#0 0.363 % Total % Received % Xferd Average Speed Time Time Time Current
#0 0.365 Dload Upload Total Spent Left Speed
100 2518k 100 2518k 0 0 1479k 0 0:00:01 0:00:01 --:--:-- 1478k
#0 2.069 /bin/sh: 1: python: not found


failed to solve: process "/bin/sh -c curl "https://bootstrap.pypa.io/get-pip.py\" -o "get-pip.py" && python get-pip.py" did not complete successfully: exit code: 127

Because of Line 35 there are no search results displayed

Hey, thanks for your course.
I used this table.j2 file, but it showed an empty table.
On udemy you suggested a table.j2 file without the if-statement in line 35.

You shoud remove Line 35 "{% if PEOPLE_AGE is defined %} where age = {{ PEOPLE_AGE }} {% endif %}" from this file.

post-receive Script Update to use API Key instead of Crumb

Update course content to change the post-receive file from using crumbs to using an API-key.

Change the code in post-receive from this:
crumb=$(curl -u "jenkins:1234" -s 'http://jenkins:8080/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')
curl -u "jenkins:1234" -H "$crumb" -X POST http://jenkins:8080/job/maven-job/build?delay=0sec

To this:
curl -v -X POST http://jenkins:8080/job/maven-job/build?delay=0sec --user jenkins:<INSERT_API_KEY_HERE>

This works better with newer versions of Jenkins' default system settings because improved CSRF protection was implemented in version 2.176.2

While Installing the ansible from docker, I get this error. I've pasted the code of Docker file but get this error.

[jenkis@localhost jenkins-data]$ docker-compose build
db_host uses an image, skipping
Building jenkins
Sending build context to Docker daemon 2.048kB
Step 1/4 : FROM jenkins/jenkins
---> 55860ee0cd73
Step 2/4 : USER root
---> Using cache
---> 671d96641eea
Step 3/4 : RUN apt-get update && apt-get install python3-pip -y && pip3 inst all ansible --upgrade
---> Running in dfed4a887524
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44 .1 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
Reading package lists...
E: Release file for http://security.debian.org/debian-security/dists/bullseye-se curity/InRelease is not valid yet (invalid for another 1d 19h 11min 11s). Update s for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InReleas e is not valid yet (invalid for another 1d 15h 10min 8s). Updates for this repos itory will not be applied.
The command '/bin/sh -c apt-get update && apt-get install python3-pip -y && pip3 install ansible --upgrade' returned a non-zero code: 100
ERROR: Service 'jenkins' failed to build : Build failed
[jenkis@localhost jenkins-data]$

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.