Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

I'm building docker image using jenkins docker API. Below is the full code for building docker image in stage. node { stage("build") { checkout scm def customImage = docker.build(&...
user51's user avatar
  • 10.6k
0 votes
1 answer
138 views

Running Windows 11 with Docker in WSL I'm learning CICD Jenkins and I'm the book section where I use Jenkins and Docker. treat me like I know nothing about docker. I'm facing this issue where the ...
usertest's user avatar
  • 2,292
1 vote
3 answers
328 views

I use Jenkins locally on Ubuntu 20.04. I have installed the following plugins: Docker plugin Docker pipeline I have added a new docker cloud: Manage Jenkins -> Clouds -> New cloud -> Docker ...
Irbis's user avatar
  • 1,581
0 votes
0 answers
145 views

I am just setting up Jenkins as a CI/build system on a host. Some pipelines would use Docker container for the build process. Jenkins itself is installed on the host system (so no Docker-in-Docker ...
andimeier's user avatar
  • 1,263
0 votes
2 answers
1k views

I'm trying to set up a docker agent for this pipeline, but I'm getting this error when running one of the commands inside my pipeline: + poetry shell Spawning shell within /root/.cache/pypoetry/...
Matias Chomali's user avatar
0 votes
1 answer
151 views

Jenkins system log: Jul 14, 2023 7:56:31 AM INFO io.jenkins.docker.DockerTransientNode$2 println Removed container 'aee593f554f96a40ac29269c6f5f80bc6368d7c6820aa899755064e485f6e41d' for node 'jenkins/...
MarekChr's user avatar
  • 1,174
0 votes
2 answers
563 views

I am using the Jenkins Docker plugin in the pipeline to start a background mongodb container for testing, using: stage('Start') { steps { script { container = docker.image('mongo:latest')....
vgru's user avatar
  • 51.5k
2 votes
0 answers
429 views

How can I use an image built by kaniko in Jenkins pipeline? I want to build the image, use that image to run tests for my app, and then push the image. With docker that would look something like this: ...
Rapolas K.'s user avatar
  • 1,709
1 vote
1 answer
449 views

I have a Jenkinsfile that looks something like the following: void setBuildStatus(String message, String state) { step([ $class: "GitHubCommitStatusSetter", reposSource: [$...
janosrusiczki's user avatar
0 votes
1 answer
902 views

I am running Jenkins within a Docker container on a remote server. In one of my pipelines I am using a Yocto build container to build a image. In this case I have to change the user, because Bitbake ...
GeorgUr's user avatar
  • 89
5 votes
1 answer
3k views

I was following this snippet to add to docker file for jenkins build agent (https://www.jenkins.io/doc/book/pipeline/docker/), pipeline { agent { dockerfile true } stages { stage('Test') { ...
Vijayanath Viswanathan's user avatar
1 vote
1 answer
937 views

I have a project that does the building, testing and deployment process in Dockerfiles, and I want to apply a jenkins pipeline to it. I want to keep the jenkins-part as simple, slim and agnostic as ...
wotanii's user avatar
  • 2,896
1 vote
1 answer
1k views

Here is a simplification of Jenkins declarative pipeline I'm working with: pipeline { agent any stages { stage("demo") { steps { script { def co_url = 'https:/...
StoneThrow's user avatar
  • 6,435
1 vote
1 answer
1k views

Jenkins Version:- Jenkins - 2.277.1 LTS. My Dockerfile:- FROM maven:3.6.0-jdk-13 RUN useradd -m -u 1000 -s /bin/bash jenkins My Declarative Pipeline:- pipeline { agent { label "VM-...
user4948798's user avatar
  • 2,148
0 votes
1 answer
348 views

I've added the BitBucket server integration plugin (https://plugins.jenkins.io/atlassian-bitbucket-server-integration/) and can connect to the BitBucket cloud repo from Jenkins: But I receive an ...
blue-sky's user avatar
  • 54.3k
3 votes
1 answer
5k views

I have been trying to configure jenkins kubernetes cloud agents on my existing jenkins setup (which is hosted outside k8s cluster). My jenkins is hosted in Google Cloud Platform in a Windows VM. It is ...
ashkaps's user avatar
  • 91
0 votes
1 answer
204 views

I created a pipeline in Jenkins which takes an app from Github, builds the app, and then builds an image and then finally runs that image with the app. the Dockerfile is: FROM javastreets/mule:latest ...
Mayur Tripathi's user avatar
0 votes
1 answer
126 views

I want a container which have both, docker application and jenkins application installed. I have tried building a new container from a Dockerfile - ` FROM :docker FROM :jenkins/jenkins but it only ...
Tipsy ninja's user avatar
1 vote
1 answer
194 views

Problem If I combine docker.image...inside with dir and ansiblePlaybook I get an java.lang.ArrayIndexOutOfBoundsException and since my jenkins agent isn't using -XX:-OmitStackTraceInFastThrow that is ...
Peter Kahn's user avatar
  • 13.2k
1 vote
1 answer
2k views

Is it possible to tune docker-workflow-plugin / docker-pipeline-plugin's cleanup routine? Perhaps leave the container and allow pipeline code to handle its removal in a retry block? I've got a a job ...
Peter Kahn's user avatar
  • 13.2k
2 votes
1 answer
973 views

I have a Jenkins Server (2.204.1) with Docker plugin (1.1.9) and a docker cloud API. I work with Jenkins docker agents (slaves) And i map the docker slave build workspace between the container and ...
Jeronimo's user avatar
0 votes
0 answers
263 views

I have a Jenkins running as a standalone server, i.e. it is not running as a Docker container. For building my application with Gradle I'm using a Docker image as shown below. stages { stage('...
Robert Strauch's user avatar
1 vote
0 answers
551 views

I'm using Docker plugin for Jenkins. when I configure new docker cloud with docker template everything works as expected(Jenkins spins off a container and do the job) but now I have a new build job ...
alex's user avatar
  • 986
0 votes
0 answers
113 views

Currently all the Jenkins server both master and nodes have wide open internet access. Our security team is trying to narrow down the internet access on these servers by asking Jenkins admin team to ...
chris's user avatar
  • 344
0 votes
1 answer
216 views

I am using Jenkins-Docker-Pluginhttps://wiki.jenkins.io/display/JENKINS/Docker+Plugin to dynamically create containers and use them as Jenkins Slaves. This is working fine for some jobs. However for ...
Shailesh's user avatar