Re: Jenkins && access to ant and maven disappeared

2023-08-07 Thread Thomas Markus
tthias so check your node configuration. Is there any special/unusual tools configuration? Maybe set a proper PATH environment hth Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receivin

Re: Jenkins && access to ant and maven disappeared

2023-08-07 Thread Thomas Markus
lable at specified location on slave node and executable? I'm sure you checked this but to be sure ... For automatic download they should appear in $HOME/tools/ best regards Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: fresh Jenkins installation does not present the dashboard

2023-07-27 Thread Thomas Markus
owest value) best regards Thomas -- 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 o

Re: moving jenkins to a new RH server

2023-07-04 Thread Thomas Markus
Hi, Am 05.07.23 um 08:28 schrieb Matthias Apitz: Thomas, Thanks for your reply. When I use your dir list as user 'root' with tar: # tar chzf jenkinsHome.tar.gz fingerprints plugins secrets users jenkins-jobs jobs and I have to use the flag 'h' because some of the dirs a

Re: moving jenkins to a new RH server

2023-07-02 Thread Thomas Markus
jenkins? Thanks matthias for me it was sufficient to clone jenkins home. In detail I copied folders fingerprints, plugins, secrets, users, jenkins-jobs, jobs hth Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

active choice and file parameters

2023-02-23 Thread 'Thomas Reifferscheid' via Jenkins Users
gives some ideas however I fail to get it working. Appreciate when someone can provide explicit steps or code. Thank you Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

active choice and file parameters

2023-02-23 Thread 'Thomas Reifferscheid' via Jenkins Users
Jenkinsfile. https://issues.jenkins.io/browse/JENKINS-38893 has some hints however I fail to get it to work. Thanks Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails fro

Re: Jenkins Agent Java Certificate Error

2023-02-09 Thread Thomas Markus
to system trustore you can start your agent with java -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustStorePassword=changeit -jar ... system package ca-certificates (or similiar) must be installed. Verify location for that file, it depends on your distribution bes

Re: Building Jenkins-plugins failed in maven enforcer plugins

2023-01-30 Thread Thomas Markus
re to solve / debug for this error. Can anyone give me some ideas? Thanks. Any dependency or plugin can define its own repositories for its dependencies/plugins. I assume any of them has defined such an url. Check your build log for more details best regards Thomas -- You received this me

Re: LDAP security realm / groovy init script issue

2023-01-26 Thread Thomas Markus
ecurityRealm.setDisableRolePrefixing​(true) best regards Thomas -- 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

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2022-02-21 Thread Thomas Markus
quot;master" in your jenkins build but your repo has only branch "main" Change "*/master" to "*/main" in branch specifier best regards Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

howto use library function for parameter list

