config set user.name john.doe
jenkins-fire-cli config set user.token TOKEN_OR_PASSWORD
jenkins-fire-cli init # to download jenkins-cli.jar and
jenkins-job-dsl-core.jar
And then you can run the command line
jenkins-fire-cli run list-jobs
More detail could be found here: https://github.com/link89
FYI: I can, of course, create the job and build it using the `config.xml`
generated on a jenkins instance running locally -> `java -jar
jenkins-cli.jar -s http://localhost:8080 create-job maven-seed-job2 <
seed-maven-job2.xml`
So I suspect a problem with the Job DSL Plugin when the job
Hi
I created a Junit test case which is available
here:
https://github.com/ch007m/jenkins-job-dsl/blob/31efa049a95c333a8dba9b01ff2aa281b3520e34/src/test/java/dev/snowdrop/MavenJobDSLTest.java#L25-L53
where a seed job is created to populate a mavenJob using the DSL groovy
file provided
But
14, 2020 at 10:55 AM Charles Moulliard
> wrote:
>
>> Hi,
>>
>> How can we Import a java jar on jenkins in order to allow a Groovy Script
>> part of a Job DSL to use java classes packaged within the jar file ?
>>
>> Example of groovy script using the Ja
020 at 4:55 PM Charles Moulliard
> wrote:
>
>> Hi,
>>
>> How can we Import a java jar on jenkins in order to allow a Groovy Script
>> part of a Job DSL to use java classes packaged within the jar file ?
>>
>> Example of groovy script using the Java class Hello
/doc/book/pipeline/shared-libraries/
>
> On Mon, Dec 14, 2020 at 10:55 AM Charles Moulliard
> wrote:
>
>> Hi,
>>
>> How can we Import a java jar on jenkins in order to allow a Groovy Script
>> part of a Job DSL to use java classes packaged within the jar file ?
>&g
Sorry, missed the part about JobDSL. I found a plugin which makes that
possible: https://github.com/AOEpeople/gradle-jenkins-job-dsl-plugin
With regards,
Nick Stolwijk
~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling
How about shared libraries?
https://www.jenkins.io/doc/book/pipeline/shared-libraries/
On Mon, Dec 14, 2020 at 10:55 AM Charles Moulliard
wrote:
> Hi,
>
> How can we Import a java jar on jenkins in order to allow a Groovy Script
> part of a Job DSL to use java classes packaged wi
~~~
Lord Baden-Powell
On Mon, Dec 14, 2020 at 4:55 PM Charles Moulliard
wrote:
> Hi,
>
> How can we Import a java jar on jenkins in order to allow a Groovy Script
> part of a Job DSL to use java classes packaged within the jar file ?
>
> Example of groovy script using the Java clas
Hi,
How can we Import a java jar on jenkins in order to allow a Groovy Script
part of a Job DSL to use java classes packaged within the jar file ?
Example of groovy script using the Java class Hello and method "message"
package groovy
import dev.snowdrop.jenkins.Hello;
println
idea is to use Gitlab plugin and
> Credential Plugin for storing the API token and the Job DSL plugin for
> creating this bunch of jobs. At the moment, my seed job has only one build
> step "Process Job DSLs". In this step, I call following D
traits <<
> 'jenkins.plugins.git.traits.BranchDiscoveryTrait' {}
> }
>triggers {
> periodic(5)
>}
> orphanedItemStrategy {
}
triggers {
periodic(5)
}
orphanedItemStrategy {
discardOldItems {
daysToKeep(3)
numToKeep(3)
}
}
;ve just seen your comment in the open PR regarding
>>> https://issues.jenkins-ci.org/browse/JENKINS-27182
>>>
>>> > What I want is for my seed job to first output what it's going to
>>> change and wait for user input, then if the user confirms make the ch
er input, then if the user confirms make the changes
>> IIUC, you would like to mimic a kind of code review similar to the GitHub
>> Pull Request view process, if so, I'd say you can use the proposal from
>> Daniel Spilker (
>> https://github.com/jenkinsci/job-dsl-plugin/pull/3
> and wait for user input, then if the user confirms make the changes
> IIUC, you would like to mimic a kind of code review similar to the GitHub
> Pull Request view process, if so, I'd say you can use the proposal from
> Daniel Spilker (
> https://github.com/jenkinsci/jo
kind of code review similar to the GitHub
Pull Request view process, if so, I'd say you can use the proposal from
Daniel Spilker (
https://github.com/jenkinsci/job-dsl-plugin/pull/395#issuecomment-132346716)
with https://github.com/jenkinsci/job-dsl-plugin/wiki/Testing-DSL-Scripts and
the pi
I opened an SO post (that no one seems to be interested in)
https://stackoverflow.com/questions/59314501/jenkins-job-dsl-some-way-to-do-a-dry-run
I use the jenkins job dsl to create my multibranch pipeline jobs. It works
great with one glaring issue- safely confirming changes _before_ applying
Hi Team,
>
> I'm trying to implement BuildStrategies --> ignoreCommitterStrategy
> approach via multibranch generator job (i.e, job-dsl way), since there are
> many existing multibranch-pipeline jobs
>
> After running seed job (i.e., multibranch generator job) I could see
Hi Neil;
I'm trying to use below block in my multibranchpipeline generator under
branchsources using job-dsl
After building generator job upon checking on project config could see
Build Strategy nothing but just an ADD button
Even I tried with ignoredAuthors.add and ignoreCommitterStrateg
Not sure if this helps, but: I needed to share code between Pipeline and
Job DSL and I solved it by using Job DSL from Pipeline. I found that easy
because using shared library in Pipeline is well documented.
Something like:
...
stage("Create jobs") {
jobDsl targets:
case shared libraries are
placed in the same repository where the seed job dsl is sitting.
вторник, 18 декабря 2018 г., 14:28:45 UTC-5 пользователь Philip Steiner
написал:
>
> Thanks for the detailed followup! Lots to digest. It looks like you were
> having trouble accessing th
Hello,
I'm currently programming a Seed Job that requests via REST API a list of
repositories from a Gitlab instance. I want to iterate this list and create
a pipeline job for each repository. My idea is to use Gitlab plugin and
Credential Plugin for storing the API token and the Jo
Thanks for the detailed followup! Lots to digest. It looks like you were
having trouble accessing the Shared Library from generated pipeline
scripts, which is a little different from my problem: I want to reference
YAML data files stored in the Jenkins Shared Library from inside a Job DSL
{
credentials('user')
}
}
}
scriptPath('Jenkinsfile')
}
}
}
""&quo
Hi tre..., I know this thread is getting old, but did you ever get an
answer or figure out how to use a Jenkins Shared Library in the Job DSL
script, or some workaround?
Thanks
Philip
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users"
Thanks Victor! I will try this out.
Cheers,
Neil
On Wed, 21 Nov 2018 at 19:23, Victor Martinez
wrote:
> You might need to refer to the trais sections in the branchSource
>
> -
> /plugin/job-dsl/api-viewer/index.html#path/multibranchPipelineJob-branchSources-branchSource-sourc
You might need to refer to the trais sections in the branchSource
-
/plugin/job-dsl/api-viewer/index.html#path/multibranchPipelineJob-branchSources-branchSource-source-git-traits-headWildcardFilter
multibranchPipelineJob(buildName) {
...
branchSources {
branchSource
HI All
The 'Jenkins Ignore Committer Strategy Plugin ' does what I need with a
multibranch pipeline but I can't find a way to configure it via the job DSL
builder that works for me.
Has anyone got some example DSL ? I can't stick the config in the
branchSources block. ther
an add your shared library there.
>
> On Fri, Aug 17, 2018 at 11:05 > wrote:
>
>> Hey,
>>
>> I am looking for advice how to achieve usage of Jenkins shared library in
>> Job DSL –
>> I use this snipped to seed a job whose functionality is in Jen
Manage Jenkins -> configure system -> global libraries
You can add your shared library there.
On Fri, Aug 17, 2018 at 11:05 wrote:
> Hey,
>
> I am looking for advice how to achieve usage of Jenkins shared library in
> Job DSL –
> I use this snipped to seed a job whos
Hey,
I am looking for advice how to achieve usage of Jenkins shared library in
Job DSL –
I use this snipped to seed a job whose functionality is in Jenkins file:
job('my-small-test-job') {
parameters {
stringParam('branch', '${branch}')
}
removedJobActi
Just in case, this thread is already followed up in the job-dsl-plugin
mailinglist:
- https://groups.google.com/d/msg/job-dsl-plugin/451Jp9EtErI/H0JIGQswAwAJ
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this
hello,
I have the slack <https://plugins.jenkins.io/slack> & job-dsl
<https://plugins.jenkins.io/job-dsl> plugins installed & configured in my
jenkins instance.
I run the seed job for the following my-slack.groovy file:
job("myfolder/myjob") {
steps {
s
hello,
I have the slack <https://plugins.jenkins.io/slack> & job-dsl
<https://plugins.jenkins.io/job-dsl> plugins installed & configured in my
jenkins instance.
I run the seed job for the following my-slack.groovy file:
job("myfolder/myjob") {
steps {
s
When I try to create an organization folder with the following Jenkins job
DSL:
organizationFolder("folderName").with {
organizations {
github {
repoOwner("bar")
credentialsId('baz')
checkoutCredentialsId(
Many thanks!
On Wednesday, January 3, 2018 at 1:55:43 PM UTC-8, Victor Martinez wrote:
>
> JobDSL supports mostly all the plugins, further details:
> Automatically-Generated-DSL
> <https://github.com/jenkinsci/job-dsl-plugin/wiki/Automatically-Generated-DSL>
>
> You
JobDSL supports mostly all the plugins, further details:
Automatically-Generated-DSL
<https://github.com/jenkinsci/job-dsl-plugin/wiki/Automatically-Generated-DSL>
You can find its api details below:
-
/plugin/job-dsl/api-viewer/index.html#plugin/extensible-choice-par
Hello,
I need to write a job DSL that supports Hidden Parameter and Extensible
Choice Parameter . Are these parameters supported in Job DSL plugin?
Thanks!
Vicki
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe
Hi,
I currently have a simple Pipeline Script which looks more or less like
this (reduced to the important parts)
node {
stage ('First') {
// Creating a list of names names = [ "a", "b", "c" ]
Job.create(this, names)
}
}
Furthermore I have create a global pipeline lib which contai
while avoiding using a
harcoded pipeline script.
Does anyone have any suggestions how to approach this problem?
Thanks!
Sharon
pipelineJob API:
https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.pipelineJob
<https://jenkinsci.github.io/job-dsl-plugin/#me
Hi,
I am writing a job-dsl for parameterized trigger and the code snippet is
like below:
steps{
downstreamParameterized {
trigger('AAA') {
block {
buildStepFailure('never')
Thanks for the idea!
In the meantime I also thought of a different idea:
1. having global properties for the auth token, e.g. Name: MY_TOKEN
Value: 123
2. Access the token directly from the job dsl, e.g.
authenticationToken(MY_TOKEN)
Since the seed-job has access to the
>
> Hi,
>
to a certain extent it depends on how paranoid You allow yourself to get ;-)
One solution could be to use indirection, e.g. via the Config File Provider
Plugin.
Use an arbitrary token in your job description, and in an additional build
step access a configuration file to read the actu
Hi,
I store the job specifications via job DSL on github.
For one job I need an authentication token.
The docu of authenticationToken mentions:
"... For security reasons, do not use a hard-coded token. See Handling
Credentials
<https://github.com/jenkinsci/job-dsl-plugin/wiki/
Am 29.03.2017 um 13:04 schrieb thomas.lehm...@teamaol.com:
> I need a way to iterate files in a folder to load configuration
> (multiple files) from it.
> Following code does not work using *Job DSL*:
>
> a) you need WORKSPACE to build absolute path
> The normal Groovy code
Hi,
I have (locally) Jenkins 2.49 and Job DSL 1.58 and Groovy version 2.4.8
I need a way to iterate files in a folder to load configuration (multiple
files) from it.
Following code does not work using *Job DSL*:
a) you need WORKSPACE to build absolute path
The normal Groovy code *new
0 McP >
> *Date: *Friday, January 6, 2017 at 2:35 AM
> *To: *Jenkins Users >
> *Cc: *"Indra Gunawan (ingunawa)" >
> *Subject: *Re: Cannot set Git executable using Job DSL
>
>
>
> I should add that if I create a job using this as a seed job, the default
>
From: shaneoh1980 McP
Date: Friday, January 6, 2017 at 2:35 AM
To: Jenkins Users
Cc: "Indra Gunawan (ingunawa)"
Subject: Re: Cannot set Git executable using Job DSL
I should add that if I create a job using this as a seed job, the default
option is still selected.
On Friday
} //configure
>>
>> } //job
>>
>>
>>
>>
>>
>> *From: * on behalf of shaneoh1980 McP <
>> shane.do...@gmail.com>
>> *Reply-To: *"jenkins...@googlegroups.com"
>> *Date: *Thursday, January 5, 2017 at 8:16 AM
>> *
m: *> on behalf of
> shaneoh1980 McP >
> *Reply-To: *"jenkins...@googlegroups.com " <
> jenkins...@googlegroups.com >
> *Date: *Thursday, January 5, 2017 at 8:16 AM
> *To: *Jenkins Users >
> *Subject: *Cannot set Git executable using Job DSL
>
>
>
ect
} //configure
} //job
From: on behalf of shaneoh1980 McP
Reply-To: "jenkinsci-users@googlegroups.com"
Date: Thursday, January 5, 2017 at 8:16 AM
To: Jenkins Users
Subject: Cannot set Git executable using Job DSL
I'm converting all of our Jenkins jobs to DSL scripts and I
configure block. I've tried hundreds of ways but the way I most expected to
work is below. Note that I am new to using the configure block. This is
starting to drive me spare - does anyone know what is wrong in this
configure block that I have? Or, am I somehow missing that this is actua
Thank you for the hint, it worked
Le mercredi 30 novembre 2016 23:50:29 UTC+1, Victor Martinez a écrit :
>
> Hi there,
>
> Pipeline is fully supported by JobDSL (
> https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.pipelineJob)
>
> and also
Hi there,
Pipeline is fully supported by JobDSL
(https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.pipelineJob)
and also Multi Branch Pipeline Job
https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.multibranchPipelineJob
but
I would like to automate the creation of Github Organisation that regroups
a number of repositories for different teams in my company. I would like
to use job-dsl-plugin to do that, so the question is does the
job-dsl-plugin support github organisation?
regards
--
You received this message
Hi Jenkins users,
When creating a new job using “Build Flow” options, the build
environment section is missing, so I can’t add a timeout to the job. How can I
add a timeout logic (in groovy?) to the “
Define build flow using flow DSL
Section?
Thanks!
each job/view. Tested
> here and it works.
>
> But I have good news for you, JenkinsJobManagement is no longer final
> thanks to a recent commit (see
> https://github.com/jenkinsci/job-dsl-plugin/commit/930aa4818a3ff74494696b14c241a521bc75c0a9).
>
> We have to wait for the next release
each job/view. Tested here
and it works.
But I have good news for you, JenkinsJobManagement is no longer final thanks to
a recent commit (see
https://github.com/jenkinsci/job-dsl-plugin/commit/930aa4818a3ff74494696b14c241a521bc75c0a9
<https://github.com/jenkinsci/job-dsl-plugin/com
been very unpleasant, but
> subclassing it is really pretty)
> Anyway, here is an example outputting XML if you run 'gradlew test'.
> https://github.com/franknarf8/job-dsl-gradle-example/tree/03524daa83851a544106cc514591026a99f3ee64
>
> <https://github.com/franknarf8/
dd logging logic to some of the calls of JenkinsJobManagement
(wraping JenkinsJobManagement would have been very unpleasant, but
subclassing it is really pretty)
Anyway, here is an example outputting XML if you run 'gradlew test'.
https://github.com/franknarf8/job-dsl
in a context running an
> instance of the promoted-builds plugin.
>
> Do you have an idea of how I could get the XML generated from the scripts?
>
> Thank you again and have a nice day!
>
> - Frank
>
>
> On Wednesday, June 1, 2016 at 12:20:01 PM UTC-4, Thomas Zoratto wrote:
a context running an instance
> of the promoted-builds plugin.
>
> Do you have an idea of how I could get the XML generated from the scripts?
>
> Thank you again and have a nice day!
>
> - Frank
>
>
> On Wednesday, June 1, 2016 at 12:20:01 PM UTC-4, Thomas Zorat
idea of how I could get the XML generated from the scripts?
Thank you again and have a nice day!
- Frank
On Wednesday, June 1, 2016 at 12:20:01 PM UTC-4, Thomas Zoratto wrote:
>
> Hello Frank,
>
> I guess the promoted builds plugin is not directly compatible with the job
> DSL p
Hello Frank,
I guess the promoted builds plugin is not directly compatible with the job DSL
plugin. I mean you can’t find DSL methods relative to the promoted builds
plugin in the online API
https://github.com/franknarf8/job-dsl-gradle-example/commit/f15b7fbf698d7be29b8527043d8649ab15559842
Good morning everyone,
I'm currently using a project based
on https://github.com/sheehan/job-dsl-gradle-example and I am trying to get
the promoted-builds plugin to work with this project
(https://wiki.jenkins-ci.org/display/JENKINS/Promoted+Builds+Plugin).
Everything works fine on my Je
You can use the configure block:
- https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block
On Tuesday, 23 February 2016 12:15:48 UTC, khmarbaise wrote:
>
> Hi,
>
> first this is a question more specific for the job-dsl-plugin list
> <https://groups.google.com/for
Hi,
first this is a question more specific for the job-dsl-plugin list
<https://groups.google.com/forum/#!forum/job-dsl-plugin> apart from that
based on the docs there is no support for accurev at the moment...
https://jenkinsci.github.io/job-dsl-plugin/#path/job-scm
Kind regards
Karl
I am using the following script to create a Job DSL using accurev.
Please let me know how should the correct script look like.
job('payer-server') {
scm {
accurev {
/**What to insert here **/
}
}
triggers {
scm('H/15 * * * *')
}
steps {
mav
peline jobs *with* Job DSL - look for the
> "workflow" stuff in the Job DSL API Viewer -
> https://jenkinsci.github.io/job-dsl-plugin/#path/workflowJob
>
> A.
>
> On Tue, Feb 9, 2016 at 3:27 AM, Carlos Lucas > wrote:
>
>> Hi,
>>
>> Nowadays, we a
You can actually generate Pipeline jobs *with* Job DSL - look for the
"workflow" stuff in the Job DSL API Viewer -
https://jenkinsci.github.io/job-dsl-plugin/#path/workflowJob
A.
On Tue, Feb 9, 2016 at 3:27 AM, Carlos Lucas
wrote:
> Hi,
>
> Nowadays, we are using a Jenkins
Hi,
Nowadays, we are using a Jenkins with more than 300 different jobs. Most of
them are generated using jobdsl plugin automatically from a config file.
Now, I would like to migrate some of them from classic projects to pipeline
projects.
What is the best way to generate pipeline jobs like job
Thanks!
Sorry, didn't knew there was such a list. I'll take it there as well.
Thank you! I'll try your suggestion once I'm in.
--
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
This is more appropriate for the job-dsl-plugin mailing list.
readFileFromWorkspace is part of DslFactory. You can pass in a DslFactory
through the call to addEmailTemplate or maybe import DslFactory and use it
directly.
--
You received this message because you are subscribed to the Google
Hi guys.
I'm trying to extract some common stuff from a JOB DSL file into some
scripts which I can then use to augment my jobs to insert some common
stuff.
So I'm doing it like the example showed it =>
package utilities
class MyUtilities {
static void addMyFe
Nick,
There is also another google group you might find useful:
- https://groups.google.com/forum/#!forum/job-dsl-plugin
Cheers
On Tuesday, 6 October 2015 10:26:44 UTC+2, Nick Stolwijk wrote:
>
> Doh... that is simpler than I thought. :D I couldn't find any examples in
> t
Doh... that is simpler than I thought. :D I couldn't find any examples in
the various Job DSL configurations I had found.
Thanks for the help!
Nick Stolwijk
~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that a
Well, Job DSL is actually Groovy code. So something like the following
should work:
scm {
if(data.git_url) {
git {
remote {
url(data.git_url)
credentials('x-')
}
createTag(false)
}
}
else if(data.svn-url) {
I'm trying to rebuild my Jenkins jobs through the Job DSL. I have found a
lot of documentation and examples, but none about conditional configuration.
I have the following job input:
projects {
componentA {
svn-url = 'https://svn.localhost/componenta/trunk/'
}
component
When i'm adding script manually in job it approved, when converting to dsl
- it requires approval. This is not very convenient.
On Sunday, August 16, 2015 at 11:29:46 AM UTC+3, David Resnick wrote:
>
> I've set the script to be sandboxed in the Job DSL script, though it look
I find it is easier to debug these issues if you go in and create a normal
Free Style Job with a groovy step and all the parameters that you want and
then look at the XML that is created when you save the job. Then you can
compare something that works to what is being generated by job dsl.
On Tue
On Tuesday, 15 September 2015 13:58:30 UTC+2, Daniel Beck wrote:
>
> Anything interesting in Old Data Monitor saying something cannot be
> loaded?
>
nope, the ODM is empty.
best,
simon
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsu
Anything interesting in Old Data Monitor saying something cannot be loaded?
On 15.09.2015, at 13:25, Simon Haegler wrote:
> - Play area: http://job-dsl.herokuapp.com/
> - Docs refererence:
> https://jenkinsci.github.io/job-dsl-plugi
>
> - Play area: http://job-dsl.herokuapp.com/
> <http://www.google.com/url?q=http%3A%2F%2Fjob-dsl.herokuapp.com%2F&sa=D&sntz=1&usg=AFQjCNEyJpn3QNQ8GSpBiLm_JWtngEighA>
> - Docs refererence:
> https://jenkinsci
Hi Simon,
A few suggestions in case you haven't checked them yet:
- Play area: http://job-dsl.herokuapp.com/
- Docs
refererence:
https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.step.StepContext.groovyScriptFile
- Can you check your config.xml
apologies, forgot the versions:
- jenkins 1.609.3
- job dsl plugin 1.38
- groovy plugin 1.27
On Monday, 14 September 2015 19:54:47 UTC+2, Simon Haegler wrote:
>
> hi jenkins users,
>
> i am working on our in-house 3rd-party dependency build system and ran
> into an issue t
hi jenkins users,
i am working on our in-house 3rd-party dependency build system and ran into
an issue that the JOB DSL statement "groovyScriptFile" does not create the
corresponding build step. here is the relevant snippet from the seed job
groovy script:
steps {
groovy
So far, upgrading to 1.38 seems a lot better on memory. I will continue to
monitor and see how it goes. Thanks very much for the tip!
On Sun, Sep 13, 2015 at 12:32 PM Guenther, Marc(AWF)
wrote:
> Hi,
>
> we had quite some severe memory problems with Job DSL Plugin, but then, we
>
Hi,
we had quite some severe memory problems with Job DSL Plugin, but then, we were
running it quite often (like, all the time...). In the end, it didn't even
survive one working day.
Using the JavaMelody Monitoring Plugin, we saw an ever increasing sawtooth in
the "Used non-heap m
On 11.09.2015, at 01:51, Slide wrote:
> I would also like to know if anyone can help me figure out how to profile
> Jenkins (while running under Tomcat) so I can determine where the memory
> issues are coming from.
Anything interesting in the heap dump? (Does /computer/(master)/heapDump work
Anyone have any ideas on this one? I haven't been able to track down what
is going on.
On Wed, Jun 17, 2015 at 7:33 AM Slide wrote:
> I just noticed an issue after upgrading the version of Job DSL recently
> (1.34) that the memory consumption has gone up significantly. I have t
I've set the script to be sandboxed in the Job DSL script, though it looks
link only a marginal improvement because of the need to approve missing
method signatures.
What would the Job DSL plugin need to do to automatically approve the
non-sandboxed script it sets in a job? As you me
On Tuesday, July 21, 2015 at 4:17:51 PM UTC-4, David Resnick wrote:
>
> How can I have the workflow job script updated via Job DSL without having
> to approve the script each time it changes?
>
If the Job DSL plugin supports setting sandbox=true here, use that. However
it wou
I have a workflow script that I set in the workflow job Groovy CPS DSL
textbox via Job DSL. The problem is that though security on the server is
set to "logged in users can do anything", apparently the script is not set
as "Jenkins administrator".
How can I have the workflo
I just noticed an issue after upgrading the version of Job DSL recently
(1.34) that the memory consumption has gone up significantly. I have to
restart Tomcat to free up the memory. I am using some custom, monkey
patched methods to make the DSL a little friendlier for my HW engineers, so
it could
I got the some problem. I passed through this error by giving artifactory
name, the numbered name. Just create a fake job/ or check already existing
config.xml`s "artifactory-name" tag for a job. You will find the name with
numbers(eg:16789834@566678). If you give that, ur parameters are being s
We are using the Jenkins DSL to define our jobs and have had very good
success with it. However, when writing a job for our projects that use
Gradle, where a successful build publishes to Artifactory, we have to
manually configure Artifactory on the jobs first run even though we defined
all
Hi,
if someone else has the same problem:
I've created this issue: https://issues.jenkins-ci.org/browse/JENKINS-26825
Best regards,
Rolf
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails
Hi,
I'm unable to deactivate a customWorkspace with JoBDSL plugin. Once a job
had an active customWorkspace it won't be deactivated.
If I delete customWorkspace() from the job defenition the setting is not
changed.
customWorkspace( '' ) change only the text field and the check box is still
acti
I figured this out.
jobs = []
f.eachLine { line ->
jobs += job(type: Matrix) {
...
}
}
job(type: Multijob) {
steps {
phase('build') {
jobs.each { j ->
job(j.name)
}
}
}
}
On Tuesday, January 27, 2015 at 6:43:24 PM
1 - 100 of 114 matches
Mail list logo