Sharing my thoughts, discussing my projects, and traveling the world.
Contact: @borz
Last updated 1 week ago
Telegram stands for freedom and privacy and has many easy to use features.
Last updated 1 week, 1 day ago
Official Graph Messenger (Telegraph) Channel
Download from Google Play Store:
https://play.google.com/store/apps/details?id=ir.ilmili.telegraph
Donation:
https://graphmessenger.com/donate
Last updated 5 months ago
Programmatic pluginManager possibilities
Hello! I'm trying to find a way to regularly audit plugin security warnings and update info. I've tried using the API and jenkins cli to return all the data captured in the screenshot but both of those options seem to be missing data (list-plugins doesn't contain any of the security warnings, for instance).
What's the best way to capture current installed version, updated version/when it was released, and the additional security warning/dependency context without having to browse to the console?
Thanks!
https://redd.it/1fg0a7p
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
Conditional Locking over Multiple Stages
So in my Jenkinsfile, there are two to places I execute my codes in. One can be accessed all the time, the other requires me to lock a resource. I know that I'm able to lock multiple stages by doing something like this:
stage("Parent") {
when {
//some condition
}
options {
lock(resource: "my-resource")
}
stages {
stage("Child 1") {}
stage("Child 2") {}
...
}
}
However, when the condition is fale, it will skip Child1 and Child2 but will still activate the lock.
How can I lock multiple stages without it also taking the lock when the when
is false?
https://redd.it/1ff6i6m
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
Using Functions & Constants in Jenkinsfile with Declarative Pipeline
Is it possible to define functions and constants inside the Jenkinsfile of a Declarative Pipeline to avoid duplicate code and use of strings?
Functions I somewhat managed to get to work, I just defined them at the top (I think I can also define them at the bottom) and then just use them directly in the Pipeline block and it works without issues. Constants make me struggle a bit though... Should I just define them in the environment inside the Pipeline? Or is it not possible to define global constants and group them somehow? Like Enums or Maps kind of...
https://redd.it/1ff3q4v
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
Hi can you test this please? https://jenkinson.ai/ - just launched jenkins ai assitant
https://jenkinson.ai/ basically its kind of smart search, it will summarize all relevent info from all resources it can find depand on your question.
few things to note:
1. its limited on understanding long form quesitons or long form jenkins code
it works good when you ask simple quesiton basic knowledge
I think for learning jenkins it will be very helpfull
please share some feedback, what you like what you didnt
its free but you willl need to signup after 5 messages
Thanks you guys
https://redd.it/1f9q7dp
@jenkinsci
jenkinson.ai
Jenkinson: Seek How Know Now
Jenkinson's mission is to empower Jenkins users to do more and work faster with AI-driven chat capabilities. Just ask what you need, and Jenkinson will do its best to assist. As a beta version, it may make mistakes, so be sure to check the references. Jenkinson…
Multiple Python Envs
The backstory: I run an extensive free-style multi-step project that needs a version of python that should be determined at runtime, where the step is running inside a virtual environment.
Managing the different versions of python on the agents is beginning to be an administrative hurdle I’d like to discuss-own, as it requires pre-deployment of the python version to the agents, configuration on the server, and the Jenkins file so as to supply the correct version to shiningpanda ahead of time.
Shiningpanda is great in its own right, but I can’t use it since it requires pre-configuration of the python version, and I want / need that to be determined at run-time.
I’ve lightly looked at pyenv-win, which appears to allow dynamically managing python versions, including installation but that requires me to move away from shiningpanda and manage my own virtual environments.
Is there something else that I can use to manage virtual environments in dynamically sourced python versions?
https://redd.it/1f8q51n
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
Passing Ansible become password through to a Jenkins file
Hi all
Jenkinsfile: https://pastebin.com/xJxKvWSz
I have tried many different ways of passing the password through but nothing is working. How should this be done?
Thanks
https://redd.it/1f7z9oh
@jenkinsci
Pastebin
pipeline { agent { label 'DCEMA100TOL13-Ansible'} environment { - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Advice for a Jenkins Chat Assistant App in Progress
The main issue with ChatGPT/Claude is that they often generate inaccurate information. To address this, I've gathered around 50,000 pages related to Jenkins from forums, documentation and youtube.
It's challenging so I'm considering what to focus on for the first version. Should I prioritize Jenkins pipeline code generation, general Q&A about plugin configurations, or troubleshooting errors and failures in Jenkins? anything else?
https://redd.it/1f3xpen
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
How do you load Jenkinsfile from an absolute path inside the machine where Jenkins runs?
So apparently there are only two options, either write the Jenkinsfile inside Jenkins in this Text Editor thing (Groovy Sandbox?) or you provide a Github link and it loads it from a relative path from the repo. Is there a way to load it from an absolute path? I.e., store the Jenkinsfile inside the virtual machine and then provide the absolute path to that file somewhere to load it?
https://redd.it/1f3a8qc
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
Is there an issue with updates.Jenkins.io? I am getting an SSL error when trying to get downloads.
https://redd.it/1f34pw0
@jenkinsci
From the jenkinsci community on Reddit
Explore this post and more from the jenkinsci community
Struggling to Find a Junior DevOps Role – Anyone Else in the Same Boat?
Hey everyone,
I’ve been applying for junior DevOps roles for about a month now, mainly in Germany and France, but I haven’t had any luck so far. I recently graduated from the top engineering school in my country as an ICT engineer with a cybersecurity sub-specialty (equivalent to a master’s degree). I also just wrapped up my end-of-studies internship in Paris, where I worked as a DevSecOps engineer at a startup. I had a pretty significant impact on the team, but unfortunately, they couldn’t offer me a position due to financial issues.
I’m fluent in English and French, so I’ve been applying to roles across Europe and am open to opportunities in the US/Canada as well. I’ve provided a link to my resume if anyone wants to take a look.
I’m curious if anyone else has been experiencing the same thing. Is it just the market right now, or could there be something I’m missing?
resume: https://smallpdf.com/file#s=2af9d05b-bb4b-45b8-9c0c-c34d28da233f
https://redd.it/1exuyh6
@jenkinsci
Smallpdf.com
Sharing my thoughts, discussing my projects, and traveling the world.
Contact: @borz
Last updated 1 week ago
Telegram stands for freedom and privacy and has many easy to use features.
Last updated 1 week, 1 day ago
Official Graph Messenger (Telegraph) Channel
Download from Google Play Store:
https://play.google.com/store/apps/details?id=ir.ilmili.telegraph
Donation:
https://graphmessenger.com/donate
Last updated 5 months ago