2022-02-21 Thread Thomas Markus
Hi, I'm using the extended choice parameter plugin for a selection list made by a groovy script. How can I use a library function for this? Currently I have to copy my scipt. I'm to dumb to find that answer myself :( best regards Thomas -- You received this message becau

Re: Possible bug in EC2 plugin: check of SSH key may be too strict (confirmation needed before filing bug report)

2021-04-13 Thread Thomas Matthijs
Currently AWS doesn't support ed25519 (at least last time i checked in 2020) People been asking for a few year, but maybe the plugin should accept them already, hopefully only a matter of time till aws does On Tue, 13 Apr 2021 at 11:49, Amedee Van Gasse wrote: > > So I went ahead and submitted a

Enable Auto refresh Button

2020-03-19 Thread Hauser, Thomas (IOT DS EVO PRD AUS)
Hi together, does anybody know where the "enable auto refresh" button is gone or is there a workaround existing? Since the last update to version 2.225 this button is not available anymore... [cid:image001.png@01D5FE14.E288B9F0] Best regards, Thomas H. -- You received this messa

Prohibit Jenkins from creating @temp directory

2019-11-27 Thread Thomas Stocker
Is there a way to prohibit Jenkins from using @temp directories for artifacts, or avoid deleting them at the end of the build? -- 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, se

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-17 Thread Thomas R
Your help was most welcome. Thank you very much for that. Most likely I will contact IBM support, now. Maybe they can help. At least it seems that it is not directly a Jenkins problem. Again, thank you. Thomas. -- You received this message because you are subscribed to the Google Groups

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-17 Thread Thomas R
Sure I can. Here is the result of the commands executed from a Windows Bash shell: traddatz@CNDEA041500 MINGW64 ~ $ ssh raddatz@10.200.36.33 echo "OK" raddatz@10.200.36.33's password: OK traddatz@CNDEA041500 MINGW64 ~ $ ssh -t raddatz@10.200.36.33 echo "OK" raddatz@10.200.36.33's password: OK Co

Re: Jenkins updates web site returns 404 errors when downloading plugins

2019-06-17 Thread Thomas Riccardi
>From a europe-west1 GCP instance I even get timeouts: Checking update center connectivity java.net.SocketTimeoutException: connect timed out Sometimes I get a reply after > 20s. On Monday, June 17, 2019 at 11:33:10 AM UTC+2, Damien Coraboeuf wrote: > > Note that the issue can be reproduced v

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-17 Thread Thomas R
ed. Exit code=1 [06/17/19 13:24:41] Launch failed - cleaning up connection [06/17/19 13:24:41] [SSH] Connection closed. Thomas. Am Sonntag, 16. Juni 2019 22:35:53 UTC+2 schrieb Ivan Fernandez Calvo: > > > Could you enable verbose loggin for the package "hudson.remoting"? F

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
256M -Xmx256M -jar remoting.jar -workDir /home/Raddatz/jenkins/work Slave JVM has terminated. Exit code=1 Thomas. Am Sonntag, 16. Juni 2019 20:41:42 UTC+2 schrieb Ivan Fernandez Calvo: > > I've found it, is a remoting option to use base64 to encode the > comunication, I've n

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
ork Slave JVM has terminated. Exit code=1 Also enabling Am Sonntag, 16. Juni 2019 21:27:35 UTC+2 schrieb Thomas R: > > There are only the following files: > > a) \\ghentw.gfd.de\home\Raddatz\jenkins\remoting.jar > b) \\ghentw.gfd.de\home\Raddatz\jenkins\work\remoting\logs\remo

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
805ca) JCL - 20180719_01 based on Oracle jdk8u181-b12 Thomas. Am Sonntag, 16. Juni 2019 20:18:27 UTC+2 schrieb Ivan Fernandez Calvo: > > Which JDK do you use on the Jenkins master? > Did you try to execute the following command manually on the agent? > cd "/home/R

Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
There are only the following files: a) \\ghentw.gfd.de\home\Raddatz\jenkins\remoting.jar b) \\ghentw.gfd.de\home\Raddatz\jenkins\work\remoting\logs\remoting.log.0 (0-bytes = empty) The "cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java -Dfile.encoding=ISO8859_1 -jar remoting.jar

Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
.30 - pap3280sr5fp30-20190207_01(SR5 FP30)) IBM J9 VM (build 2.9, JRE 1.8.0 OS/400 ppc-32-Bit 20190124_408237 (JIT enabled, AOT enabled) OpenJ9 - 9c77d86 OMR - dad8ba7 IBM - e2996d1) JCL - 20190207_01 based on Oracle jdk8u201-b09 Any comments, thoughts or ideas would be greatly appreciate

Re: Jenkins - Add a dynamic label to a build

2018-11-29 Thread Veena Thomas
atches your build > better. > > Björn > Am Mittwoch, 28. November 2018 16:30:40 UTC+1 schrieb Veena Thomas: >> >> I am trying to achieve the following task in Jenkins: 1) Build a maven >> project 2) When running the test cases I print certain messages to the >> console o

Re: Jenkins - Add a dynamic label to a build

2018-11-29 Thread Veena Thomas
Suresh, I added the Groovy plugin and included a Groovy script as a part of the Build Post Steps. The groovy script goes through the console output and checks if a particular string is present. Example of the script: import jenkins.model.* JOB_NAME = "Maven Demo" CHECK_STRING = "IllegalArgument

Jenkins - Add a dynamic label to a build

2018-11-28 Thread Veena Thomas
I am trying to achieve the following task in Jenkins: 1) Build a maven project 2) When running the test cases I print certain messages to the console output 3) Parse the console output of the build and determine if certain patterns exist in the output 4) If the pattern exists I want to label

