As per the documentation @grap is an option but it is not recommended.
You should either create a shared library or call `sh java jar...` and it
all depends on what you need.
On Mon, Dec 14, 2020 at 11:12 AM Yeikel wrote:
> How about shared libraries?
>
> https://www.jenkins.io
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 within the jar fi
In my company, we have a Jenkins instance that procures new agents
dynamically at runtime. These agents have a one hour limit but I can use as
many as I want.
For long running pipelines, is there any mechanism to serialize the status
of a job and resume it later in a different node? Or do I need t
method to make it work is tracing currently.
>
> Ursprüngliche Nachricht
> Von: Yeikel
> Datum: 09.04.20 20:21 (GMT+01:00)
> An: jenkinsci-users@googlegroups.com
> Betreff: How do you debug Jenkins pipelines?
>
> Besides running the pipeline in a Jenkins insta
Besides running the pipeline in a Jenkins instance, is there any other way
to validate Jenkins pipelines? I sometimes see myself running a long
pipeline after a refactor to see a runtime exception (like invalid methods)
I imagine that setting breakpoints is wishful thinking, but is it possible?
ggestion, how would I invoke this as I don't see a way to
> do a post build action currently?
>
> On Friday, April 3, 2020 at 11:00:17 AM UTC-4, Yeikel wrote:
>>
>> I don't know if it is best way but there is a rest API in bitbucket[1] to
>>
I don't know if it is best way but there is a rest API in bitbucket[1] to
support this activity and more.
[1]
https://community.atlassian.com/t5/Bitbucket-questions/Add-comments-to-Pull-Requests-from-API/qaq-p/81069
On Fri, Apr 3, 2020, 10:42 AM Jamie Johnson wrote:
> I am trying to setup a mul
Also...if it returns an error code back, you could also use that as well
On Thu, Apr 2, 2020, 11:45 AM kalkin powale wrote:
> Hi Shifa,
>
> I don't know if function ansiblePlaybook returns output or not. But, you
> can write the result of ansiblePlaybook in some text file.
> After completion of
Not sure if it is the "most elegant way" but I just defined a property for
the color and mutated it based on the build status using an if statement. I
also have a base message that I modify using the build status and I use the
same approach.
String color= ...
String message = ""
If(started){
color
Are you talking about building multiple languages or writing pipeline
scripts using other languages?
Building multiple languages/stacks is fine. Just add different steps.
The scripting language supported by Jenkins is groovy which is compatible
with Java code.
Other than that, as far as I know a
In Jenkins UI you can configure credentials[1] . Environment variables are
inherited from the system and can be used in your pipeline with *env[2]*
*Example : env.host*
[1]https://jenkins.io/doc/book/using/using-credentials/
[2] https://jenkins.io/doc/pipeline/tour/environment/
On Monday, Aug
Dear Jenkins Community,
I am aware that we can generate dynamic stages using groovy scripts.
Question is, can we also do this from the standard output of a script?
For example, I have a script written in Nodejs that I execute with "sh node
script.js" and that It can produce standard output to
Dear Jenkins Community.
I have a script written in NodeJS that I execute from Jenkins using the
shell. I would like to know if it possible to derive stages from its
standard output without parsing the output and generating the stages from
groovy.
I am aware that we can generate dynamic stage
13 matches
Mail list logo