Backslash escape is because the parser needs to know you're not trying to
"despecialize" the following character. By default \ *is* a special
character. (E.g. "\to" would mean \t, which is a tabulation, then the
letter o).
So using \ because the second \, the parser just
It's the same in Java, C A
However tempting, I would recommend not using ever more than 1-executor
agents.
Especially for heavy tasks related to development.
In $previousJob we've burned hours of engineering time to understand what
was causing random failures when the wrong jobs would run together at the
wrong time.
TL;DR
In Jenkins pipeline, one can create parameter with same name twice or
more(also with same type).
Let's say I've a String Parameter with name `Branch` and again I can create
String Parameter with same name i.e. `Branch`. It is duplicated still I can
save the pipeline.
If you access that paramet
That sounds like a configuration problem to me, as have some agents that
have 6cpus and 6 executors and some that have 3 executors. I think we can
run about 40 jobs in parallel with our setup.
On Fri, Aug 14, 2020 at 19:28 sravan wrote:
> My problem is I want to run 3 jobs at the same time. curr
My problem is I want to run 3 jobs at the same time. currently jenkins
allow you to run 2 only
On Friday, August 14, 2020 at 3:54:20 PM UTC-7 janmont...@gmail.com wrote:
> Would increase the executors to 3 not do the trick? I might be
> misunderstanding the problem.
>
> On Fri, Aug 14, 2020 a
Would increase the executors to 3 not do the trick? I might be
misunderstanding the problem.
On Fri, Aug 14, 2020 at 16:54 sravan wrote:
>
> yes as two executors on the same machine
> On Friday, August 14, 2020 at 1:16:42 PM UTC-7 janmont...@gmail.com wrote:
>
>> How are you running two jobs? is
yes as two executors on the same machine
On Friday, August 14, 2020 at 1:16:42 PM UTC-7 janmont...@gmail.com wrote:
> How are you running two jobs? is that 2 executors on the same machine?
>
> On Fri, Aug 14, 2020 at 3:11 PM sravan wrote:
>
>> Hi All,
>> I know jenkins allow to run two jobs/ th
How are you running two jobs? is that 2 executors on the same machine?
On Fri, Aug 14, 2020 at 3:11 PM sravan wrote:
> Hi All,
> I know jenkins allow to run two jobs/ threads at the same time. Is there
> way I can increase it to run three jobs at the same time?
>
> I am trying to investigate thi
Hi All,
I know jenkins allow to run two jobs/ threads at the same time. Is there
way I can increase it to run three jobs at the same time?
I am trying to investigate this and could not find any solution on this.
Any help is appreciated .
Thanks,
Sravan
--
You received this message because y
The problem I see, is that the DevOps infracstructure doesn’t stay fix in time.
It’s really depends on your need. But building into recent Jenkins an old
version seem more like a possibility to me then having to revert to an old
Jenkins to build an old version. If you have special command to bui
How do you maintain and verify backwards compatibility with older releases
if you keep your devops code in a separate repo? I keep my devops code in
the same repo as the product code so that I know I can always go back and
rebuild an older release and get exactly the same results.
The only exc
**
So you add all these repositories to your jobs and then they are run each time
one of those repositories is updated, right?
Well, I either have unit tests build every night more into scheduled build into
Jenkins pipeline options or manually for the distribution build they are done
I wrote:
> bat """
>chcp 1251
>c:\\path\\to\\program.exe
> """
The backslashes should be doubled:
c:\\path\\to\\program.exe
Sorry for the typo.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and sto
Hi Anton,
take into account that the declarative syntax (and in general Jenkins
pipelines) are just a DSL (
https://en.wikipedia.org/wiki/Domain-specific_language) heavily based on
Groovy language (http://groovy-lang.org/index.html).
So, many (really many) things you can do ... it's just Groovy l
Hello, all
>From some examples in the internet I have found that a
mulitline Windows batch script in Jenkins may be called with
this step:
bat """
chcp 1251
c:\path\to\program.exe
"""
Where is this syntax documented with regard to:
1. the backslash escapes, and
2. the triple quoatai
Many thanks for your contribution Jeremy. Definitely more than $0.02!
;-)
I am not sure how high-level my Jenkinsfiles are at the moment, but at
least we are departing frm defining the jobs in Jenkins' UI, which feels
good and a step in the right direction on which we can always improve
later.
Be
Hello Jérôme, thanks a lot for your response.
Jérôme Godbout (2020/08/11 16:00 +):
> Hi,
> this is my point of view only,but using a single script (that you put
> into your repos make it easier to perform the build, I put my pipeline
> script into a separated folder). But you need to make sure
Dear all,
We are currently in the process of setting up a Jenkins server to listen
and respond to events on our Gerrit code review system. As such, we are
using the "Gerrit-Trigger" plugin. A small problem is that those running
our Gerrit server will not give us SSH access. We therefore have t
JAVA_OPTS is being passed only to the java process running Jenkins. If you
run blindly java in the same container, it won't pick up any of the
arguments you specified unless you explicitly pass it JAVA_OPTS.
Vincent
Le jeu. 13 août 2020 à 15:38, Pantelis Karamolegkos
a écrit :
> In my jenkins
Dear Gianluca,
Many thanks for your helpful comments! I do not have a strong opinion at
the moment about what is best, but at least I understand the pros and
cons in a better way.
Best wishes,
Sébastien.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Use
20 matches
Mail list logo