Might be a question for developers or a bug ticket.
I've got a multibranchPipelineJob project which runs a Jenkinsfile. The job
executes as expected apart form one part.
If I select "Configure remote name" and change it to "origin1". When I do
"sh 'git remote -v'". I see as expected;
[Pipeline
On Tue, 25 Aug 2020 at 00:56, Mark Waite wrote:
>
>
>
> On Mon, Aug 24, 2020 at 5:29 PM John Patrick wrote:
>>
>> Might be a question for developers or a bug ticket.
>>
>> I've got a multibranchPipelineJob project which runs a Jenkinsfile. The job
&g
So adding sh 'printenv' I don't see any GIT_ environment variables and
in the config.xml I've got it set as;
aName
aem...@example.tld
Anything else I should check, or anything else I need to configure to
get this working?
John
On Tue, 25 Aug 2020 at 10:43, John Patric
org/browse/JENKINS-46052 for a work around using a
> shell command to define the user name and email address for the git committer.
>
> On Tue, Aug 25, 2020 at 4:22 PM John Patrick wrote:
>>
>> So adding sh 'printenv' I don't see any GIT_ environment variables and
>From the command line do;
$ netstat -an | grep 8080
That will show you what ip address as listening on the port 8080, e.g.
your jenkins instance. If it's only listening to local addresses then
it will never work remotely.
Don't have access to a jenkins at the moment, but within Jenkins
configura
work, then you might need to change your
router... you might need to setup dynamic ip routing or port
forwarding so it is expired to your isp wan ip address.
John
On Tue, 20 Oct 2020 at 18:34, John Patrick wrote:
>
> From the command line do;
> $ netstat -an | grep 8080
>
> That will
have you tried aggregatingResults
something like;
recordIssues enabledForFailure: true, aggregatingResults: true, tool: spotBugs()
John
On Tue, 9 Feb 2021 at 17:48, Ashok reddy wrote:
>
> multiple empty findbug trend graphs are creating How to hide them from
> summery?
>
>
> On Tuesday, Februa
What about using Ansible WinRM? for more info
https://docs.ansible.com/ansible/latest/user_guide/windows.html
Then Jenkins running on Linux just needs ansible installed.
John
On Thu, 18 Feb 2021 at 14:40, jyothibasu kalyanapu
wrote:
>
> Hi,
>
> if the case is jenkins hosted on linux machine & h
Personally I would switch to using maven wrapper as it have saved me
from a lot of issues like this.
But to your errors;
>From your first error, check if mvn is on the path, so I would expect
to see "/opt/maven/bin" within the PATH assuming "/opt/maven" is where
maven is installed. Doesn't matter
I would exclude /opt/jenkins/.m2/repository from any scans, as already
mentioned that is the local maven cache.
Also if you don't maintain that, it will grow and grow.
Personally I update build jobs so they each have their own maven cache
using -Dmaven.repo.local=mvn-repo then delete that after you
Hi,
Some basic questions;
- what Jenkins version?
- has it ever work for you?
- you mention 8-9 dockers per agent, is that being controlled using "Number
of executors" being set for each agent?
John
On Sun, 27 Mar 2022 at 09:30, chencho m-a wrote:
> Hi all,
>
> I have a cluster with 20 agents
So I've changed mine to 7 days, which I've done using the groovy script
that created/configures the pipeline.
e.g.
multibranchPipelineJob(...) {
..
orphanedItemStrategy {
discardOldItems {
daysToKeep(7) // how long before dead branch build is deleted
}
}
..
}
I think the defa
>From the plugin ui, everything you can disable is usually a plugin you've
installed yourself.
A few plugins I've installed can't be disabled, usually where I installed a
subsequent plugin that uses that previous plugin.
The newer plugin ui is much easier to visualise that information. So
Jenkins
Hi,
So using scripted Jenkinsfile. I've setup projects where it loads a file,
and checks out those repositories dependencies, if they have a matching
branch name then it builds them. The Jenkinsfile is used for
"multibranchPipelineJob", then other jenkins jobs for develop and release
use "pipelineJ
To be clear, are you wanting;
1) github to trigger the job to run for that PR
2) jenkins job to detect PR and run job for that PR
John
On Tue, 26 Apr 2022 at 00:34, Dan Tran wrote:
> Hi
>
> I have been searching for groovy solution to check out a GH PR to my
> Jenkins workspace, so far none o
So this might be useful to push back to the build status to the PR
https://plugins.jenkins.io/pipeline-gitstatuswrapper/
But regarding checking out, I think the standard git checkout would work,
but use the source branch url instead of the pr for that. So, something
like;
```
git branch: XXX
url:
Due to similar issues, I changed how I was doing it from a single
MultiBranch project.
I've now separate projects for each environment, also use
https://plugins.jenkins.io/cloudbees-folder to create prod and dev folders
which container the environment specific values.
Have a groovy script that crea
Try installing gitbash on the windows machine, then in global
configurations define where git is located.
I've had similar, as it's trying to access /usr/bin/git which won't exist
at that location on windows.
On Mon, 13 Feb 2023 at 18:55, Andrei Suslov wrote:
> I have two nodes: win and mac. On
Common issues I have to fix for people include;
Checking it's on the PATH, so for your example above it would be set
PATH=%PATH%;$MAVEN_BIN%
Checking it's executable
Most of my projects have moved to Maven Wrapper, and developers forgot to
check the exec bit is store in git, i.e. git update-inde
what about id_rsa.pub
I've got;
-rw---1 xx xx x id_rsa
-rw-r--r--1 xx xxxxx x id_rsa.pub
have you tried doing ssh without gerrit, to see if ssh or the gerrit
config/setup.
On Wed, 11 Oct 2023 at 05:40, praveen@gmail.com <
praveen.mulim.
20 matches
Mail list logo