jenkins-docker Questions

3

Solved

I want to run a Jenkins instance in a docker container. I want Jenkins itself to be able to spin up docker containers as slaves to run tests in. It seems the best way to do this is to use docke...
Describe asked 23/3, 2016 at 17:36

6

Solved

Is there any command which we can run and find out the "Docker Host URI"? I found some of related questions but didn't get it exactly.
Omniscient asked 8/12, 2017 at 6:56

4

Solved

I have a pipeline with multiple stages, and I want to reuse a docker container between only "n" number of stages, rather than all of them: pipeline { agent none stages { stage('Install deps') ...
Cavity asked 21/5, 2018 at 20:53

2

Solved

This question is a follow up to this question How to pass jenkins credentials into docker build command? I am getting the ssh key file from jenkins credential store in my groovy pipeline and passin...
Cramped asked 15/2, 2021 at 16:43

4

I am new to docker, so if this is a fairly obvious process that I am missing, I do apologize for the dumb question up front. I am setting up a continuous integration server using the jenkins docke...
Amblyoscope asked 24/8, 2015 at 14:16

1

Solved

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') { steps ...

1

To reduce duplication of effort in my docker containers, I'd like to run pipeline steps both in a docker container, and with Jenkins tool installations available. This naïve attempt doesn't work -...
Overglaze asked 4/6, 2019 at 16:10

2

I'm not able to push ocker images to Amazon ECR with Jenkins Pipeline: I always get no basic auth credentials :-( Here is my setup: Jenkins 2.46.2 Amazon ECR plugin 1.4 I've added AWS credenti...
Lathi asked 2/5, 2017 at 8:29

1

I have a Dockerfile for a custom Jenkins master like so: FROM jenkins/jenkins:lts USER root ENV http_proxy http://xx.xx.xx.xx:8080 ENV https_proxy http://xx.xx.xx.xx:8080 RUN apt-get update RUN ap...
Bohol asked 29/10, 2019 at 14:28

5

We're running Jenkins (version 2.60.1) on an Ubuntu 16.04.1 server. One of the issues we've been running into recently is that we routinely get the error "no space left on device". I understand w...
Fairyfairyland asked 16/7, 2017 at 12:46

1

Solved

I have a step in my Jenkinsfile that runs using a Dockerfile agent. When jenkins creates the docker image it gives it a random long tag and I'd like to replace that with my own tag. I tried passing...
Butternut asked 8/9, 2018 at 11:56

2

Solved

I have a Jenkinsfile or a Jenkins pipeline which creates a new image and starts a container out of that image. It works well for the first time. But on subsequent runs, I want the previous containe...
Traction asked 16/12, 2017 at 3:23

2

Solved

I am trying to get docker to setup a complete test environment that I can run integration tests in, but so far it is not really working and I am even having issues with getting logs back from it. ...

0

I have a Jenkinsfile for a declarative pipeline that uses docker agents. A number of the steps use a docker agent and it is a bit repetitive adding the same agent for these steps e.g. pipeline { ...
Billetdoux asked 13/12, 2017 at 12:1

1

I want to deploy a continuous integration platform based on Jenkins. As I have various kinds of projects (PHP / Symfony, node, angular, …) and as I want these tests to run both locally and on Jenki...
Yenyenisei asked 12/2, 2017 at 13:13

1

Solved

Just wonder if theres a better way to skip a command that could fail (because I'm using jenkins to build and deploy the application) Now I'm doing something like this RUN unlink /run/supervisor....
Fyn asked 1/4, 2016 at 14:20
1

© 2022 - 2024 — McMap. All rights reserved.