Should/couldn't you pass this from the base context to your instance method
and then do something like ctx.sh in that method (with ctx=this when
creating your instance)
Le 19 févr. 2015 00:18, Jos Backus j...@catnook.com a écrit :
Hi,
How does one reference workflow steps like sh and build
HI,
I'm not clear on your use case but BuildFlowExtensions[1] contains a
block DSL that may help you.
The block DSL ensures that only one Run (build) of a particular BuildFlow
will execute the steps contained within it concurrently.
It further will only allow the most recent FlowRun to
Hello,
I would like to add a build parameter clean which is true by default,
but, when false, make the job skip the clean step.
Here is my script
echo clean: ${clean}
node(qisrc) {
echo clean: ${clean}
if (clean) {
sh echo clean
}
sh echo build
}
Here is what happens when
Hi all,
I do user research for IBM's Bluemix DevOps Services https://hub.jazz.net/,
and I'm currently researching Jenkins plugin usage to help prioritize
future releases/features. Any responses to the questions below would be
much appreciated -
1. What Jenkins plugins are a requirement for
This would be more believable if there were an @ibm.com email address
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Kelley
Sent: Thursday, February 19, 2015 2:45 PM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins Plugins
Hi all,
I do
Not sure what's so 'unbelievable' about the question originating from a
google account - given this is a google group, but for your info - kelleyc
[AT] us dot ibm dot com.
I'd be more then happy to add it if you can tell me how to use a non-google
address with a google group?
On Thursday,
I don’t know that answer. Just know 2 things:
We get some suspicious emails to this group at times and I am a member without
a google address
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Kelley
Sent: Thursday, February 19, 2015 3:46 PM
To:
Hi John,
I am getting error as below
# sudo wget -O /etc/yum.repos.d/jenkins.repo
http://199.193.196.24/redhat/jenkins.repo
--11:14:54-- http://199.193.196.24/redhat/jenkins.repo
Connecting to 199.193.196.24:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Excellent. I could not find any documentation about this variable. It is
not listed among the environment variables of Jenkins. Makes me wonder
which other variables are available that could be usefull.
When I trigger the build manually in Jenkins I got BUILD_CASE =
UPSTREAMTRIGGER
When
Hi,
The maven-release-plugin (and the m2release plugin) will not update
SNAPSHOT dependencies for you unless they are being released as part of the
reactor.
They only change the SNAPSHOT versions of modules in the reactor.
If you want to change your dependencies then you should be looking at
On Thursday, February 19, 2015 at 11:13:08 AM UTC+1, Vincent Latombe wrote:
Remember that in groovy
if (false) {
println(Hello world)
}
I didn't realize that my Boolean Parameter was actually a variable of
type String. That now makes perfect sense, thank you!
--
You received this
Hi,
sorry, the Clearcase plugin isn't compatible with the Clearcase Remote
Client (CCRC) (I guess this is what you're calling the thin client). You
should install the thick client.
Please note that cleartool is only required on Jenkins slaves, not on the
master (that is of course, if you are
Remember that in groovy
if (false) {
println(Hello world)
}
will indeed echo Hello world
Use
if (clean.toBoolean()) {
sh echo clean
}
should work better for you.
Vincent
2015-02-19 10:05 GMT+01:00 sebastien.barthel...@gmail.com:
Hello,
I would like to add a build parameter clean
There are a variety of ways to limit what anyone that accesses Jenkins can do:
https://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Russ
Sent: Wednesday, February 18, 2015 4:55 PM
To:
Hi Timur,
I had a similar problem with cloning into another directory. If you look
into the config.xml of a job where the GitSCM is used you see something
like this:
scm class=hudson.plugins.git.GitSCM plugin=git@2.3.4
configVersion2/configVersion
userRemoteConfigs
Ben,
This is the error being received within the Jenkins log, any ideas? The
configuration in Jenkins is correct for the Jenkins URL
Thanks,
John
Feb 17, 2015 8:55:53 AM WARNING org.eclipse.jetty.util.log.JavaUtilLog warn
Error while serving
Hi,
we have a problem with maven releases and maven version plugin. In Jenkins
we want to do releases automatically upon pressing a button. To remove
snapshot dependencies we want to use the maven versions plugin. Suppose we
have two projects A (latest release 0.0.1, latest snapshot
I am new to the build-flow-plugin and have been asked to add some steps to
an existing job. While I have a shell script that does this, it was
requested that I use the build-flow-plugin instead. I am familiar with
Groovy as I use it to access information within jenkins, but the
Hi,
I am new to jenkins and taking over managing it from a colleague
I am running Jenkins 1.570 on ubuntu 12.04lts.
I removed a few projects from the pipeline which were no longer needed.
I now get the following error:
javax.servlet.ServletException:
Try updating the Build Pipeline plugin. It's very fragile when e.g. form fields
are left empty.
On 19.02.2015, at 22:51, Guruprasad Kulkarni gkulka...@gridcosystems.com
wrote:
Hi,
I am new to jenkins and taking over managing it from a colleague
I am running Jenkins 1.570 on ubuntu
Hello Users,
I have run into this weird issue on Jenkins since I have upgraded to 1.59
version.
Below is some specific information regarding Jenkins system:
Jenkins is running behind Tomcat.
Jenkins has its own url https://jenkins: .
Tomcat server configuration file is modified to add
Hi. I've searched quite a bit without an answer.
Using the new workflow plugin (Groovy CPS DSL) is it possible to retrieve
the exit code from a 'sh' call? If this were a straight bash call via
Execute shell script in a Freestyle job, I would just read $? and flow
from there. For instance,
In our environment, we are seeing intermittent 500 errors in the access log
when attempting to download artifacts from a job.
Jenkins is running on RHEL 6.6 with 4 vCPUs and 8 gigs of RAM.
I was wondering if anyone could point me in the direction of what loggers
we might be able to use to find
But isn't that a bug? Why doesn't the surrounding code cast the parameter to a
Boolean value, as certainly I would expect?
--
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
I tried that as I saw someone else suggest that, but I could not get it to
work. Then I found somewhere in the Github docs that this doesn't work,
presumably because serializing Groovy classes isn't supported. So I ended up
using a closure for the effect I was after, and that worked.
Thanks
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 it as the
e-mail content. In pre-send script I understand that I need to have a
groovy script that serves the purpose.
Can anyone help me on this?
Thanks,
No, it is how the groovy truth is defined. See
http://docs.codehaus.org/display/GROOVY/Groovy+Truth
Non-empty strings are coerced to true, even if the value is false.
Vincent
2015-02-20 6:11 GMT+01:00 Jos Backus j...@catnook.com:
But isn't that a bug? Why doesn't the surrounding code cast the
I’m thinking that this:
println “${TOOL_BRANCH}”
needs to be this:
println params[‘TOOL_BRANCH’]
what you cannot do is “Create” a new environment or parameter value inside your
build-flow and access that outside in a real post-build step.
From: jenkinsci-users@googlegroups.com
On Thu, Feb 19, 2015 at 5:17 AM, Mohamed Sathack ssat...@gmail.com wrote:
Hi John,
I am getting error as below
# sudo wget -O /etc/yum.repos.d/jenkins.repo
http://199.193.196.24/redhat/jenkins.repo
--11:14:54-- http://199.193.196.24/redhat/jenkins.repo
Connecting to 199.193.196.24:80...
Hi, as said previously this is a question for the Maven users mailing list.
I think one solution could be around using the use-latest with a version
range goal instead.
Le 19 févr. 2015 16:14, lebrame57 alexis.ol...@esigetel.fr a écrit :
Hi,
we have a problem with maven releases and maven
30 matches
Mail list logo