Re: Creating an env variable via API

2019-06-10 Thread Gavin Mogan
You can unsafely access the script console - https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console then you can create credentials using groovy, example - https://github.com/halkeye-docker/docker-jenkins/blob/22ba8c4408b3a16188dc9fe967293849e8f12468/groovy/0012-add-tokens.groovy#L50-L57

[Project Change for GSoC 2019 Cloud Features for external workspace manager]

2019-06-10 Thread Yufei Zhang
Hi developers in Jenkins, I'm Yufei Zhang, a student from GSoC 2019 responsible for 'Cloud Features for External Workspace Manager', here we made some important decision. According to the reasons in this blog post :

Re: Creating an env variable via API

2019-06-10 Thread Parichay Barpanda
For example, To delete a job, you can make a POST request to Jenkins server as: curl -X POST http://localhost:8080/job/my-job-name/doDelete --user jenkins:f1499cc9852c899d327a1f644e61a64d where, *username*: jenkins *api token*: f1499cc9852c899d327a1f644e61a64d On Tuesday, June 11, 2019 at

Creating an env variable via API

2019-06-10 Thread Parichay Barpanda
Hi all, I am trying to figure out a way to add an environment variable to Jenkins without using the UI. Is there a way to do it via API? The intention is to let user add credentials to Jenkins without using UI. Please let me know if you have a solution to this. Thanks. Regards, Parichay

Re: Incrementals / install-plugins.sh

2019-06-10 Thread Natasha Stopa
Hi Gaven, As part of my Google Summer of Code project I am working on converting the install-plugins bash script to java. It's still a work in progress, but you can find the project page here: https://jenkins.io/projects/gsoc/2019/plugin-installation-manager-tool-cli/, repository here:

Re: Proposal: Automating dependency management for repositories inside the jenkinsci org

2019-06-10 Thread Oleg Nenashev
done! On Mon, Jun 10, 2019 at 6:40 PM Basil Crow wrote: > On Wednesday, May 22, 2019 at 11:47:09 PM UTC-7, Oleg Nenashev wrote: >> >> I am fine with going forward with enabling Dependabot for a wider set of >> plugins. >> > > Can you please add the following repositories: > >

Re: Proposal: Automating dependency management for repositories inside the jenkinsci org

2019-06-10 Thread Basil Crow
On Wednesday, May 22, 2019 at 11:47:09 PM UTC-7, Oleg Nenashev wrote: > > I am fine with going forward with enabling Dependabot for a wider set of > plugins. > Can you please add the following repositories: https://github.com/jenkinsci/swarm-plugin

Re: Working with distributed builds

2019-06-10 Thread Jesse Glick
On Sun, Jun 9, 2019 at 4:04 PM Rajeev Ranjan wrote: > it extracts the plugin jar from $JENKINS_HOME to get powershell files > execute it to perform business logic of the plugin on the project Use https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#getResource-java.lang.String-

Re: Incrementals / install-plugins.sh

2019-06-10 Thread Jesse Glick
On Mon, Jun 10, 2019 at 2:13 AM 'Gavin Mogan' via Jenkins Developers wrote: > I started to look into install-plugins.sh loading incrementals IMO you should avoid `install-plugins.sh` altogether. It is much more straightforward, reliable, and efficient to get the plugins you need right from

RE: Benchmarking Jenkins using Java Microbenchmark Harness (JMH)

2019-06-10 Thread sharmaabhyudaya
Hi everyone, Just to update you all, the framework for running JMH benchmarks is almost ready to be merged into Jenkins Test Harness. Please see this pull request. There is also a pull request to the plugin-pom

Re: [DISCUSS] Change Jenkins default logging format

2019-06-10 Thread 'Gavin Williams' via Jenkins Developers
Baptiste/Jesse Apologies if any of my comments come across as offensive. It was more out of frustraion that our log ingestion for Jenkins masterslogs was broken by an undocumented and unexpected change. I've filed a Jira as above - https://issues.jenkins-ci.org/browse/JENKINS-57888 Regards On

Re: [DISCUSS] Change Jenkins default logging format

2019-06-10 Thread Baptiste Mathus
This was indeed an undocumented feature you and possibly others were relying on, this is it got broken without anyone realizing. We are sorry about that, but so the right way to have this fixed is as Jesse was saying: please file a JIRA to explain the use case so we can possibly make a user-facing

Re: Working with distributed builds

2019-06-10 Thread Ivan Fernandez Calvo
There is a plugin that copies files in the workspace, that it is what you want see https://plugins.jenkins.io/config-file-provider El domingo, 9 de junio de 2019, 22:04:50 (UTC+2), Rajeev Ranjan escribió: > > Hi team, > I am stuck at end which currently I don't have clue how to proceed. > I have

Re: [DISCUSS] Change Jenkins default logging format

2019-06-10 Thread 'Gavin Williams' via Jenkins Developers
Unfortunately Java dev is not my forte.. It's a shame this change was put in under the radar, with no changelog entry and no documentation update to define the new log format :( On Friday, June 7, 2019 at 8:46:05 PM UTC+1, Jesse Glick wrote: > > Well, you can work on a PR to add a supported

Post Build doubt

2019-06-10 Thread selva vignesh
Hi, I've been developing plugin last 3 months. I need some help from you guys. I am Expecting following use case, please let me know is this use case possible. case 1: I have add one post build action (Recorder). Same like this action am i able to configure this when trigger build with Param

Incrementals / install-plugins.sh

2019-06-10 Thread 'Gavin Mogan' via Jenkins Developers
I've been trying to figure out clean solutions to the ci.blueocean docker image having the latest master code, but actually having all its dependencies properly. My plan was to install blueocean using jenkins:lts and install-plugins, then overwrite them with master built images. That works