Re: How can I find the plugin name to use with install-plugins.sh?

2018-09-17 Thread Thomas Sundberg
Thank you Richard! This was exactly what I needed but I had missed since it was rather small and with grey text. /Thomas On Fri, 14 Sep 2018 at 12:04, Richard Bywater wrote: > > Note that you can also find the ID of a plugin on the plugins.jenkins.io page > for that plugin (e

Re: How can I find the plugin name to use with install-plugins.sh?

2018-09-13 Thread Thomas Sundberg
he page https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin stating that the command line name for this plugin is docker-workflow Cheers, Thomas On Thu, 13 Sep 2018 at 13:42, Thomas Sundberg wrote: > > Hi! > > I am creating a Jenkins installation from a Dockerfile. I want to >

How can I find the plugin name to use with install-plugins.sh?

2018-09-13 Thread Thomas Sundberg
currently looking for the proper name for the Docker Pipeline Plugin,https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin Cheers, Thomas -- Thomas Sundberg M. Sc. in Computer Science Mobile: +46 70 767 33 15 Blog: http://www.thinkcode.se/blog Twitter: @thomassundberg Better software

Re: [Win] got war file; cannot login

2018-05-03 Thread Thomas Hofmann
account. Then I did set back the openness. Thanks so far, best regards, Thomas On Monday, April 30, 2018 at 4:20:10 PM UTC+2, Daniel Beck wrote: > > > > On 30. Apr 2018, at 10:39, Thomas Hofmann > wrote: > > > > java -jar c:\temp\Software\

Re: [Win] got war file; cannot login

2018-05-03 Thread Thomas Hofmann
Hello Thomas, thanks for the hint. No, I didn't. We have some software policies that forbid this, I guess. Thanks so far, Thomas On Monday, April 30, 2018 at 12:06:16 PM UTC+2, Thomas Arnbjerg wrote: > > Have you considere running Jenkins in Docker - see her

Re: Zombie jobs in the build executor status

2018-04-30 Thread Thomas Arnbjerg
Problem solved. We had some old workspace folders with names like '@tmp/durable'. Deleting these and restarting jenkins solved the problem. mandag den 30. april 2018 kl. 12.00.46 UTC+2 skrev Thomas Arnbjerg: > > Hi all, > > We have a problem with two zombie jobs in the

Re: [Win] got war file; cannot login

2018-04-30 Thread Thomas Arnbjerg
Have you considere running Jenkins in Docker - see here: https://engineering.riotgames.com/news/putting-jenkins-docker-container br Thomas mandag den 30. april 2018 kl. 12.00.46 UTC+2 skrev Thomas Hofmann: > > Hello everybody, > > I'm new to the list. > > I have downlo

[Win] got war file; cannot login

2018-04-30 Thread Thomas Hofmann
Hello everybody, I'm new to the list. I have downloaded the war file under Windows (7). I've started Jenkins once and it did run. Today is "the next day". As I wanted to login, I had no success. My command line looks like this: java -jar c:\temp\Software\Online\Jenkins\jenkins.war --httpPort=90

Zombie jobs in the build executor status

2018-04-30 Thread Thomas Arnbjerg
s are simply resumed (??) Any ideas? Is the build executor status persisted somewhere and can be deleted? br Thomas -- 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, se

[Blue Ocean] How can I change the user who lists Bitbucket Cloud repositories?

2018-04-27 Thread Thomas Ramé
Hi, Does anyone know how to change the user looking for Bitbucket Cloud repositories through the new Blue Ocean interface please? I can't find its credentials in Credentials Page... otherwise I would have deleted its account. Thanks, -- You received this message because you are subscribed to

Re: Upgrade Path for Jenkins/Hudson

2018-04-11 Thread Thomas Dunlap
zru...@gmail.com> wrote: > Hey Thomas, most likely the hudson folder should be backed up: > - https://wiki.eclipse.org/Using_Hudson/Administering_Hudson which > matches with the Jenkins one too: https://wiki.jenkins.io/ > display/JENKINS/Administering+Jenkins > > As a suggestion: I'

Re: Upgrade Path for Jenkins/Hudson

2018-04-06 Thread Thomas Dunlap
https://groups.google.com/d/ > msgid/jenkinsci-users/28cf5b1b6a4644798129f58f0d7a4944%40raylase.de > <https://groups.google.com/d/msgid/jenkinsci-users/28cf5b1b6a4644798129f58f0d7a4944%40raylase.de?utm_medium=email&utm_source=footer> > . > > For more options, visit https://grou

Upgrade Path for Jenkins/Hudson

2018-03-30 Thread Thomas Dunlap
I have inherited an AccuRev Jankins/Hudson CI. Jenkins version 1.472. The previous developer stopped programming in 2012. I am trying to determine the best way to upgrade the software. Since the development is old I thought it would be best to see if I can get the 2 applications to talk. I h

Any experience how vagrant + virtual box + jenkins perform in the cloud?

2018-02-08 Thread Thomas Baumann
Recently, I tried virtualising a jenkins instance in my company, meaning jenkins should go into some KVM domain. Well, jenkins itself ran just fine under these conditions, but virtual box did not perform very well. We made sure all nested virtualisation options were set correctly. The jenkins g

Debian packages

2017-11-15 Thread &#x27;Thomas Martitz' via Jenkins Users
Hello, the debian package wasn't updated to 2.90. Is that intentional? Best regards -- 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..

Re: Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread &#x27;Thomas Gimpel' via Jenkins Users
I had a similar problem with our Windows nodes. One of them always threw an exception and the other one did not complete GIT commands. In the end I reinstalled the slave software (especially slave.jar). After that all worked as expected. On Monday, July 31, 2017 at 8:29:24 PM UTC+2, Sam K wrote

Re: Locking doesn't work across multiple nodes?

2017-06-14 Thread Thomas Rambrant
nly worked on the same node. But setting it on the outmost level still fails sometimes, even for jobs execited on the same node... So I think this is a bug somehow... /Thomas Den fredag 7 april 2017 kl. 17:24:32 UTC+2 skrev Jonathan del Strother: > > Are pipeline locks expected to behave

Re: Can't capture command results in Kubernetes Pipeline Jenkinsfile

2017-04-20 Thread thomas . lehmann
Easy thing ;) The variable "c" is not know by the shell script withEnv(["c=$c"]){ sh 'c=${c}' } On Thursday, April 20, 2017 at 1:55:34 PM UTC+2, Mark Nuttall wrote: > > Hello, > I'm porting an existing Jenkinsfile to use the kubernetes plugin and its > syntax. I've hit a problem in which

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
gt; property? > > > > *From:* thomas@teamaol.com [mailto: > thomas@teamaol.com ] > *Sent:* 20 April 2017 12:11 > *To:* Jenkins Users > > *Cc:* thomas@teamaol.com ; David Aldrich < > david@emea.nec.com > > *Subject:* Re: How to specify svn credentialsId in p

