Either get return code from the executing shell script or surround with
try-catch
final def returnCode = sh returnStatus: true, script: ""
if (returnCode != 0) {
}
try {
sh ""
} catch (e) {
}
tirsdag 13. september 2016 04.10.57 UTC+2 skrev R Tyler Croy følgende:
>
> (replies inline)
>
>
(replies inline)
On Mon, 12 Sep 2016, Klaus Rudolph wrote:
> Hi all,
>
> if I use gtest in pipeline setup and have a unit test which fails the groovy
> script stops.
>
> How can I tell the script that I want to continue so that I am able to see
> the results from xunit/gtest plugin?
>
> From
Moin Klaus!
Klaus Rudolph schrieb am Monday, den 12. September 2016:
> I started to migrate some jobs in jenkins to pipeline execution.
>
> Is there any chance to see the warnings graph in pipeline jobs? Within my
> older projects I can configure the graphs with "Configure the trend graph"
> o
When I inspect my Jenkins pipeline job, I always see duplicate entries in
the Changes view. It may be happening because:
i) I have polling enabled, so that the job kicks off if there are any
checkins with a time period
ii) The pipeline job checks out the code on a build node and does a build
Qu
As the title states, when i run this powershell script locally it runs just
fine, but when i try to run it through as a Jenkins job it fails and says
that the path can not be found because it does not exist, clearly the path
exists as it can be ran locally.
The code is as follows:
> $FilePath =
Not sure about docker in docker, but you can have a throw away VM slave to
build the docker image - there are a number plugins to do this.
>
> Mmmm, OK, but we need to create docker images to run the jobs based on
> what is in the repository we are fetching. Is it possible to run a
> docker
First make sure you have the latest version of the xUnit plugin installed.
Then, try looking under "step: General Build Step" and under "Build Step"
see "Process xUnit test result report".
On Monday, September 12, 2016 at 2:25:50 AM UTC-7, Klaus Rudolph wrote:
>
> Hi all,
>
> I want to gener
I started to migrate some jobs in jenkins to pipeline execution.
Is there any chance to see the warnings graph in pipeline jobs? Within my older
projects I can configure the graphs with "Configure the trend graph" option.
These option will crash in the pipeline syntax tool.
Is there any option
Hi,
How can I access the values of the parameters provided by "Maven Metadata
Plugin" in the Jenkins pipeline Groovy script?
I created a job with two parameters:
Name Type
- -
SomeStrString Parameter
SomeArtifact List maven artifact
Hi Group Members,
i need your help ,I successfully installed findbugs in my linux server but
my findbugs graph are not shown in my dashboard.
can you please help me on this .
i am install using command line my findbugs is working but i am unable to
see graph same i am also getting in PMD a
As stated above, it's the expected behavior. The workspace is used to build
with
- Jenkins/jobs/[jobname]
- Jenkins/jobs/[jobname]@script (for pipeline Jenkinsfile script
checkout)
This is kind of a scratch space. You may want to clean that folder between
build if you don't want
Hi
I have tried adding the user with all lower case but it is still showing
red stop sign.
Thanks.
On Monday, 19 May 2014 20:38:10 UTC+5:30, Ioannis Moutsatsos wrote:
>
> Thanks Steve;
>
> Although I'm running Jenkins on Windows and I'm not using LDAP for
> authentication, I think your obser
Hello,
I'm using Config File Management to create a settings.xml file with the
Oracle maven repository as a . The repository requires login so I'm
using a username, password credential and the Replace All functionality.
Unfortunately this does not work because the server requires additional
co
Hi all,
if I use gtest in pipeline setup and have a unit test which fails the groovy
script stops.
How can I tell the script that I want to continue so that I am able to see the
results from xunit/gtest plugin?
>From the gui without running Jenkinsfile there I had to write "set +e" in the
>di
I found it in the end. If "Escalate script execution status to job status"
is checked, a task added below doesn't save, and is silently deleted.
On Monday, 12 September 2016 12:55:03 UTC+3, Antony Gelberg wrote:
>
> Hi all,
>
> This is still an issue after upgrading to 2.21. Still no clues on ho
Hi all,
This is still an issue after upgrading to 2.21. Still no clues on how to
debug this?
On Wednesday, 7 September 2016 16:32:11 UTC+3, Antony Gelberg wrote:
>
> Hi all,
>
> This should be the easy stuff but for some reason it's not happening. :)
>
> I'm trying to add a Post build task to a
On Sat, 10 Sep 2016 09:57:33 -0700 (PDT)
jpd4nt wrote:
> Use slaves, not the master to run jobs.
>
> If you want chroot workspaces you could use docker slaves, run a
> container per job etc.
Mmmm, OK, but we need to create docker images to run the jobs based on
what is in the repository we are f
Hi all,
I want to generate a code snipped to use it in the jenkins pipeline
"Jenkinsfile".
But I can't find the xunit / gtest inside the
"jenkins->"MyProject"->Pipeline-Syntax->Snippet Generator.
There is a very long list which items e.g archieve, build, scm and so on. But I
can't find any xu
There has been changes in the Global Pipeline Library plugin
https://issues.jenkins-ci.org/browse/JENKINS-31155
Jenkins Configuration => Global Pipeline Libraries
Choosing "Modern SCM" the next drop down list is empty. What does this
option actually do?
Choosing "Legacy SCM" I'm able to define a
19 matches
Mail list logo