Thanks - but that generates a separate block of XML, with what I want, but
it doesn't apply it to the git scm and therefore has no effect on the job.
In other words, inside the XML for git, I still see:
Default
But then outside that, in a separate block, I see:
Must be a way in Jenkinsfile to access variables set within a Shared
Library script.
I could set a return variable for execute(), not a good solutions if I want
to access more than one variable.
def build = new com.company.ci.Build()
def foo = build.execute()
Unless I can return the variables
I'm trying to upgrade our Jenkins to 2, but coming accross a problem with
git authentication. I've got Git credentials loaded and they currently
work, but when I upgrade the plugin from 1.19.6 to 2.1.0, all jobs that use
Git for SCM fail with the same error message. As soon as I downgrade the
I would prefer to clone the repo and build the container, this way I do not
have maintain my own jenkins image
Maybe Jenkins dev can allow options to run the container using user prefer
Ids?
Thanks
-Dan
On Thursday, January 5, 2017 at 3:37:54 AM UTC-8, Barry Laffoy wrote:
>
> If this is of
Julien
No, no fix, no update. Ended up retaining on physical kit. :-(
On Wednesday, August 5, 2015 at 8:51:37 PM UTC+10, Julien Verger wrote:
>
> Hello Andrew,
>
> did you hav any update since this post? I've a same problem to solve.
>
> Regards
>
--
You received this message because you are
So my flow as it stands now.
1) Do some work
2) Happy with work
3) Tag a release (v1.0.1 for example)
4) Create a docker image
5) Publish to kubernetes.
In jenkins, I've gotten 4 and 5 working very nicely in pipelines, but it'll
either work manually, or on every commit. I remember in freestyle
I'm seeing a different behavior that I think is also related to the most
recent config files provider plugin. I don't see the stack traces or
illegal state exception that you're seeing, but instead, I see a message in
the build log which says:
ERROR: your Apache Maven build is setup to use a
You need to configure in “job” block not “git” block like :
job(‘job’) {
scm {
git {
…
} //git
} //scm
configure { project ->
project / scm(class: ‘hudson.plugins.git.GitSCM’) {
gitTool ‘Ubuntu Git’
} //project
}
Thank you. I ended up using cmd to get this working.
type nul >my_params.params
> python -m venv env
> cmd /c "env\Scripts\activate.bat & echo Paths in use: & python -c "import
> sys; print('\n'.join(sys.path))" & pip install -r requirements.txt & python
> main.py & deactivate"
>
> On Tuesday,
Hi,
Hope you are doing great,
Greetings from *SAGE IT INC,*
Please find the bellow requirement, if comfortable with this requirement
please send me Updated resume to *bjam...@sageitinc.net
*
*Title: UI Developer (Medical Experience) *
*Location: Milwaukee,
I'm converting all of our Jenkins jobs to DSL scripts and I've come accross
one where we use a Git executable other than the "default" one.
I've spent two days trying to get this to work and no matter what I do it
just won't work. I need this in the config.xml which gets generated for the
job
Hi.
We tried to upgrade our jenkins instance with the newest versions of Config
File Provider Plugin (2.15.1) and Managed Scripts (1.3) last week. The
installation completed without errors, but unfortunately the files where
inaccessible for the jobs after restarting. The 'Managed files' entry
I have a set of directories/files that I am stashing during a pipeline
build that includes an empty directory. When I unstash the empty directory
isn't there. Is this expected behaviour? If so, is there a way to prevent
it skipping empty directories? This particular set of files is a third
If this is of use to anybody else, I was able to workaround this
implementation problem in the jenkinsci/docker with the following:
FROM jenkins:2.19.4
ARG user=jenkins
ARG group=jenkins
ARG olduid=1000
ARG oldgid=1000
ARG uid
ARG gid
ENV JENKINS_HOME /var/lib/jenkins
ENV
Hi
Current pipeline, this is the snippet for testng report
step([$class: 'Publisher', reportFilenamePattern:
'itests/sit/report/**/testng-results.xml'])
How do I do it for declarative pipeline?
Thanks
-Dan
--
You received this message because you are subscribed to the Google Groups
I now tried the "keepUndefinedParameters" and the WARN messages now not
appearing anymore - problem solved.
What do you suggest?
On Fri, Dec 30, 2016 at 4:28 PM Baptiste Mathus wrote:
> Hi,
>
> Did you try the global
>
Hi all,
I am running Jenkins 2.7.4 on windows machine(as windows service).
For now we are enforced to restart Jenkins every couple days, because
performance degrades,
>From memory dump I can see, that 60% of size is taken by char[] class.
There are 65000 almost identical instances:
[number
Thanks! Would it be possible to improve the framework so that an exception
would be thrown when attempting to do pipeline steps from a @NonCPS method?
(I assume other people than me have spent hours and hours of debugging
before realizing what is wrong)
On Wednesday, January 4, 2017 at 9:52:49
Hi,
this is probably what you need:
https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache
Regards,
Christoph
> From: KingTux
> To: Jenkins Users ,
> Date: 05.01.2017 00:59
> Subject: Re: Jenkins help
> Sent by:
19 matches
Mail list logo