Re: How/when does Jenkins refresh job configuration (params, etc.) from pipeline script?

2017-04-20 Thread thomas . lehmann
27;, daysToKeepStr: '', numToKeepStr: '10')), // Do not allow concurrent builds disableConcurrentBuilds() ]) Kind Regards, Thomas On Monday, April 17, 2017 at 6:55:24 PM UTC+2, Pavel Strashkin wrote: > > Hi there, > > I wonder if anyone has details about ho

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
Click on the link an a table is shown and there is the columns ID ... One note: if you forgot to provide a readable name you cannot change it. You have to re-create it then. On Thursday, April 20, 2017 at 1:07:53 PM UTC+2, thomas@teamaol.com wrote: > > When you click top/left on &q

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
d be able to see > everything. Where should I look for the credentials? > > > > All our conventional jobs use the following credential seen on the job > configuration page: > > > > > > Where should I look for the corresponding credentialId? > >

How to do "Shared Library Documentation"?

2017-04-20 Thread thomas . lehmann
for a Groovy shared library doing also such documentation? Kind Regards, Thomas -- 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-user

Re: Jenkins BuildHistory | MBs of space is consumed

2017-04-20 Thread thomas . lehmann
I would assume that is the size (sum) of your build artifacts. When you click in one history entry you should see the build artifacts (and its size) On Wednesday, April 19, 2017 at 12:17:35 PM UTC+2, LnT wrote: > > Hi, > > one of my job's history show like below. > What are these statistics under

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
Usually the adminstrator of a Jenkins is reponsible to register credentials with a useful (readable) name. If those admin forget to give a name Jenkins does it for your which results usually in something like this: "b86bc2b6-994b-4811-ac98-0f35e9a9b114' Of course you don't wanna have such ID's in

