Re: MultiJob retry functionality...I cant get it working

2016-12-20 Thread chris
Hi all, Thanks for the help! Just to clarify, the instructions are: In Manage Jenkins > Configure System: 1. Somewhere on the server running Jenkins, store a text file with the content from the Jenkins output to parse, for example "Finished: FAILURE" 2. Under "Multijob Retry Rules"

Active Choice Plug In, new user to Jenkins/Active Choice

2016-12-20 Thread john . hochbaum
I am using the Active Choice PlugIn and looking to find a way to use Scriptler to grab the reactive parameter from the previous drop down list. Just looking for a sample to follow, and not having any luck finding it. -- You received this message because you are subscribed to the Google Groups

Re: Git Plugin doesn't pull from repo .git url

2016-12-20 Thread Indra Gunawan (ingunawa)
Have you added the SSH public key of the user used for cloning the github repo on Jenkins node/agent using git plugin? Have you created the Jenkins Credential using SSH private key for the user on Jenkins? Have you set the git plugin’s Credential drop-down item to this new credential that you

Git Plugin doesn't pull from repo .git url

2016-12-20 Thread jbrooks
Hi all, I'm running an issue when I try to use the repository URL (the one used for `git clone`) of a private project in the Repository URL field: > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url

Re: Jenkins with Oracle

2016-12-20 Thread Slide
In all fairness, the OP was asked to post on this list instead of the dev list. a) Since this is a Jenkins user list, most people will probably answer "yes". I've seen Jenkins do a lot, sometimes you have to finagle it a little, but it's a great tool and has a lot of flexibility. b) I don't know

Re: pythonpath in declarative pipepline built on docker slave

2016-12-20 Thread Eric Pyle
This is really a Python issue, not Jenkins. But here's how I do it. PYTHONPATH environment variable is automatically appended to sys.path in Python. So in your Python script, just directly add the relevant directory (can be a relative or absolute path): import sys

pythonpath in declarative pipepline built on docker slave

2016-12-20 Thread Omeka
hello, i am looking for a way to set PYTHONPATH to the workspace / current directory of a build that executes unit test with pytest and avoid the following error messages: [Tests] __ ERROR collecting tests/unit/drive/test_config.py ___ [Tests]

Using FilePath to access workspace on slave in Jenkins pipeline

2016-12-20 Thread Harsha Adiga
I need to check for the existence of a certain .exe file in my workspace as part of my pipeline build job. I tried to use the below Groovy script from my Jenkinsfile to do the same. But I think the File class by default tries to look for the workspace directory on jenkins master and fails.

Using FilePath to access workspace on slave in Jenkins pipeline

2016-12-20 Thread Harsha Adiga
I need to check for the existence of a certain .exe file in my workspace as part of my pipeline build job. I tried to use the below Groovy script from my Jenkinsfile to do the same. But I think the File class by default tries to look for the workspace directory on jenkins master and fails.

Re: Jenkins plugin development issues..

2016-12-20 Thread Indra Gunawan (ingunawa)
This is not the place to ask this question. Please go to #jenkins irc channel From: on behalf of Ankush Purwar Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, December 20, 2016 at 7:41

Re: Jenkins with Oracle

2016-12-20 Thread Indra Gunawan (ingunawa)
To OP, please do you your research first. Nobody is going to give you the answer. This is a Jenkins user mailing list. At best, the mailing list participants will be willing to answer you question if you tell them you have done your part. Do you expect people to tell you everything? From:

Re: Bitbucket HTTPS git clone failed via the pipeline script (Invalid username or password)

2016-12-20 Thread ez pub
I know that if I add the crdentialsId, it will work, like: fileLoader.fromGit('script_to_call', 'https://bitbucket.org/myproje ct/script-repo.git', 'master', x-x-xxx) But I just don't want it in my source code on bitbucket, and there is no parent job. I also tried to create the Global

Jenkins with Oracle

2016-12-20 Thread Rajesh Khatri
Hello, We are in process of identifying a custom Build/Deploy solution and need some inputs. We are mainly a Oracle E-business Suite shop with few custom Mobile and other in-house applications. Wanted some help on below points :- a) Will Jenkins be a good fit for our organization. b) Is

For multi-branch pipeline, deleting branch from github project will not result in deleting of same branch project from jenkins.

2016-12-20 Thread Trever
I believe it may depend on your build history retention policy. If your policy is to keep builds for 10 days, the build will remain for 10 days. I've found that changing the retention policy will allow it to be removed sooner. -- You received this message because you are subscribed to the

