Re: Jenkins connecting to Gitlab

2019-02-20 Thread Seshadri Reddy
Yes we can do it. We can integrate gitlab to Jenkins by creating access
token in Gitlab.



Thanks,
Regards,

Jai Reddy

On Wed, 20 Feb, 2019, 7:36 PM Cansu Tanrikulu, 
wrote:

> Hello,
>
> i was looking for a software which i can connect my project in Tomcat to
> GitLab, to push/commit/merge the changes easily. My question is, is this
> possible with Jenkins?
>
> Thanks in advance
>
> --
> 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
> https://groups.google.com/d/msgid/jenkinsci-users/31d390a4-da30-4fad-bd8b-529a080b890a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CACnJYXw%2BVUK7wQwuspfYKcqNg%3D12ZqrO_iEpF8jdO2gv3i2hzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Windows Installation and AIX slave.

2019-02-20 Thread Dirk Heinrichs
Am Mittwoch, den 20.02.2019, 11:17 -0800 schrieb Ivan Fernandez Calvo:

Last time I check it, there is a openJDK 8 version for AIX but it is not easy 
to compile in some systems because the library denpendencies versions


AFAIK IBM ships Java packages for AIX (not OpenJDK, though).

HTH...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/926374e9ae3640179ca05b65ebd1e00acbc00d41.camel%40opentext.com.
For more options, visit https://groups.google.com/d/optout.


GitHub Branch Source Plugin "trusted" pull request property in Jenkinsfile?

2019-02-20 Thread Brian J. Murrell
Hi.

Is the "trusted" property of a GitHub pull request (i.e. the Trust
field in "Discover pull requests from forks" in the GitHub Organization
configuration screen) available to a Jenkinsfile in any way?

I would like to have my Jenkinsfile behave differently based on whether
the PR from a fork is considered trusted or not.

Cheers,
b.

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/d0522b5128b9da0a08177a8fb043e43b22447a0f.camel%40interlinx.bc.ca.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: This is a digitally signed message part


Splunk Plugin regex help

2019-02-20 Thread Cheryl Huntington

Hello,

I am configuring Jenkins to use the Splunk plugin. 
https://wiki.jenkins.io/display/JENKINS/Splunk+plugin+for+Jenkins.
I have the connection and logs being sent and now I want to restrict which 
jobs send logs to splunk.
There is a configuration setting to specify which jobs to not send logs 
from.  I want to send logs only from some specific QA jobs. I can't figure 
out how to set the regex to say 'don't send from any jobs except the jobs 
with "ProdQA" in them'.  Can anyone help?

Here is the help in the Jenkins plugin configuration


Check Regular Expression to select which jobs will be ignored for 
monitoring. Job names matches the pattern will be ignored, for example:
(?:backgroundJobName|adhocJobName|tempJobName)

will match backgroundJobName, backgroundJobNameBlah, blahbackgroundJobName
^(?:backgroundJobName|adhocJobName|tempJobName)$

will match backgroundJobName but neither backgroundJobNameBlah nor 
blahbackgroundJobName

(?:X)   X, as a non-capturing group
^   The beginning of a line
$   The end of a line
X|Y Either X or Y
\w  A word character: [a-zA-Z_0-9]

Thanks!
  Cheryl


















-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/8ca45fff-a559-44c0-a3a3-b6d75fbfa230%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Windows Installation and AIX slave.

2019-02-20 Thread Ivan Fernandez Calvo
Last time I check it, there is a openJDK 8 version for AIX but it is not easy 
to compile in some systems because the library denpendencies versions

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/12bc1fb0-8696-47e7-9dc4-c1c16cadca3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Node getting CancellationException during startup

2019-02-20 Thread Ivan Fernandez Calvo
Check the date time in both hosts, the log is not consistent there are more 
than an hour of clock difference

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/bdceeb3c-5ceb-4352-a9f3-b7eac622066e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Resume my Multibranch Pipeline when a code review is submitted

2019-02-20 Thread Sameera Priyatham Tadikonda
I integrated Jenkins with Github using web hooks and I created a 
multi-branch pipeline and I am using JenkinsFile.

Jobs are created automatically and I am able to run the tests when a PR is 
created.Once the tests are passed my pipeline waits for the code review to 
be completed before merging.

I would like to merge the PR when the code review is done. 

I am pushing all the Web hook events from Github to Jenkins.

How can I resume my pipeline when a code-review event is pushed to my 
Jenkins.

Please help me if anyone worked on this.

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/e1f72226-99c6-4221-acfb-8047c76805c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Custom pipeline jobs

2019-02-20 Thread Chris Overend
Is it possible to pass groovy scripts to a pipeline job
I want to be able to configure custom groovy scripts based on options 
selected by my users.
I could have a massive script with many "if" clauses.
It would be nicer to create a groovy script based on selected options.
this api would then be testable internally.

I have tried a few tests run but it does not appear that the groovy being 
passed is being executed.

groovy_script = "stage('testing')  {\nbuild job: 'echo'\n}\n"

