I want to dynamically set the downstream projects with a Groovy script.
I can get the list of downstream projects, but I cannot find a setter.
hudson.model.Hudson.instance.items.each { project ->
if (project.name.equals("myProject")) {
project.getUpstreamProjects().each { upstreamPro
Found a work around ('Linux node').
To actually get the node name I am using
def nodeName = "hostname".execute().text.replace('\n', '')
node name does not have to be equal to hostname, but the hostname is just
enough for me so I could locilize the node I am currently using ;-)
Cheers!
W dni
Upstream means a project is kind of above of some others in the build
lifecycle. See it as a waterfall if you like, and water in a waterfall goes
down (more rarely up ;-)).
You also must think of the required building order: to build your final
artifact(s). In your case, you must indeed have built
How awesome it would be actually to put gerrit inside instead of plain git?
W dniu sobota, 3 stycznia 2015 16:21:25 UTC+1 użytkownik Alexander Bertram
napisał:
>
> One of the components of the workflow system is a plugin that provides a
> global git repository where you can push your groovy buil
How awesome it would be actually to put gerrit inside instead of plain git?
W dniu sobota, 3 stycznia 2015 16:21:25 UTC+1 użytkownik Alexander Bertram
napisał:
>
> One of the components of the workflow system is a plugin that provides a
> global git repository where you can push your groovy buil
waiting for https://issues.jenkins-ci.org/browse/JENKINS-26010
Simple work around:
1. Create free style project
2. connect to gerrit "As usual"
3. add groovy system script execution build step
4. trigger workflow from here (one or many)
5. wait for result
6. reply to gerrit wit
Hello,
I'm experimenting with the "stage" command using the flow below, and
running the job 4 times in a row (#59, #60, #61, #62).
My test show that the concurrency limit I set for stage 'build_and_test' is
not accounted for, but the one for the 'test' stage is (great feature,
thanks!).
Maybe
I've been asked to create a Jenkins instance that would be opened up to several
of our clients so they can log in and run jobs that impact only their
environment. I am unaware of how to securely segment jobs so only certain jobs
are visible to certain clients. Internally I use Role-Base Strate
any body help me to parameterize jenkins, with different options like run
so and so enviroments
thanks
Mahender
--
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
On 20-02-2015 13:25, Eric Wood wrote:
I've been asked to create a Jenkins instance that would be opened up
to several of our clients so they can log in and run jobs that impact
only their environment. I am unaware of how to securely segment jobs
so only certain jobs are visible to certain clie
I assume that "enable project-based security" is the same as "project based
matrix authorization strategy". Under here I can set access for uses based on
"view". Is this the section for specifying what jobs a user can and cannot see?
On Friday, February 20, 2015 9:50 AM, Luís Borges de
You don't need a presend script at all. Just create a groovy template and
use the SCRIPT token.
On Thu, Feb 19, 2015, 22:18 Anitha Kabil Raj
wrote:
> Dear team,
> I'm trying to get the build result reflected in my e-mail body.
> I need to get the result of each build step from the log, and put i
Hello,
I'm quite new to Jenkins and workflow plugin, and I am trying to set up a
task that publishes some HTML reports and violations. I know that there are
opes issue against HTML reports plugin, but I dont know if
'violations-plugin' should work or I am doing something wrong. My code is
some
I have a Jenkin's master with multiple slave setup.
Is it possible to display the slave name in the main job's console output?
e.g. Currently in Jenkins ver. 1.580.3 the main output of my
Multi-configuration project look like something below:
Started by an SCM change
Buildin
In my cross platform workflow build script, I am trying to iterate over
directories. I encountered some strange behavior i don't understand with
groovy and the File() object. My first attempt used File(path).eachDir
{...} it works in the Script console, but not in a job. In the job I
simply
You can continue using Role Strategy. Just define a new role with global
permission Overall/Read only (so they can access Jenkins and log in), and then
add access selectively per project. Your existing users then probably need to
get a new role that grants them Job/Read globally.
On 20.02.2015,
On 20.02.2015, at 19:06, Neon Ngo wrote:
> Is it possible to display the slave name in the main job's console output?
This is a feature request.
https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue
> One thing I believe that is missing in the current main job's console output
>
Hi,
I am using jenkins.war and it was usually possible to upgrade Jenkins from
GUI by going to "manage Jenkins" link.
Now after upgrading to 1.565.3, I do not see that option anymore however
there are some LTS releases after 1.565.3.
Does anyone know why is this so ? :S
Any suggestion is appre
Can you please elaborate on your question ?
On Friday, February 20, 2015 at 2:35:23 PM UTC+1, Mahender Tirumala wrote:
>
> any body help me to parameterize jenkins, with different options like run
> so and so enviroments
>
>
> thanks
> Mahender
>
--
You received this message because you are sub
19 matches
Mail list logo