Re: How to integrate Jenkins with Google LDAP service

2019-02-12 Thread Alex Domoradov
Any advise? On Monday, February 11, 2019 at 1:37:45 PM UTC+2, Alex Domoradov wrote: > > Hello, > > Does anyone has successes in such kind of integration? Because Google LDAP > service requires certificate authentication I can't point Jenkins directly > to the ldaps://ldap.

How to integrate Jenkins with Google LDAP service

2019-02-11 Thread Alex Domoradov
Hello, Does anyone has successes in such kind of integration? Because Google LDAP service requires certificate authentication I can't point Jenkins directly to the ldaps://ldap.google.com. I have tried to use stunnel but without success. Jenkins: 2.150.2 LDAP plugin: 1.20 Jenkins settings

Re: Docker host and Jenkins on separate machines...

2017-05-19 Thread Alex Domoradov
Not sure what do you mean by "By default Jenkins supposes to be able to start docker containers on the same host as itself,". Because we are using Jenkins with AWS ECS cluster without any problems. And our slave nodes are different EC2 instances from master node. On Friday, May 19, 2017 at

Re: Role strategy plugin: how to give specific access

2017-05-19 Thread Alex Domoradov
ou can select/check the > "ExtendedRead" option rather than the "Configure" option to give read only > access to the job's configuration. > > > From: jenkins...@googlegroups.com < > jenkins...@googlegroups.com > on b

Role strategy plugin: how to give specific access

2017-05-18 Thread Alex Domoradov
Hello, we have been using role strategy plugin for a few years. And it works fine. But now we need to give specific access to specific users. We need that people will be able to view configuration of a job but at the same time they won't be able to change the configuration itself. Is it

Re: Always run specific build/postbuild step

2017-04-11 Thread Alex Domoradov
> "Current build status" where you can set Worst as Failed and best as > Success, then I think it will always run. > > > On Mon, Apr 10, 2017 at 5:29 PM, Alex Domoradov <alex@gmail.com> > wrote: > >> Hello, >> >> is it possible at all? I have

Always run specific build/postbuild step

2017-04-10 Thread Alex Domoradov
Hello, is it possible at all? I have tried to use Conditional BuildStep with condition "Always" but without success. I have two build step each of them is shell script. Build step1 - Execute shell #!/bin/bash -ex echo "*** STEP1 ***" exit 1 Build step2 - Execute shell #!/bin/bash -ex

Trigger new build only for the latest git tag

2016-09-04 Thread Alex Domoradov
Hello, I have a really simple task - I need to configure jenkins job to build a code only when a new tags with specific names (for e.g. qa_1234567) are pushed to the git (github). I can't use webhooks because I don't have sufficient permissions to repository. So I have to use SCM polling

Re: How to get list of all the plugins installed on jenkins server without cli or without logging in ?

2016-09-02 Thread Alex Domoradov
You can use something like the following one $ curl 'http://admin:token@JENKINS_URL:8080/pluginManager/api/json?depth=1&?xpath=/*/*shortName|/*/*/version' | python -mjson.tool Or simple python script import requests response =

Re: trigger new build when creating a new tag in SVN

2016-09-02 Thread Alex Domoradov
Have you tried Included Regions field? If set, and Jenkins is set to poll for changes, Jenkins will ignore any files and/or folders that are *not* in this list when determining if a build needs to be triggered. Each inclusion uses regular expression pattern matching, and must be separated by

Re: Changing git build creds

2016-04-23 Thread Alex Domoradov
Have you tried to clone the repo from the console? $ GIT_SSH_COMMAND="ssh -i ~/.ssh/new-github.key" git clone g...@github.com:user/project.git On Friday, April 22, 2016 at 9:00:14 PM UTC+3, Larry Martell wrote: > > I already did that. How can I see what it's getting "Permission denied" > on?

Re: permission denied error when copying files in jenkins

2016-04-22 Thread Alex Domoradov
You can check in the server console # su -l jenkins -s /bin/bash -c 'cp /location/path1/file1.txt /location2/path2/file1.txt' On Thursday, April 21, 2016 at 11:53:59 PM UTC+3, Pradeep Patra wrote: > > Hi all, > . I have created a Jenkins server (master) and tried copying from one >

Re: Add credentials in pipeline script