Job DSL and isDirectory does not work, any ideas?

2017-03-29 Thread thomas . lehmann
;).getAbsolutePath() println("info (path): " + path) println("info (isDirectory) : " + new File(path).isDirectory()) Output: + mkdir -p config Processing provided DSL script 2.4.8 info (path): /data/jenkins/local/workspace/TMP/config info (isDirectory) : false

Re: how to get pipeline svn revision number

2017-03-10 Thread thomas tressieres
Hi, On Stack overflow, I found a trick that works for me svn 'svn://example.com/project' bat(script: "svn info --show-item last-changed-revision . > tmp_svn") def svnRevision = readFile('tmp_svn').trim() Regards, Le vendredi 10 mars 2017 15:48:26 UTC+1, Ioannis Cherouvim a éc

RejectedAccessException: unclassified method java.lang.String call java.lang.String org.jenkinsci.plugins.workflow.cps.CpsClosure2

2017-02-21 Thread Thomas Fjellstrom
When using the scripted pipeline, I'm seemingly unable to pass closures into methods, that then call those closures? Maybe my grasp of groovy and jenkins is weak. Full error: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified method java.lang.String call java.la

Re: Building docker images with declarative pipeline

2017-02-14 Thread Thomas Fjellstrom
images without having to use script > {}. > > A. > > On Tue, Feb 14, 2017 at 2:32 PM, Thomas Fjellstrom > wrote: > >> Hi, >> >> I'm brand new to jenkins, and have been reading a lot about the pipeline >> plugin. I think I have a basic grasp of

Building docker images with declarative pipeline

2017-02-14 Thread Thomas Fjellstrom
Hi, I'm brand new to jenkins, and have been reading a lot about the pipeline plugin. I think I have a basic grasp of it, but I haven't been able to figure out the proper syntax to build docker images in a pipeline stage. I don't want to run the steps IN a docker container, but rather build con

Re: pipeline groovy - can somebody please explain why variable value passing is working like this?

2016-11-18 Thread Thomas Keller
I'm just interested in this thread, so I'm subscribing by answering. Sorry for the confusion :) Am 14. November 2016 12:15:16 MEZ, schrieb Jonathan Hodgson : >I'm sorry, but am I supposed to know what that means? > >On Monday, November 14, 2016 at 10:25:12 AM

Re: Multibranch Pipeline trigger

2016-11-15 Thread Thomas Keller
Ok, I figured it out myself. Several issues on my side: 1) In order to get the upstream trigger set up, the dependent project needs to be run at least once, otherwise Jenkins obviously does not know anything about the trigger in first place. 2) Absolute project references of course need to start

Re: Pipeline: Multiproject repository

2016-11-15 Thread Thomas Keller
Multibranch pipelines are really only suitable for single-project multi-branch repos. The farest I got with a multi-project setup was using the Jenkins Repo Plugin (for the Google Repo Tool), but this would reverse the use case you're looking for: It pings all subprojects / subrepos and kicks o

Re: pipeline groovy - can somebody please explain why variable value passing is working like this?

2016-11-14 Thread Thomas Keller
/sub -- 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.goog

Re: Getting "java.io.NotSerializableException" exception in Jenkins pipeline, groovy.

2016-11-14 Thread Thomas Keller
IIRC objects used in pipelines need to be able to get serialized, because the build should be pausable and resumable at any time. Try to refactor the AntBuilder object creation and call into a groovy method and annotate this method with @NonCPS -- You received this message because you are sub

Re: Multibranch Pipeline trigger

2016-11-14 Thread Thomas Keller
Has anybody an idea? -- 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 htt

Re: Problem with credentials in jobs

