Category "jenkins"

ImagePullBackOff with "rpc error: code = Unknown desc = failed to pull and unpack image" from AKS when pulling from ACR

When pulling a service-jenkins custom image from ACR, AKS gives the following error: Warning Failed 0s (x2 over 31s) kubelet Failed to pull i

Jenkins Artifactory Plugin - Maven wrapper not publishing custom artifacts which have been installed

When building my Maven project, I expect the Jenkins Artifactory Plugin to deploy/publish artifacts which I successfully maven-install (ie, copied from the /tar

Script section is not working in pipeline script in shared library

My Jenkins file: @Library("shared@dev")_ Start() My Start.groovy pipeline script: def call() { pipeline { agent any stages {

Is there a way to stream cloudwatch logs while executing a Jenkins build

I'm trying to stream cloud watch logs in jenkins console output as and when my sagemaker processing job is executing. But unsure if there is a plugin for the sa

Groovy LinkedHashMap returned from a Jenkins shared library is converted to String

I have a function in a Jenkins shared library which builds and returns a map object (class java.util.LinkedHashMap): #!/usr/bin/env groovy def call(Map config)

How to create users and passwords for Jenkins using JCASC

I am trying to create a user and password for Jenkins using JCASC. I can set up Jenkins however when I go to the GUI on my local host I do not see any users.

In groovy, how can i iterate over a csv file and call a function for every "group" that as a different value on some of the columns?

In Groovy and running on a jenkins pipeline, I am using the readFile function from jenkins to read the csv file. Example csv: name val1 val2 John 2 122 John 2

Problem with sending Get request from jenkins pipeline job from Jenkins slave

I am using HTTP-request in Jenkins pipeline job to send Get request from Jenkins slave, the response code is 200, response content is null, but if I send the re

How to deploy multiple Jenkins jobs in the same node?

actually i have deployed jenkins master in a GKE cluster, i have a nodepool called jenkins with autoscaling with 2 nodes max. so when i run a job in jenkins, al

Jenkins miniOrange SAML 2.0 failed login

I have installed and configured miniorange plugin following exactly this setup: https://plugins.miniorange.com/saml-single-sign-on-sso-into-jenkins-using-google

Pushing git tag to ssh protocol type link failes in jenkins

I have a repo: https://github.com/Elydasian/gatling-example I have a pipeline in jenkins ready, that checks out that repo, and after some building and whatnot,

Send Git commit message to slack channel after successful build in Jenkins

I have setup Jenkins for CI/CD. I am able to make successful build using git. After build is successful I upload the artifact to dropbox and once that is comple

In Jenkins freestyle job, how can I set a variable and use it in a "Conditional step (single)" step?

I have a free-style Jenkins job with an "Execute shell" step. In it, I have an if() condition and when the condition is satisfied, I set a variable TRIGGER_JOB=

Set environmental variables from shell script in Jenkins pipeline

I have a requirement where I have a shell file (init.sh) which sets environmental variables based on conditions. My pipeline looks something like this pipeline

How to find Jenkins version through CLI command? Is there any command like "java - version"

Find Jenkins version in CLI Command. I can tell there are 3 ways to do it. Open config file from the installation directory cd /var/lib/Jenkins/ Open config.xm

Jenkins EC2 plugin: instances not starting

This is my Jenkins EC2 configuration: URL: $JENKINS_URL/configureClouds/ Add new cloud: Amazon EC2 Name: Amazon EC2 eu-central-1 Amazon EC2 Credentials: AKIA...

AWS Fargate run docker inside under docker

I need to run docker inside a docker because I am using Fargate as build pipeline to build AWS Sam build.

Jenkins - No valid crumb was included in request

Jenkins - 2.263.1(LTS) deployed through tomcat on CentOS-8.2and have Nginx reverse proxy running in-front of Jenkins. Under Manage Jenkins > Configure System

Jenkins P4 Plugin: p4sync failing to sync Unicode files

I'm having trouble with using p4sync in a Jenkins build system. Specifically, our P4 server is unicode-enabled. This is all fine and good, and when I call p4syn

Jenkins active choice options populated with gke cluster namespaces

I am trying to create a Jenkins pipeline with active choice parameter options populated with GKE Cluster namespaces. I can Run a single shell command and get ou