2016-04-20 Thread Alex Domoradov
You could try something like this node { withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'mylogin', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) { sh ''' set +x curl -u $USERNAME:$PASSWORD https://private.server/ >

Re: How to 'Discard old builds' without running job?

2016-04-20 Thread Alex Domoradov
You have to add public key at user profile page http://jenkins.example.net:8080/user/user_name/configure On Wednesday, April 20, 2016 at 10:40:23 AM UTC+3, David Aldrich wrote: > > Hi Daniel > > > Use SSH key based authentication. Known bug with passwords when anon > does > > not have read

Re: How many jobs can handle by Jenkins master?

2016-04-20 Thread Alex Domoradov
@Dennys Hsieh How many executors you have configured on the master node? On Wednesday, April 20, 2016 at 9:13:47 AM UTC+3, Daniel Beck wrote: > > Would be interesting to know what's the output of /threadDump when this is > going on. 18 builds is much less than Jenkins should be able to handle.

Re: How to 'Discard old builds' without running job?

2016-04-20 Thread Alex Domoradov
Hmm, but he had used "--username=daldrich" On Tuesday, April 19, 2016 at 11:47:32 PM UTC+3, Daniel Beck wrote: > > > > On 19.04.2016, at 17:06, David Aldrich > wrote: > > > > Any idea why please? > > Use SSH key based authentication. Known bug with passwords when

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
; ERROR: No such job 'Check_svn_config' > > > > Any idea why please? > > > > David > > > > > > *From:* jenkins...@googlegroups.com [mailto: > jenkins...@googlegroups.com ] *On Behalf Of *Alex Domoradov > *Sent:* 19 April 2016 15:23 > *To:* Jenkin

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
ete-builds Check_svn_config 1514-1515 > > > > ERROR: No such job 'Check_svn_config' > > > > I do have a job called 'Check_svn_config'. It’s in a certain folder. Do I > have to specify a path for it? > > > > Best regards > > > > David > &g

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
You can use jenkins cli java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds LARGE_JOB BUILD_NUMBER for e.g. java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds test-job 10-20 On Tuesday, April 19, 2016 at 1:23:23 PM UTC+3, David Aldrich wrote:

build-name-setter plugin: how to get a new build name value

2016-04-19 Thread Alex Domoradov
Hello, I'm using build-name-setter plugin with the following settings for Build name macro template v${BUILD_LOG_REGEX, regex="(.*)Current build number: ([0-9]\.[0-9]\.[0-9]+)(.*)", maxMatches=1, showTruncatedLines=false, substText="$2", addNewline=false}.b${BUILD_NUMBER}_${GIT_REVISION,

Re: Copy artifact plugin: How to get access to an artifact name

2016-04-11 Thread Alex Domoradov
plugin do I need to use to achieve such behavior? On Monday, April 11, 2016 at 10:42:34 AM UTC+3, Alex Domoradov wrote: > > Yes, currently I'm using exactly such scheme as you've described. But i > thought there should be built-in feature to get such information > > On Saturday

Re: Copy artifact plugin: How to get access to an artifact name

2016-04-11 Thread Alex Domoradov
Yes, currently I'm using exactly such scheme as you've described. But i thought there should be built-in feature to get such information On Saturday, April 9, 2016 at 8:05:43 PM UTC+3, Victor Martinez wrote: > > Off the top off my head, you can generate a properties (key=value) file a > as part

Copy artifact plugin: How to get access to an artifact name

2016-04-08 Thread Alex Domoradov
Hello, I'm using Copy Artifact Plugin v1.37 with Jenkins-1.648 on CentOS-6.7. I've configured 1 upstream job and 2 downstreams. The upstream job produces one war file which I used in the downstream jobs. Is it possible in the downstream job to get an artifact name via env variable? Something

Re: Jenkins 2.0 beta released

2016-03-31 Thread Alex Domoradov
Hello, I have tried to run jenkins 2.0 with resin but without success. when I'm trying to open a main page I get the following error WEB-INF/web.xml:30: http://xmlns.jcp.org/xml/ns/javaee;> is an unexpected top-level tag. 28: xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee

Re: Jenkins chooses incorrect node

2016-02-25 Thread Alex Domoradov
builds=D=1=AFQjCNFun7h8vTaCevrysaU4pCTl5V_mbg> > > Cheers > > On Thursday, 25 February 2016 12:42:29 UTC, Alex Domoradov wrote: >> >> So, every time when I'll create a new job I must specify a node? Have I >> correctly understood? >> >> It's a little b

Re: Jenkins chooses incorrect node

2016-02-25 Thread Alex Domoradov
ject can be run' configuration. > Although using your master for building and so on it's ideal. > > Cheers > > On Thursday, 25 February 2016 09:30:07 UTC, Alex Domoradov wrote: >> >> Hello, >> >> >> Some time ago Jenkins has started run jobs on slave node (win 7

Jenkins chooses incorrect node

2016-02-25 Thread Alex Domoradov
Hello, Some time ago Jenkins has started run jobs on slave node (win 7). [EnvInject] - Loading node environment variables. Installing JDK jdk-8u74-oth-JPR Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-windows-x64.exe Downloading 196405336 bytes

Re: downloads from archives.jenkins-ci.org never finish...

2016-01-23 Thread Alex Domoradov
I do really need exactly jenkins_1.565.2_all.deb (debian 7). Could anyone share with me? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: downloads from archives.jenkins-ci.org never finish...

2016-01-23 Thread Alex Domoradov
Any updates? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit

Mantis plugin: regexp pattern doesn't work

2015-10-26 Thread Alex Domoradov
Hello, I'm currently using Jenkins v1.634 and Mantis plugin v0.26. When I try to use the following regex pattern /(.*)(issue|bug|fix)\s?(:|#)?\s?(:|#)?(\d+)(.*)/gi https://regex101.com/r/cE5mT1/2 I got the following message in the build log - "[MANTIS] No issues have been found in the