Re: Error while updating Jenkins job config using Rest API

2016-12-20 Thread Victor Martinez
Have you tried with the command line? - https://support.cloudbees.com/hc/en-us/articles/218353308-How-to-update-job-config-files-using-the-REST-API-and-cURL Cheers On Tuesday, 20 December 2016 12:39:20 UTC, Kruti Vyas wrote: > > I am trying to change the configuration of a job using Jenkins'

Re: Google Play Android Publisher Plugin

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 16:51, Richard Ginga wrote: > > and the answer is: we already have it installed ! (I am new here, forgive the > stupidity) Yeah, I wanted to get a nicer plugin manager that would show everything in a single list, but e.g. differently colored and

Re: Jenkins plugin development issues..

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 16:41, Ankush Purwar wrote: > > I am implementing a Jenkins plugin as “post build action”. This question is best asked on the jenkinsci-dev mailing list as it concerns Jenkins plugin development. -- You received this message because you are

Re: Google Play Android Publisher Plugin

2016-12-20 Thread Richard Ginga
and the answer is: we already have it installed ! (I am new here, forgive the stupidity) On Tue, Dec 20, 2016 at 10:43 AM, Richard Ginga wrote: > nope, we are running 2.7.4 > > On Tue, Dec 20, 2016 at 10:31 AM, Daniel Beck wrote: > >> >> > On

Pipeline hanging with @NonCPS method returning Serializable