2016-11-10 Thread Taylor Thomas
enkins.instance.getPluginManager().initTasks(null) Jenkins.getInstance().reload() Hopefully this information makes it more clear On Thursday, September 15, 2016 at 10:24:41 PM UTC-7, Taylor Thomas wrote: > > So I have run into an issue that I cannot find any help for on the web or >

Re: Coded pipeline - auto job creation (webhook) ???

2016-11-10 Thread thomas . lehmann
ave a look, thanks. Best Regards, Thomas On Wednesday, November 9, 2016 at 12:13:44 PM UTC+1, Grégory Lureau wrote: > > Hi Thomas, > > If you're using github, maybe that could help you? > https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Organization+Folder+Plugin > It&#x

Re: Multibranch Pipeline trigger

2016-11-10 Thread Thomas Keller
*bump* -- 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.go

Re: Pipeline shared libraries, can I have a constructor when I don't explicitly declare the enclosing class?

2016-11-08 Thread thomas . lehmann
When you define a class then you can write a function that returns an instance of that class. Just the way you write it ... you do not write a class ... you get an instance of the library which contains functions class Foo { def sum(a, b) { return a + b } } def createFoo() {

Coded pipeline - auto job creation (webhook) ???

2016-11-08 Thread thomas . lehmann
could implement something like: "asking the concrete repository what to do" I could imagine that I need to store a job.xml in my repository ... *Any ideas?* Regards, Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: Run builds on Jenkins Slave nodes through Docker

2016-11-08 Thread thomas . lehmann
- From my understanding you would build on slaves with Docker installed there (I guess you have OPS guys for that?). - Then you can create Docker images and/or Docker container as needed. - As an example you could create a container that install Java 8 and Maven 3 building the

Re: How to get selenium tests running in Jenkins

2016-11-08 Thread thomas . lehmann
Either you have a central selenium environment or ... ... have a look here: https://github.com/elgalu/docker-selenium You can do a ci/cd pipeline that spawns a Docker container when needed. On Tuesday, November 8, 2016 at 10:27:31 AM UTC+1, Sven Person wrote: > > Hi, > > i build my first selenium

Multibranch Pipeline trigger

2016-11-08 Thread Thomas Keller
ly "foo/master", or with the absolute path like above, but all without success: the "bar.git" project is just never triggered. What am I doing wrong? Is this even a supported use case and if not, what are my alternatives given the above setup? Thanks in advance, Thomas. -

Re: Jenkins Pipeline with custom class does hang forever

2016-10-17 Thread thomas . lehmann
Yeah ... found out that too ... "Thread dumps" link in Jenkins job has shown the multiplle calls. Wasn't aware of the property cabability. Thank you On Monday, October 17, 2016 at 10:50:39 AM UTC+2, Daniel Beck wrote: > > > def setMessage(String message) { > > this.message = message

Jenkins Pipeline with custom class does hang forever

2016-10-17 Thread thomas . lehmann
ns remains 200 and more percentage of CPU. We were forced to shutdown the Service and to restart. Locally I'm running Jenkins inside a Docker container. No CPU problems there. I'm using a 2.8 and on our server we have a 2.23. The Console output looks like this: hi:2 Aborted by

Passwordless SSH using LSF-cloud

2016-10-05 Thread Thomas Dack
So we recently set up a new Jenkins instance implemented onto our LSF batch system, and we are currently trying to set it up so that it can submit jobs to the queue. As Jenkins exists within the batch system itself we'd ideally like to do this without giving the Jenkins user a password, as it on

Re: Is adding private key to Jenkins credential list a security breach?

2016-09-20 Thread thomas . lehmann
It's a matter how it is organized ... If administrators only (a limited number of persons) have access to the manage section in Jenkins then it's probably a first step. Also an option might be to use Vault. On Monday, September 19, 2016 at 3:57:58 AM UTC+2, John Cho wrote: > > Hi, > I am reading

Re: Is there any variable for total build time in pipeline plugin?

2016-09-20 Thread thomas . lehmann
Mm ... I tried that ... with a sleep of 10 seconds before. The result is 0. In opposite to the variant with using System.currentTimeMillis which works fine. On Monday, September 19, 2016 at 9:24:22 PM UTC+2, Cuong Tran wrote: > > How about: > > currentBuild.getDuration() > > > https://

Re: Jenkins pipeline: how to get the different paths

2016-09-20 Thread thomas . lehmann
s*: how do I get the @script Path? On Tuesday, September 20, 2016 at 9:34:29 AM UTC+2, thomas@teamaol.com wrote: > > Hi, > > writing a Jenkinsfile like this: > > node{ > def WORKSPACE=pwd() > } > > The path is initially empty. The content is stored at pwd() +

Jenkins pipeline: how to get the different paths

2016-09-20 Thread thomas . lehmann
for the project and when the job runs in parallel we also have numbering in the paths. Since I'm writing coded pipelines ... I could live with that if I could see how to access the individial paths. I have not found documentation on this. Anybody who could help please? Kind regards, Thom

Re: Error in jenkins related to s3 bucket here i would like push the war file into S3 bucket and i am getting the following error.

2016-09-20 Thread thomas . lehmann
What is the S3 command you have used? Pushing a file to S3 (as you say) is something like "aws --region $region --profile $profile s3 cp $file s3://$bucket_name/$path/$file. On Monday, September 19, 2016 at 2:12:37 PM UTC+2, shrik...@gmail.com wrote: > > Failed CodeDeploy post-build step; except

Problem with credentials in jobs

2016-09-15 Thread Taylor Thomas
So I have run into an issue that I cannot find any help for on the web or among my coworkers, so I thought I'd ask around here. I have some jobs that are being populated by jenkins job builder and I am using a script in "/var/jenkins_home/init.groovy.d/" (in a docker image) to copy and set up s

Re: Parameterized build, REST, one parameter with new value rest with default

2016-08-15 Thread thomas . lehmann
not bad: https://github.com/txels/autojenkins However one important feature is missing: https://github.com/txels/autojenkins/issues/30 (CSRF protection) Regards, Thomas On Monday, August 15, 2016 at 8:53:44 AM UTC+2, Daniel Olausson wrote: > > Hi, > > I have a job that I would lik

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-08-12 Thread thomas . lehmann
"SUCCESS" ... at the end >> No trace all steps are executed fine just the state is wrong. >> >> Using now Jenkins 2.14 >> >> On Thursday, July 21, 2016 at 11:53:41 AM UTC+2, thomas@teamaol.com >> wrote: >>> >>> We are work

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-08-02 Thread thomas . lehmann
I still have the issue with a succeeded pipeline that shows red. Even when I say: currentBuild.result = "SUCCESS" ... at the end No trace all steps are executed fine just the state is wrong. Using now Jenkins 2.14 On Thursday, July 21, 2016 at 11:53:41 AM UTC+2, thomas@t

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread Thomas Zoratto
tBuild.result prints null) > > On Thursday, July 21, 2016 at 12:07:43 PM UTC+2, thomas@teamaol.com > <http://teamaol.com/> wrote: > Will give it a try ... > > On Thursday, July 21, 2016 at 12:00:15 PM UTC+2, Thomas Zoratto wrote: > currentBuild.result is writable >

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread thomas . lehmann
here I can check the success state after each operation? (as mentioned ... echo currentBuild.result prints null) On Thursday, July 21, 2016 at 12:07:43 PM UTC+2, thomas@teamaol.com wrote: > > Will give it a try ... > > On Thursday, July 21, 2016 at 12:00:1

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread thomas . lehmann
Will give it a try ... On Thursday, July 21, 2016 at 12:00:15 PM UTC+2, Thomas Zoratto wrote: > > currentBuild.result is writable > > try to set it to 'SUCCESS' when before your pipeline reaches the end > > Le 21 juil. 2016 à 11:53, thomas@teamaol.com a écr

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread Thomas Zoratto
; > currentBuild.result prints null, so obviously this is not used. > Any help, proposes? > > Kind regards, > Thomas > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscr

Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread thomas . lehmann
current state so I could add some output? currentBuild.result prints null, so obviously this is not used. Any help, proposes? Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and s

