nt to make a little PR with the
> updated usage?
>
>
>
>
>
> *From:* jenkinsci-users@googlegroups.com
> *On Behalf Of *ST
> *Sent:* Montag, 4. Jänner 2021 22:17
> *To:* Jenkins Users
> *Subject:* Re: jiraComment pipeline step throwing
> groovy.lang.MissingMethodException
As mentioned by Mark, nodesByLabel will give you control over what agents
are currently available. But you will need a script {} section in an
initialization stage and probably set an env variable that you then check
in the when {} section of the windows stages. So not purely declarative
anymore.
() is applicable for argument
types: (java.util.LinkedHashMap) values: [[issueKey:FREF-363, body: My
super jira comment]]
On Mon, Jan 4, 2021 at 11:17 AM Arnaud bourree
wrote:
> Did you chek if you have Jira plugin installed?
>
> Arnaud
>
> Le dim. 3 janv. 2021 à 22:06, ST a écrit :
.
Thanks,
Stefan.
On Wed, 23 Dec 2020, 17:24 ST, wrote:
> I am trying to add a comment to a jira issue from my scripted pipeline
> with this command:
> jiraComment(issueKey: 'FREF-363', body: 'My super jira comment')
>
> And I'm getting the following error:
> 17:07:25 Caught ex
I am trying to add a comment to a jira issue from my scripted pipeline with
this command:
jiraComment(issueKey: 'FREF-363', body: 'My super jira comment')
And I'm getting the following error:
17:07:25 Caught exception (exception: 'groovy.lang.MissingMethodException:
No signature of method:
ing (e.g. jdbcUrlNoData() below)?
>>>
>>> withCredentials([usernamePassword(credentialsId:
>>> 'credentialsGenerateFromDb',
>>>usernameVariable: 'GEN_USR',
>>>passwordVariable: 'GEN_PASSWD')]
b.password=${GEN_PASSWD}\
clean ${mvnBuildGoal} pmd:pmd pmd:cpd\
'''
}
}
On Tue, Nov 17, 2020 at 2:06 PM 'Dirk Heinrichs' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:
> Am Dienstag, den 17.11.2020, 13:45 +0100 schrieb ST:
>
> " '-D
Since pretty recently, Jenkins prints out warnings when one inserts e.g.
credentials into the 'script' arg of the sh command, and the warnings
referring to this help page:
https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#string-interpolation
Me being curious I am trying to get rid of those
Regarding 1 and 2: I think you should model them based on whether they are
dependent on each other:
* Either the two test sets are independently of each other, meaning that
even if "Test Set 1" fails then that does not affect in any way the
stability/outcome of the "Test Set 2"
-> If so, run
exit status is 0 if a line is selected
}
}
[...]
}
}
}
On Tue, Jan 16, 2018 at 12:55 AM, Daniel Beck <m...@beckweb.net> wrote:
>
> > On 15. Jan 2018, at 23:05, ST <st.mailingli...@gmail.com> wrote:
> >
> > Any in
:624)
at java.lang.Thread.run(Thread.java:748)
On Mon, Jan 15, 2018 at 11:05 PM, ST <st.mailingli...@gmail.com> wrote:
> I am seeing a StackOverflowException in
> org.jboss.marshalling.river.RiverMarshaller in a declarative Jenkins
> pipeline. The
> interesting thing
I am seeing a StackOverflowException in
org.jboss.marshalling.river.RiverMarshaller in a declarative Jenkins
pipeline. The
interesting thing is that it occurs *only* just after having restarted
the Jenkins instance. After building it once or twice,
the next build usually works fine. Also when
t;mvn ..."
}
Best regards,
stefan.
On Fri, Aug 4, 2017 at 4:53 PM, ST <st.mailingli...@gmail.com> wrote:
> (sorry, email got sent too early, nasty default shortcuts)
>
> I have a Jenkinsfile pipeline build that uses our maven project. I also
> have configured lates
the jdk tool?
The Jenkins slave nodes are launched as "Launch slave agents via SSH", in
case that is relevant.
Environment: Latest jenkins v3.72 with latest plugins, incl. SSH Slaves
plugin v1.20.
Any ideas what could be wrong?
stefan.
On Fri, Aug 4, 2017 at 4:48 PM, ST <st.mailing
I have a Jenkinsfile pipeline build that uses our maven project. I also
have configured latest jdk8 (1.8.0_144) in the Global Tool Configuration.
When building the project on master node, the correct JDK is picked up:
*15:11:49* +
idnt help.
I've created https://issues.jenkins-ci.org/browse/JENKINS-44809
On Sun, Jun 11, 2017 at 9:45 AM, ST <st.mailingli...@gmail.com> wrote:
> Yes I upgraded some plugins and restarted jenkins a few hours before this
> happened. But after that several builds of this job went fine, s
Yes I upgraded some plugins and restarted jenkins a few hours before this
happened. But after that several builds of this job went fine, so I'm
thinking it must be something else that has triggered the SOE.
Changing the agent declaration in the pipeline script I did using the
"Replay" function,
I'm getting StackOverflowException when trying to open the folder of my
multibranch pipeline job, see below for first part of the stacktrace.
The pipeline is defined in declarative job dsl and has worked fine so far.
This SOE occurred now after I've changed in my pipeline from
pipeline {
agent
.
Hope this info is helpful to other users!
stefan.
Den 15 jan. 2017 1:15 em skrev "ST" <st.mailingli...@gmail.com>:
> Found this Jenkins bug which I guess is the cause of my problems, so added
> a comment there:
> https://issues.jenkins-ci.org/browse/JENKINS-40787
>
Found this Jenkins bug which I guess is the cause of my problems, so added
a comment there:
https://issues.jenkins-ci.org/browse/JENKINS-40787
On Sun, Jan 15, 2017 at 12:28 AM, ST <st.mailingli...@gmail.com> wrote:
> I'm trying to understand why the construct below doesnt work as
I'm trying to understand why the construct below doesnt work as I expect it
to, but have spent hours over it without success.
We use git with many branches, and a multi-branch pipeline in Jenkins to
build and test. The total build takes more than an hour, where 90% is
integration tests ((see
Hi,
Im just start using jenkins,
on the local machine(windows) am runnning casperjs and using --engine=
slimerjs eveything just fine but totally fail when using the same command
on jenkins server(linux)
anyone have this problem or just me missing something ?
--
You received this message
Hi,
Is there a way to make push event trigger the build for the associated
branch in a Jenkins multi-branch project, using GitLab 8.x Community
Edition (CE)?
The GitLab documentation about Jenkins integration
http://docs.gitlab.com/ee/integration/jenkins.html
mentions that the Jenkins GitLab
Any input on this anyone?
On Thu, Aug 18, 2016 at 11:29 AM, ST <st.mailingli...@gmail.com> wrote:
> According to Pipeline documentation [1], a node{} section in Jenkinsfile
> creates a fresh workspace and removes it when done with all contained steps.
>
> However I'm seeing
nsci-users/9vS0DpU9oeM>.
>
> It is still in beta phase, but working well so far.
>
> Cheers
> Alvaro
>
> El lunes, 15 de agosto de 2016, 18:36:30 (UTC+2), ST escribió:
>>
>> Hi!
>>
>> I am migrating our build pipeline from a set of maven-type jobs to
According to Pipeline documentation [1], a node{} section in Jenkinsfile
creates a fresh workspace and removes it when done with all contained steps.
However I'm seeing that the workspace assigned to my node{} sections in the
Jenkinsfile is not empty but already contains the project structure,
Hi!
I am migrating our build pipeline from a set of maven-type jobs to a
multi-branch project defined in a Jenkinsfile, and I am wondering how
people solve the .m2 problem ? I cannot see any way to configure every
job/branch to have its own private .m2 repo through a comfortable boolean
config
scaling concerns).
>
> Whats your use case for grouping tests by stage?
>
>
> On Thursday, July 21, 2016 at 7:24:39 AM UTC-7, ST wrote:
>>
>> Hi!
>>
>> I am migrating our java/maven build pipeline to a Jenkinsfile, so both
>> the unit tests (maven-surefi
Hi!
I am migrating our java/maven build pipeline to a Jenkinsfile, so both the
unit tests (maven-surefire-plugin) and integration tests
(maven-failsafe-plugin) will be run inside the same pipeline, but in
different stages.
How can I separate the test results for unit tests and integration tests
Hey there,
I'm looking for a jenkins plugin to enable sso authetication using
shibboleth2.
Is there such a thing? I can only find the CAS Plugin
https://wiki.jenkins-ci.org/display/JENKINS/CAS+Plugin that only goes up
to saml 1.1.
Cheers
--
View this message in context:
30 matches
Mail list logo