I have a few npm projects that use JestJS for unit testing. For some reason, the command npm run test make crash and restart my (official) Jenkins container. I have checked the log stderr and stdout and I don’t see any trace of errors. How can I upgrade the log level of Jenkins ? What […]
I ran Jenkins in Docker container with image jenkins:latest. Plugin docker-build-step was installed. Docker build procedure looks good but something goes wrong when it did docker push: docker push error Docker Builder was configured in the System Configuration as below: Docker Builder Config the IP 172.17.0.1 is the host IP address from the jenkins container’s […]
Currenlty we’re working on a project that has a jenkins container and a toaster container running on the same AWS instance. Our Jenkins container has access to docker on the instance and creates an image from a Yocto dockerfile which will git clone and then checkout krogoth and eventually use bitbake to build it. We […]
Im trying to run UI tests using selenium in headless mode. I see the chrome is browser is crashing whenever i try to load the driver. Here are the traceback. Traceback (most recent call last): File “/usr/local/lib/python3.5/dist-packages/behave/model.py”, line 1456, in run match.run(runner.context) File “/usr/local/lib/python3.5/dist-packages/behave/model.py”, line 1903, in run self.func(context, *args, **kwargs) File “steps/collectorUi.py”, line 35, […]
I’ve created a docker container And I tried a lot of methods to expose it to my internal network by : 1-Bridging the lan connection on my docker VBox machine but had no luck 2-Bashing into the container itself and binging any machine within the network Worked fine but opening the /etc/hosts file showed an […]
I need to retrieve an Artifact from my Jenkins to setup a Docker-Image. My Jenkins needs an authentication which can be passed with wget via wget –auth-no-challenge –http-user=user –http-password=apiToken –secure-protocol=TLSv1 http://jenkins.yourcompany.com/job/your_job/build?token=TOKEN as seen here Now I need to pass the api token to my Dockerfile. As far as the Dockerfile is public accessible I don’t […]
I’m trying to change the Jenkins default host volume from Docker Kitematic but whenever I try to do so I get below error Note: I’m using Docker toolbox And I have added the required new volume path to the Docker Virtual Box machine Shared folders
I don`t have root privileges. Jenkins and tomcat installed via wget command on Ubuntu 16. How to install docker in Jenkins without root privileges?
I just started to use Jenkins and Pipeline, and I’m using it with Jenkins Amazon EC2 Container Service Plugin. Everything works fine so far, I declared the agent that I need to use it for my build, it starts the docker image to make a build and finish it once the task is done. However, […]
setenv RANCHER_SECRET_KEY xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx setenv RANCHER_ACCESS_KEY xxxxxxxxxxxxxxxxxx setenv RANCHER_URL http://xxxxxxxx.xxxxx.com:8080 cd /local/mnt/workspace/username/xxxxxxx/ make cluster-up make idcluster | tail -1 | cut -d’ ‘ -f1 output: http://10.10.120.90:23884 I need the same URL as output from Pre steps build of Jenkins. I am able to do this manually from Putty.