Re: Jobs as a code

2016-07-21 Thread Thomas Zoratto
Hi, I use both Jenkins DSL and pipeline and I’m pretty satisfied with this configuration. Jenkins DSL lets me define views and jobs which are specific tasks like doing some clean-up or whatever you want. On the other side, I use pipeline to set up projects' CI/CD. This way, every single job

Re: workspace not getting cleared before or after build.

2016-07-20 Thread Thomas Zoratto
Be sure that https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin is installed > Le 20 juil. 2016 à 15:34, Ashish Yadav a écrit : > > I am currently running Jenkins LTS v1.642.3 on CentOS 6. In my job confi

Re: [pipeline] publishHtml failed with file present

2016-07-12 Thread Thomas Zoratto
Hi, this bug is already reported here : https://issues.jenkins-ci.org/browse/JENKINS-29711 publishHTML is not the only step impacted > Le 12 juil. 2016 à 18:15, jer...@bodycad.com a écrit : > > I think I found the solution on that page: >

Re: Building containers with Docker in Docker and Jenkins

2016-07-02 Thread Thomas Zoratto
Hi Baptiste, Not sure you can easily mount the docker client binary (you could, back in the day but now there are some required dependencies). > Le 2 juil. 2016 à 22:00, Baptiste Mathus a écrit : > > Worth a read probably: > https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-dock

