Category "jenkins"

Pass parameters to Jenkins shared library

I just simply want to pass the repo name cloud-nates in shared pipeline, so i've passed the parameter deployName from jenkinsfile to shared library. below is th

Docker not found when building docker image using Docker Jenkins container pipeline

I have a Jenkins running as a docker container, now I want to build a Docker image using pipeline, but Jenkins container always tells Docker not found. [simple

How to re-trigger a stage in a Jenkinsfile

I have a situation where in 2 Stages in a Jenkinsfile I have to do the following things: Push a Docker image to artifactory. This push is to a folder on artifac

Subsequent build job in Jenkins does not find workspace file

I have separated my build tasks in several jobs. The following is a simplified structure. The basic jobs are: compile quick-tests full-tests-part-1 full-tests-p

how to Increase open files limit in Jenkins

I would like to increase the max of opening file in Jenkins job, where I use a username called jenkins. So from the server where jenkins is installed the limit

Azure Board integration with Jenkins

Is it possible to get a azure board ticket created from a Jenkins event . As In your Jenkins pipeline , if an build fails , it should create an ticket on the az

How to Skip a stage in a jenkins pipeline Build based on a Jenkins trigger

Is there any way to skip certain stages after a GitLab webhook is triggered? Here is my JenkinsFile: and here are the triggers I set for this pipeline: Now wh

Jenkins pipeline Schedule job that will skip Wednesday once in two week

I'm looking for a way to schedule my pipeline to skip Wednesday once every two weeks. Now it works like this: H 4 * * 1-2,4-5 But it skips all the Wednesday

jenkins run infinite loop after an update

my jenkins pipeline already worked, but after installing an Update it seems i received some problems. When i run this code pipeline { agent { label

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,