2016-12-20 Thread Torsten Reinhard
Hi, I´ve created a simple Pipeline using a class (SSHParams) from my shared library: public class SSHParams implements Serializable { String unixuser String dir String hostname /** * ctor. * * @param unixUser * @param hostname * @param dir

Re: Google Play Android Publisher Plugin

2016-12-20 Thread Richard Ginga
nope, we are running 2.7.4 On Tue, Dec 20, 2016 at 10:31 AM, Daniel Beck wrote: > > > On 20.12.2016, at 15:43, rgi...@disruptorbeam.com wrote: > > > > I see this plugin in the Jenkins Wiki but not through the plugin > manager. how can I get this and install it? > > It requires

Jenkins plugin development issues..

2016-12-20 Thread Ankush Purwar
Hi, I am implementing a Jenkins plugin as "post build action". I want to do the following operation. Q1. I have defined a field of type "repeatable" in config.jelly and this field further have two values say value1 and value2. How can I ensure that all value1's are unique across whole

Re: Git pull from GitHub private repository

2016-12-20 Thread hanstra
I figured out that the user root was doing the work of the deployment. Set up keys accordingly. Looks like I can deploy as expected after that. Tom On Tuesday, December 20, 2016 at 10:12:44 AM UTC-5, han...@nd.edu wrote: > > Looks like switching to the jenkins user ssh-keys credentials helps

Re: Running a local Jenkins plugin repository?

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 15:18, Andrew Ducker wrote: > > … security people aren't willing to open up arbitrary locations … > > … an internal Jenkins Plugin repository which could be given persmission to > automatically pull the latest versions … This makes no sense at all to

Re: Google Play Android Publisher Plugin

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 15:43, rgi...@disruptorbeam.com wrote: > > I see this plugin in the Jenkins Wiki but not through the plugin manager. how > can I get this and install it? It requires at least Jenkins 1.554 (for 1.0), could this be the problem? -- You received this message because you are

Is there any way of hosting an internal Jenkins plugins repository?

2016-12-20 Thread Andrew Ducker
Jenkins plugins are downloaded from a wide variety of sources (as the Jenkins downloads site actually forward you on to a mirror). Our security people aren't willing to open up arbitrary locations to allow Jenkins to pull in updated plugins, and managing them by hand is a massive pain

Re: Automatic JDK installation not working on AIX systems

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 15:11, sunnymarc1...@gmail.com wrote: > > Is it possible to get AIX systems supported in the near future? Probably not, unless you do this yourself. FWIW you could choose to install the JDK from a zip/tar file that Jenkins downloads for that machine (limit the install to

Re: Build abort on shell action not working in pipeline

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 13:41, Arvind Jayaprakash wrote: > > Should I be raising this as a bug instead? If it's reproducible and you're on the newest plugin versions (and newest weekly or LTS release of Jenkins), then that seems reasonable. -- You received this message

Re: Hudson Personal View doesn't show jobs under folders

2016-12-20 Thread Daniel Beck
> On 20.12.2016, at 12:12, GS_L wrote: > > My jobs are separated under Jenkins folders. > When I enter - dir_prepare/.* in the filter edit box to display all the jobs > under 'dir_prepare' folder > no job is displayed. This is not where you report bugs.

Re: Git pull from GitHub private repository

2016-12-20 Thread hanstra
Looks like switching to the jenkins user ssh-keys credentials helps move this forward. The errors I was getting first were directly in the configuration of Jenkins. Telling Jenkins to use the ssh-key for the Jenkins user gets me past that. But on deploy, I'm still getting github errors. When

Google Play Android Publisher Plugin

2016-12-20 Thread rginga
I see this plugin in the Jenkins Wiki but not through the plugin manager. how can I get this and install it? -- 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

Running a local Jenkins plugin repository?

2016-12-20 Thread Andrew Ducker
Jenkins plugins are downloaded from a wide variety of sources (as the Jenkins downloads site actually forward you on to a mirror). Our security people aren't willing to open up arbitrary locations to allow Jenkins to pull in updated plugins, and managing them by hand is a massive pain

Requiring upstream job to build once and before building downstreams

2016-12-20 Thread Federico Fissore
Hi all I have 10 jobs, which pack binaries built by one upstream job. Sometimes, I need to build only 3 of these 10 jobs; other times I need to build them all. In both cases, I would like the one upstream job to run only once. Is this possible? Thank you in advance Federico -- You received

Automatic JDK installation not working on AIX systems

2016-12-20 Thread sunnymarc1970
Hi, I failed to launch a new Jenkins agent (slave) on an AIX system. It seems that the “automatic JDK installation” of Jenkins does not work here: hudson.util.IOException2: Could not find any known supported java version in [java, /usr/bin/java, /usr/java/default/bin/java,

Authentication problem: Error fetching remote repo 'origin'

2016-12-20 Thread Emma Lilliestam
Hi, I'm trying to set up a project on a Jenkins server running on an aws machine, building from a private bitbucket repo. Everything works fine if I use a public repo. I'm using username+password authentication and have put those parameters in both at credentials and in the URL. I've been

[no subject]

2016-12-20 Thread Emma Lilliestam
-- 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

Django build is taking too much time in jenkins.

2016-12-20 Thread sidhartha kumar Mahato
In my jenkins "Execute shell" I am using "gunicorn appname.wsgi:application --bind=serverip:port" to deploy ,and "sudo service nginx restart"to restart the nginx. But because of the "gunicorn bind" command build is taking more than 2days. I have tried "gunicorn appname.wsgi:application

Re: Build abort on shell action not working in pipeline

2016-12-20 Thread Arvind Jayaprakash
Should I be raising this as a bug instead? On Monday, December 12, 2016 at 9:38:37 PM UTC+5:30, Arvind Jayaprakash wrote: > > Yes. I've attached the versions of all plugins as a reference > > On Monday, December 12, 2016 at 9:33:31 PM UTC+5:30, Daniel Beck wrote: >> >> >> > On 12.12.2016, at

Error while updating Jenkins job config using Rest API

2016-12-20 Thread Kruti Vyas
I am trying to change the configuration of a job using Jenkins' rest api using my java code but my code is not able to connect to jenkins url. My code is showing 403 http response while connecting. Please suggest me the changes so that I can update my job without restarting the jenkins. I am

Error while updating Jenkins job config using Rest API

2016-12-20 Thread Kruti Vyas
own vote favoriteEnter code here... I am trying to change the configuration of a job using Jenkins' rest api using my java code but my code is not able to connect to jenkins url.

Hudson Personal View doesn't show jobs under folders

2016-12-20 Thread GS_L
My jobs are separated under Jenkins folders. When I enter - dir_prepare/.* in the filter edit box to display all the jobs under 'dir_prepare' folder no job is displayed. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Decide on return value of job using pipeline plugin

2016-12-20 Thread Andreas Wuz
Hi, I am building a pipeline in Jenkins 2.36 with the pipeline plugin. I have some jobs to execute. To call the job I use: build job: 'transformInput', parameters: [string(name: 'cert_request', value: ''), string(name: 'cert_signature', value: ''), string(name: 'public_cert', value: '')],

UserID upper/lower case access rights

2016-12-20 Thread Kr1stom
Hi I'm using openID to authorize users and role-based strategy for the access rights management. The problem is that when users log in, sometimes they get the userID in uppercase and sometimes in lower case which causes role based strategy to fail giving the access rights to certain user if I