parameters: [string(name: 'groovy_script', value: groovy_script)

jenkins pipeline job
"""
#!groovy
import hudson.model.*

groovy_script
"""
I was hoping this would evaluate to 

"""
#!groovy
import hudson.model.*

stage('testing')  {
build job: 'echo'
}
"""

any ideas?

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/455449e1-2e5a-4f3a-9930-86472916b27c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins connecting to Gitlab

2019-02-20 Thread Robert Rajendra
Rajendra ji please share your email  or txt me on rajendar1r...@gmail.com


Hope you reply


Thanks

On Wed, 20 Feb 2019, 8:04 pm RAJENDRA PRASAD  It is not  reelated to Jenkins , you need to handle via shell script/shell
> command  and that can be executed via jenkins.
> I hope you know hit commands to run from command line.
>
> Thanks,
> Rajendra
>
> On Wed, 20 Feb, 2019, 19:36 Cansu Tanrikulu, 
> wrote:
>
>> Hello,
>>
>> i was looking for a software which i can connect my project in Tomcat to
>> GitLab, to push/commit/merge the changes easily. My question is, is this
>> possible with Jenkins?
>>
>> Thanks in advance
>>
>> --
>> 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
>> https://groups.google.com/d/msgid/jenkinsci-users/31d390a4-da30-4fad-bd8b-529a080b890a%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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
> https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02SOLZ2ecC1zi4pRcbzdHjN3UvTLqNfAgScX-8eUfXkE%2BA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KGdaG%3Dc-d1ysuiLbq1V9DnZ97BeaZbOqBK8WjTV-%2BEAyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins connecting to Gitlab

2019-02-20 Thread RAJENDRA PRASAD
It is not  reelated to Jenkins , you need to handle via shell script/shell
command  and that can be executed via jenkins.
I hope you know hit commands to run from command line.

Thanks,
Rajendra

On Wed, 20 Feb, 2019, 19:36 Cansu Tanrikulu, 
wrote:

> Hello,
>
> i was looking for a software which i can connect my project in Tomcat to
> GitLab, to push/commit/merge the changes easily. My question is, is this
> possible with Jenkins?
>
> Thanks in advance
>
> --
> 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
> https://groups.google.com/d/msgid/jenkinsci-users/31d390a4-da30-4fad-bd8b-529a080b890a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02SOLZ2ecC1zi4pRcbzdHjN3UvTLqNfAgScX-8eUfXkE%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins connecting to Gitlab

2019-02-20 Thread Cansu Tanrikulu
Hello,

i was looking for a software which i can connect my project in Tomcat to 
GitLab, to push/commit/merge the changes easily. My question is, is this 
possible with Jenkins?

Thanks in advance

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/31d390a4-da30-4fad-bd8b-529a080b890a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins update

2019-02-20 Thread Mahesh H
Hello Whats going on  ?

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/d1bbf955-e9d7-4e9f-8927-d94c98a294ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Node getting CancellationException during startup

2019-02-20 Thread Sverre Moe
Having problems connecting to nodes getting CancellationException

[02/20/19 11:15:03] [SSH] Starting sftp client.
[02/20/19 11:15:03] [SSH] Copying latest remoting.jar...
[02/20/19 11:15:03] [SSH] Copied 789,283 bytes.
Expanded the channel window size to 4MB
[02/20/19 11:15:03] [SSH] Starting agent process: cd 
"/home/build/jenkins" && /usr/java/latest/bin/java  -jar remoting.jar 
-workDir /home/build/jenkins
Feb 20, 2019 10:43:39 AM org.jenkinsci.remoting.engine.WorkDirManager 
initializeWorkDir
INFO: Using /home/build/jenkins/remoting as a remoting work directory
Both error and output logs will be printed to /home/build/jenkins/
remoting
ERROR: null
java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(FutureTask.java:121)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:902)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:294)
at jenkins.util.ContextResettingExecutorService$2.call(
ContextResettingExecutorService.java:46)
at jenkins.security.ImpersonatingExecutorService$2.call(
ImpersonatingExecutorService.java:71)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[02/20/19 10:47:05] Launch failed - cleaning up connection
Slave JVM has not reported exit code. Is it still running?
[02/20/19 10:47:05] [SSH] Connection closed.

Not sure what this is about? I have plenty of other nodes that are working 
fine, but not these
SUSE Linux Enterprise Server 11 SP3 x32
SUSE Linux Enterprise Server 11 SP3 x64
Both Jenkins instance and the nodes are running the same version of Java, 
Oracle JDK 8u102.

Could it have something do to with that the build user has its home 
directory mounted from a network location?

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/88d7bb63-1d77-4007-b650-0a3af7b327e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [DevOps World Jenkins World 2019]: Volunteers needed for review committee

2019-02-20 Thread Bruce Becker
Hi Alyssa,
Thanks for the announcement. A minor comment : on the form there is a part
which asks you to state which conference you've acted as reviewer for, but
there's no field to fill in for the value.

Perhaps a slight error?
Thanks!
bruce

On Tue, 19 Feb 2019 at 20:43, Alyssa Tong  wrote:

> Hi All,
>
> If you're interested in joining this year's review committee, pls complete
> below form:
>
> https://docs.google.com/forms/d/1EXfFcyT07wunLRX9000TdpN8ipVzjoIX_fCHvXJBtXY/
>
> For those interested in sharing your Jenkins stories, the CFP is still open
> https://www.cvent.com/c/abstracts/6eb10034-9500-43a1-97cd-ab4d9230d7f9
>
> Thnx,
> alyssa
>
> --
> 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
> https://groups.google.com/d/msgid/jenkinsci-users/CAC9wNazdV4D7YjpjTh7Lrvd%2B04MCQ72Xrc9Dayns%3DpOyxTaOkw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Dr. Bruce Becker
Senior Operations Officer, EGI  Foundation

brusisceddu   brucellino
  -0002-6607-7145


-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CAKYpPauLPxw6vXKrOrW_NMH4GgJgzA9AQexMZMzhXSOOr6hsrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.