Questions about masking and managing credentials

2019-04-12 Thread nikobelia
Hi Jenkins users, Me and a colleague are trying to make our Jenkins infrastructure nice and config-as-code-y and reproducible, and it works nicely except that we haven't yet found a good way to store and obfuscate credentials. Here's what we're currently doing: 1. Store all initial config usi

Re: Jenkins - link a java package to pipeline

2019-04-12 Thread Marogo Ytcutc
The main problem is that Jenkins does not recognize the TestLinkAPIClient class, probably because he did not find it in the given location (testlink. api.java.client.TestLinkAPIClient.*). How to solve this problem? W dniu piątek, 12 kwietnia 2019 18:41:23 UTC+2 użytkownik Ivan Fernandez Calvo

Re: is there any plugins that just sets up a Google cloud environment?

2019-04-12 Thread Filippo Morelli
I have not and as awesome as it may look I don't think we're in a position to switch to it right now, thanks tho. On Fri, Apr 12, 2019 at 7:28 PM Jenn Briden wrote: > Have you looked at using Jenkins X? > > On Fri, Apr 12, 2019 at 8:56 AM SpikeX > wrote: > >> Hello, >> >> I'm looking for a plug

Re: is there any plugins that just sets up a Google cloud environment?

2019-04-12 Thread Jenn Briden
Have you looked at using Jenkins X? On Fri, Apr 12, 2019 at 8:56 AM SpikeX wrote: > Hello, > > I'm looking for a plugin that sets up the environment before a job is ran > so that the job can use gsuti/gcloud utilities and spin up instances/do > stuff on Google Cloud. > > Looking at the plugins o

Re: Jenkins - link a java package to pipeline

2019-04-12 Thread Ivan Fernandez Calvo
Hi, There are many reasons to not include those classes in your pipeline code I will give you a couple, one it is that you will have to allow to execute a bunch of packages related to that library this would make your Jenkins less secure see https://wiki.jenkins.io/display/JENKINS/Script+Securi

Why is node not installing in jenkins?

2019-04-12 Thread adrian lee
Hi All I am running a docker image of jenkins. I have installed my plugin node js and named the tool node. I tried writing a pipeline like below but it keeps telling me : Does anyone know how tor esolve this? Unpacking https://nodejs.org/dist/v11.13.0/node-v11.13.0-linux-x64.tar.gz to /var/jenk

Re: Jenkinslibrary stepEnvironmentVariables aren't encoded properly

2019-04-12 Thread Ivan Fernandez Calvo
I'd guess the step `stepEnvironmentVariables` is in your Pipeline Shared Library `@Library('jenkinslib@jira-SBS-8863')_` because it is not in this page https://jenkins.io/doc/pipeline/steps/, so it is not a pipeline step provided by some Pipeline plugin, so it is an in house implementation you

is there any plugins that just sets up a Google cloud environment?

2019-04-12 Thread SpikeX
Hello, I'm looking for a plugin that sets up the environment before a job is ran so that the job can use gsuti/gcloud utilities and spin up instances/do stuff on Google Cloud. Looking at the plugins on the registry none of them seems to do that and/or work. The closest is the Oauth plugin, but

Jenkins - link a java package to pipeline

2019-04-12 Thread Marogo Ytcutc
I would like to use the TestLinkAPIClient class (java) in my pipeline Jenkins, so I need link these modules to the pipeline, and then run the code below in groovy (found on t

issue setting build status from within evaluated groovy script run as system script

2019-04-12 Thread 'monger_39' via Jenkins Users
Hi, I have a job to do some cleanup in Jenkins. the job is defined to run a "Execute system Groovy script" as build step. The code contains something like:     import hudson.FilePath     import hudson.model.*     final GROOVY_SCRIPT ="scripts/do_job_cleanup.groovy"     evaluate(new FilePath(bu

Jenkinslibrary stepEnvironmentVariables aren't encoded properly

2019-04-12 Thread Sarfroz Basha
Hi All, I need some help from you guys. e.g. value "daivb/r/DAIVB2/config-server\ndaivb/r/DAIVB2/registry-server" causes build or more specific script-execution to fail with: Error: java.io.IOException: Failed to run image ' .com:10004/buildcontainers/linux-18.04-base'. Error: docker: i