Re: script pipeline with rabbitmq

2020-06-17 Thread Jan Monterrubio
Check out the sidecar portion of these docs: https://www.jenkins.io/doc/book/pipeline/docker/ I think maybe the initial agent part is what might not be making it work. On Tue, Jun 16, 2020 at 14:48 Arturo Arenas wrote: > hello everybody !! > > someone tried to do this? > > node { >

Re: Script groovy in Active Choice Parameter

2020-06-17 Thread Antonio Gomez
Yes and it works fine, the problem is when when I add a script in the Active Choice Parameters plugin. I think inside the plugin I can't use readJson, but I'm going to try it. Thank you El mié., 17 jun. 2020 a las 21:36, Mahima Mishra (<02.mah...@gmail.com>) escribió: > Have you tried readJSON

Script groovy in Active Choice Parameter

2020-06-17 Thread Mahima Mishra
Have you tried readJSON from pipeline utility steps plugin? -- 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

Re: Setting up DNS for my Jenkins

2020-06-17 Thread Kari Cowan
Thanks. I am in the midst of upgrading my Jenkins and it's been a pet peeve. That sounds like a solid plan to check out once I have my main testing plan completed. On Wed, Jun 17, 2020 at 8:29 AM Antonio Gomez wrote: > This url depends on the publication port of the application server where >

How to integrate JSCover in pipeline to get code coverage?

2020-06-17 Thread Gajanan Mahajan
I've a requirement where Jenkins pipeline should be written in such a way that using JSCover after Selenium tests are executed, js code coverage should be generated. I went through http://tntim96.github.io/JSCover/manual/manual.xml for this but I'm not able to collect it to implement what I

Re: Setting up DNS for my Jenkins

2020-06-17 Thread Antonio Gomez
This url depends on the publication port of the application server where Jenkins is published. You can change it there, or mount a reverse proxy in front of the jenkins server El mié., 17 jun. 2020 a las 17:10, Kari Atari () escribió: > Is there a configuration setting to show the application

Setting up DNS for my Jenkins

2020-06-17 Thread Kari Atari
Is there a configuration setting to show the application without exposing the port on the URL? I.e., jenkins.mycompany.com vs jenkins.mycompany.com:8080 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Script groovy in Active Choice Parameter

2020-06-17 Thread chencho m-a
Is the file correctly formatted? If you have edited from windows, maybe you have wrong line endings El miércoles, 17 de junio de 2020, 14:38:42 (UTC+2), Antonio Gomez escribió: > > Hello, > > I am trying to display json file content as multiselect within Choice > Active Parameter. > > This is

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, den 16.06.2020, 07:35 -0700 schrieb Jagadeesh YENNE: > /mnt/block_device/jenkins1/workspace/MFT-Frontend/MFT-Frontend-CI- > Dev-UpdatedNode/mft-frontend/node_modules/sonar-scanner/bin/sonar- > scanner: line 59: /usr/bin/java/bin/java: Not a >

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread chencho m-a
The error says that java is not a directory. Maybe you have your classpath pointing to binary instead of the directory El martes, 16 de junio de 2020, 19:41:01 (UTC+2), Jagadeesh YENNE escribió: > > Hi All, > > > While I am running sonar-scanner job, I am getting below error, could someone >

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread Jagadeesh Yenne
Our slave nodes are being used by 2(old & new) master servers, Jenkins job is successful when we trigger the build from old server (with jenkins user ) but failed with new jenkins master (with jenkins1 user) I have checked java path and the user path both looks good. The below query is another

Script groovy in Active Choice Parameter

2020-06-17 Thread Antonio Gomez
Hello, I am trying to display json file content as multiselect within Choice Active Parameter. This is my code: //import groovy.json.JsonSlurperClassic import groovy.json.JsonSlurper //def parseJsonText(String jsonText) { // final slurper = new JsonSlurperClassic() // return

Re: Run same Jenkins job on different repositories in parallel using Declarative Pipeline

2020-06-17 Thread 'monger_39' via Jenkins Users
Hi,not sure if your problem is now solved, so ..Try changing your code to use: w pipeline doesn't seem to achieve the goal:     pipeline {         agent any         options {             ansiColor('xterm')                             }         parameters {             extendedChoice description: 

how to use port remapping using JNLP with Dockerized Jenkins using JCASC ?

2020-06-17 Thread 'monger_39' via Jenkins Users
Hi,I have been experimenting with Dockerized Jenkins (incl JCasC). Only the master is dockerized for now.My Jenkins agents are started from the agent, and connect via JNLP.The master (internal) port is 8080. the JNLP port is 5. Both defined in the JCasC configuration.   location:    

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread Antonio Gomez
Hello, In global tools configuration check in JDK instalations if java path is correct. Check also $PATH from user that run this jobs El mar., 16 jun. 2020 a las 19:41, Jagadeesh YENNE () escribió: > Hi All, > > > While I am running sonar-scanner job, I am getting below error, could someone >

Re: how to obfuscate login page?

2020-06-17 Thread Gian Maxera
We had the same issue. We solved putting a reverse proxy just for the webhooks. In this way, nothing is exposed public but just the necessary for the webhook A tiny machine with Nginx using proxy_pass directive does the trick. Cheers, Gianluca On Wed, 17 Jun 2020, 06:18 Harald Dunkel, wrote:

Searching Better Handling with Global Maven Settings in Declarative Pipeline

2020-06-17 Thread 'Sandra Parsick' via Jenkins Users
Hello everyone, I have following set up in my Jenkins instance (Version 2.240): A Maven setting.xml is stored in Managed File -> Global Maven Settings.xml. In Managed Jenkins -> Managed Tools, this settings.xml is set in Maven configuration -> Default global settings provider -> Provided