To disable, can I point to a branch like so?
def job = Jenkins.instance.getItem("job-name/branch-name"); job.disable();
And then to enable, maybe it could be achieved also programmatically?
def job = Jenkins.instance.getItem("job-name/branch-name"); job.enable();
--
You received this message
Deleting a branch is definitely not an option.
The actual scenario here is that when end-to-end tests are run, if they fail
then I want to disable all other jobs (why? Because that's the task I was
handed... I don't necessarily agree with this...).
In my case those other jobs are of type multi
Thanks for the suggtestions.. can I pull the disk usage data using API?
- Jeeva
On Tue, May 30, 2017 at 3:04 PM, Baptiste Mathus wrote:
> hello,
>
> https://www.google.fr/search?q=disk+space+jenkins+job first link :-)
> shows the Disk Usage plugin, though it's known to cause issues on big
> ins
I am trying to understand how to write a new "parser" to work with the
Warnings plugin. The "parser" cannot be written by extending the
RegexpDocumentParser or RegexpLineParser because I need it to open and read
a SQLite3 database.
I have been able to write a basic plugin which runs an EDA de
On Tue 30 May 2017 at 20:36, Idan Adar wrote:
> I thought this would be possible after the fix in
> https://issues.jenkins-ci.org/browse/JENKINS-27299, but apparently not
> so... Hence asking here.
>
Remove the branch from being discovered... (then it will be an orphaned
branch and disabled unti
I thought this would be possible after the fix
in https://issues.jenkins-ci.org/browse/JENKINS-27299, but apparently not
so... Hence asking here.
Assuming in a Jenkinsfile, that is run as part of a multi-branch type job,
I decide to disable some jobs, e.g:
post {
failure {
script {
def
Hey guys. I've got what seems like a classic problem many people have, and
I need a bit of info from people who've been through this before.
Basically we currently have a couple of CI jobs, one for each project which
needs to generate an artifact. They need to be executed in a specific
order. W
Hello,
If it possible to write to Console Output using Jenkins API from with-in
Jenkins Pipline script, ie. using TaskListener or Launcher?
Looks like "currentBuild.rawBuild" doesn't provide such method.
I'm having 3rd party jar which makes a calls to Jenkins API, and I would
like to pass it Ou
*Heads up: next LTS 2.60.1 will require Java 8, and will be released later
this June.*
2017-04-11 10:49 GMT+02:00 Pieter-Jan Busschaert <
pieterjan.busscha...@gmail.com>:
> Hello,
>
>
> We use the debian packages from https://pkg.jenkins.io/debian/ and
> upgraded to 2.54 today. I assumed (wrongly
We are currently using Michael's suggestion of running a job periodically
which looks for labels with 0 nodes and assigns that label to a node in the
"fallback" pool. We are continuing to manage locality by manually juggling
label assignments. So now we have guaranteed incremental builds, which
Are there other ways than that plugin? It seems like agents should be
considered fungible in general. There doesn't seem to be any way on Dumb
Slave that I can see.
On Tue, May 30, 2017, 08:48 Arvind Jayaprakash wrote:
> I face the same issue with Mesos and my understanding is that there is a
>
I am adding a tm step in the next release of token macro. It would follow
the same rules as any other pipeline step
On Tue, May 30, 2017, 06:44 Arvind Jayaprakash wrote:
> Is there a way to directly access the value of token macros such as
> WARNINGS_FIXED, WARNINGS_COUNT from a non-declarative
I face the same issue with Mesos and my understanding is that there is a
way to declare slaves as *ephemeral* i.e.they will never come back once
they are gone. This appeared to be something that the cloud provider plugin
(mesos in this case) needs to worry about.
On Thursday, May 25, 2017 at 7
The environment variable CHANGE_ID contains the PR number
On Friday, May 26, 2017 at 6:07:20 AM UTC+5:30, Cody Ebberson wrote:
>
> Hello,
>
> I'm configuring Github + Jenkins + Sonar. Almost everything is working,
> and I am incredibly pleased (great job!) I'm now struggling with one
> missing
Is there a way to directly access the value of token macros such as
WARNINGS_FIXED, WARNINGS_COUNT from a non-declarative pipeline?
Also, will the solution work from within library functions or does this
have to be at the top level?
--
You received this message because you are subscribed to th
Facing the same issue.Where did u find snippet generator for xunit result
publishing.Please let me know
On Monday, September 12, 2016 at 2:25:50 AM UTC-7, Klaus Rudolph wrote:
>
> Hi all,
>
> I want to generate a code snipped to use it in the jenkins pipeline
> "Jenkinsfile".
>
> But I can't f
I have already seen that issue. Storage is not the problem on my site, also I
don't see any application freezing or zombie processes. So, I don't think it is
the same problem.
Regards,
Lukas
Von: bmat...@gmail.com [mailto:bmat...@gmail.com] Im Auftrag von Baptiste Mathus
Gesendet: Dienstag, 30.
hello,
https://www.google.fr/search?q=disk+space+jenkins+job first link :-) shows
the Disk Usage plugin, though it's known to cause issues on big instances.
You probably would prefer
https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Simple+Disk+Usage+Plugin
My 2 cents
2017-05-30 11:15 GMT+
>From a 5 seconds search, I found JENKINS-43055 which looks similar wrt the
message, though didn't check if this is really the same.
My 2 cents
2017-05-30 9:48 GMT+02:00 Lukas Resch :
> Hi,
>
> I am running Jenkins 2.63 on an Ubuntu 14.04 machine and after each
> successful pipeline build I get
Is there a way to find the disk space consume by a Jenkins job for its
workspace and artifact archives...
Your support is greatly appreciated
--
Jeeva K S Chelladhurai
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this
Hi,
I am running Jenkins 2.63 on an Ubuntu 14.04 machine and after each successful
pipeline build I get a null pointer in the RunListener:
May 30, 2017 9:10:49 AM WARNING hudson.model.listeners.RunListener report
RunListener failed
java.lang.NullPointerException
at java.util.StringTokeni
21 matches
Mail list logo