jenkins-resources's People
Forkers
javifelices manojr-lab kcguptaji danishsattar007 nishantshri08 smairpad chakrisi shivops ben-prft mynewlearnings2021 ramkumarocp25 prasad9898 codemato mokurdi ananthrajtag asingh32 xdiptan narravulavikas princeanurag2011 prasforoffice arpitnagar483 richardseberino anami-sf shashikkant5587 pavanvk9 angelvrstudio krannicj seasafe komalrastogi panupongdeve gouravpatel1996 ramashishsharma bertram1193 catalyst0 mizraimcortezcruz 0rtem chichidevops itsankitjain rahulpati118 gautham1433 srikanthvadapalli norbertuk ashuu26 bpkarma madhumita-kundo marciopereira00 sedakh trangdao909 xjbych1224 tonyhawthorne rameshmishra777 vamsisreepada prasancto jenk-prasan ankagrgit irfanumar1 ajkr195 siektsiek ericliu8539 alfredete aderpg kin3303 blact-boop harshifir tongtongyuanyuan utlavenkat ermiyas ambravo sareend harishshir mmanoj3 kalyansgithub mesatya observadorxpl gokularaman93 cheredia2k12 sinvx007 kybhatt shajinrr carelle1730 rahulkadam12 patilnpriya aearavindh ggoyal23 madamanchikiran seraph777 gitmukhtar ulan-24 shwetap979 edewe hsjarbin suyash-g vsarulnidhi mitchelcanto santha21 vijayk123 serhiinikitenko advith93 kvnbharadwaj thanhbinhwhjenkins-resources's Issues
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
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.
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
Cannot access ssh key inside tmp folder running in docker contianer
Hello there, after following exactly the same as the video tutorial. I got an issue where I was trying to ssh to the remote server from a running container and I say jenkin user doesnt have permission to access to remote key inside tmp folder.
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
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.