Re: Jenkins GITLab Problem HTTPS connection

2019-03-15 Thread Seshadri Reddy
Hello sir, As a first step u have to install gitlab plugin in Jenkins. And in Jenkins configure systems, in Gitlab location u have to pass gitlab access url with gitlab API token. This is gitlab plugin configuration. Next step u have to restart Jenkins server and try again. If you get same issue

Re: Security - Pipeline parameterized credentials can be reused by other users

2019-03-15 Thread Stuart Rowe
I can't provide you with a step by step solution as it depends on how security and authorization is configured on your Jenkins instance. You should be able to find a lot of information on controlling Jenkins job/build permissions with a quick internet search. On Thursday, 14 March 2019 22:55:46

How to create environment variables with a script?

2019-03-15 Thread Faad Sayaou
Hi, Is there any method of creating environment variables via a script? The goal is to have a script that I can run whenever I have a freshly installed jenkins instance. Then I don't have to set all the variables manually. Same question also for pipelines. Thanks -- You received this message b

Re: Upgrading from Jenkins LTS 2.150.1 to 2.150.2 - Slowness and Workaround

2019-03-15 Thread Stuart Rowe
This has been reported in https://issues.jenkins-ci.org/browse/JENKINS-56243. Unfortunately the workaround is only temporary. On Friday, 8 February 2019 00:57:53 UTC-8, Kurt Routley, MSc wrote: > > Hello, > > > After upgrading from Jenkins LTS 2.150.1 to 2.150.2, we observed > significant slowd

Declarative pipeline - pass command arguments to docker run

2019-03-15 Thread Alex Dinescu
Hi, Is there a way to pass parameters to the docker run entrypoint comand? what i mean is, for the run command I need to have something like this: docker run myImage -Dhost.url.expected=http://url -Dhost.url.actual=http://url Currently the pipeline that I've build would look like: agent { dock

Jenkins GITLab Problem HTTPS connection

2019-03-15 Thread Sascha Leber
Hi everbody, i have starte with GITLab and Jenkins and hanging on a problem. When i try to connect with jenkins on GITLab repo he gives me the following error. Failed to connect to repository : Command "git ls-remote -h https://mydomain.local.git HEAD" returned status code 128: stdout: stderr

Access to Gitlab Api Token via Credential Provider in a Job DSL Groovy Script

2019-03-15 Thread 'Sandra Parsick' via Jenkins Users
Hello, I'm currently programming a Seed Job that requests via REST API a list of repositories from a Gitlab instance. I want to iterate this list and create a pipeline job for each repository. My idea is to use Gitlab plugin and Credential Plugin for storing the API token and the Job DSL plugin