Re: Synchronize timestamps in Jenkins output console, between nodes and master

2016-07-01 Thread Thomas Zoratto
Hello, I don't know if there is a better solution to do it but maybe you could specify the desired time zone during the creation of your AWS instance > Le 29 juin 2016 à 12:56, steliosP a écrit : > > I am facing the following problem: > Jenkins slaves are deployed in AWS, in different regions

Re: Error While trying to configure S3 plugin

2016-06-26 Thread Thomas Zoratto
I don’t know, in a few days maybe if I look at the release history Of course you can patch it on your own and install your custom version on your server if you can’t wait > Le 26 juin 2016 à 11:35, AboveBeyond a écrit : > > > > On Sunday, June 26, 2016 at 12:28:33 PM UTC+3,

Re: Error While trying to configure S3 plugin

2016-06-26 Thread Thomas Zoratto
Hi, This commit fixed your problem (https://github.com/jenkinsci/s3-plugin/commit/b1fa4818c33c6aca594de492a659767516a3bc50 ) You’ll have to wait for the next release. > Le 26 juin 2016 à 11:04, AboveBeyon

Re: How to pull an ECR image using Docker plugin / Pipeline (Docker BuildSlave)?

2016-06-21 Thread Zoratto Thomas
Hi, I believe you cannot specify any credentials with the docker plugin. So if your repository requires authentication (docker hub private repo for example) it won't work. You can manually pull this image on the docker host though. Not really a good solution if you ask me > Le 21 juin 2016

Re: Could not add HP-ux machine as slave in jenkins

2016-06-21 Thread Zoratto Thomas
Hi, Some clues on this I think https://groups.google.com/forum/m/#!topic/gnu.emacs.help/_yMGvDDeCXc > Le 21 juin 2016 à 12:22, Thiagu Mohan a écrit : > > I am trying to add hp-ux B.11.31 host as a slave in jenkins. But getting > below error. Any clue to fix this ? > > > [06/21/16 06:17:18]

Re: Git fetch failure

2016-06-20 Thread Zoratto Thomas
Hi, It doesn't seem to be Jenkins related If I were you I would ask the team maintaining the gitlab server if this is a known issue or if they can do something about it. Maybe I'm wrong though > Le 20 juin 2016 à 20:33, Shannon Bigelow a écrit : > > The following message is periodically gen

Re: Integrating promoted-builds DSL to a job-dsl-gradle-example project

2016-06-18 Thread Thomas Zoratto
mit/930aa4818a3ff74494696b14c241a521bc75c0a9>). We have to wait for the next release though. > Le 7 juin 2016 à 17:20, François Genois a écrit : > > Information for all (and for Thomas) : > > I was able to output the XML files in a not-clean-not-proud way : > I copied the Jenki

Re: Where is the server located?

2016-06-17 Thread Zoratto Thomas
Hi, Wait a day or two (IIRC), the plugins will be available in a specific update center ready to be installed on a running instance. But, don't do it on your production instance, it's still in beta > Le 17 juin 2016 à 10:16, Abe Fehr a écrit : > > Sorry if this is a duplicate question, but

  1   2   3   >