I finally used Packer to build an AMI based on Amazon Linux 2 to act as as
agent. Yesterday, the builds began failing with a Java stack trace.
Turns out the EC2 instance starts, and in parallel the Jenkins agent begins
and an auto-upgrade of openjdk kicked off. Further instructions failed.
Rebuild
. Solves our issue. Ticket if anyone is interested:
https://issues.jenkins-ci.org/browse/JENKINS-59180
On Thu, 29 Aug 2019 at 10:17, James Green wrote:
> I finally used Packer to build an AMI based on Amazon Linux 2 to act as as
> agent. Yesterday, the builds began failing with a Java stack
r to
> perform an upgrade. From what I see in the code (
> https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java#L184)
> it should wait for the upgrade to be finished.
>
> Hope this helps
>
> Cheers
>
> On Tuesday, Se
Hi,
I'm aware that a recent ec2-plugin upgrade has led us to switch to the
"recommended" ssh handshake protocol.
However, my team are now complaining that new EC2 instances are taking
minutes to get started whereas before a couple of weeks ago it was
bearable. Subsequent builds by the same agent
I've got a Windows 8 Pro machine connected to our Jenkins 1.562 instance as
a slave. The slave runs as a windows service.
I have set MAVEN_OPTS as a system property variable. If I open an
administrative cmd prompt and type 'set' included is the following:
MAVEN_OPTS=-Xms1024m -Xmx1024m -XX:NewSiz
We are distributing Windows software via a web site that includes an
automatic updates feature. Both the Windows software and the web site are
built using Maven and Jenkins.
At present the web site (a WAR) uses Maven to depend-on a Maven version of
the Windows software (an exe). Each "customer" re
n the same
commands myself. Some help on this would be appreciated.
Thanks,
James
On 8 May 2014 13:43, wrote:
> There are memory issues in 1.560/1.561/1.562 – see
> https://issues.jenkins-ci.org/browse/JENKINS-22734
>
>
>
> *From:* James Green [mailto:james.mk.gr...@gmail.c
to MAVEN_OPTS. This resolved the issue for me.
On 19 May 2014 16:05, James Green wrote:
> Right - server is now 1.563 and I restarted the Jenkins service. I still
> get PermGen errors.
>
> Time to file a bug..?
>
> Build output includes:
>
> Parsing POMs
> Modules ch
I'm looking at https://wiki.jenkins-ci.org/display/JENKINS/Plugins
I can lots of plugins across various categories.
I don't necessarily know what I want or under which category it might
exist. Would it be possible to create a page listing plugins by their
downloads count? Most commonly used ones
ugins by popularity, optionally only
> those with 500+ or 1000+ installations, in graph format:
>
> http://stats.jenkins-ci.org/jenkins-stats/svg/svgs.html
>
> On 02.06.2014, at 11:21, James Green wrote:
>
> > I'm looking at https://wiki.jenkins-ci.org/display/JENKINS/
I'd really like to keep build history of releases but maintain only a
limited set of snapshot history.
Is there a way to do this?
Thanks,
James
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving
a an API call to jenkins as part of the build.
>
>
>
> /James
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *James Green
> *Sent:* 15 August 2014 09:20
> *To:* jenkinsci-users@googlegroups.com
> *Subjec
;
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *James Green
> *Sent:* Friday, August 15, 2014 7:20 AM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Re: Discard old builds - limit to snapshots?
>
>
>
> I see a b
Nothing to do with Jenkins. Have a look for repository management tools
instead.
On 21 August 2014 22:03, Sree M wrote:
> Any Help Appreciated...
>
>
> On Thursday, August 21, 2014 1:03:55 PM UTC-4, Sree M wrote:
>>
>> Hello Users, I am new to Jenkins and I have a requirement on Jenkins and
>>
Jenkins 1.585
Maven Integration Plugin 1.7
Part of my pom uses maven-enforcer-plugin to requireEnvironmentVariable,
failing if it's not found.
I thought by providing this as a build parameter (
https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build) I would
satisfy the build. But it's no
I got the following stacktrace as my build "aborted". I manually invoked
the build again and it worked fine. Any ideas?
[INFO] All coverage checks have been met.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.refle
That's a two year-old thread. There are other issues that are similar (
https://code.google.com/p/chromedriver/issues/detail?id=928) and current.
On 28 October 2014 17:28, Tamilarasan Rajendran wrote:
> Hi, I am also facing similar issue.
>
> I am trying to execute my automation scripts in Jenki
On 29 October 2014 14:15, R. Tyler Croy wrote:
> (replies inline)
>
> On Wed, 24 Sep 2014, laura1fxj...@gmail.com wrote:
>
> >
> >
> > I?m not sure if this is the right forum for this request, but I was
> hoping
> > someone might be able to point me in the right direction?
> >
> > I was hoping so
You either know who they are, or they are anonymous. Once you know their
identity then you can set their permissions. Everyone in our company even
sales can identify themselves against our instance but they won't see
anything unless they are in at least "jenkins-users" and to make changes
they requ
My build just completed. It took around five minutes. The "Last Success"
time shows a time five minutes ago - presumably the time the build _began_.
Am I wrong in expecting the last success to be when the last successful
build _completed_?
James
--
You received this message because you are subs
When I type in a bad username/password, I get a page asking me to try again.
Any reason I have to click the link before being prompted to type it again?
Most systems these day re-prompt with any last error message.
Just trying to cut down the mouse clicks...
James
--
You received this message
With 1.598 we're seeing StackOverflowErrors on deploying to Nexus. On
downgrading to 1.597 our builds are fixed.
These issues appear relevant, worthwhile mentioning to the wider community
here:
https://issues.jenkins-ci.org/browse/JENKINS-26601
https://issues.jenkins-ci.org/browse/JENKINS-26595
My job wants to launch a Docker container. I've gone into System
Configuration and asked it to install the latest Docker CLI from docker.io
When my job runs, it fails telling me it cannot find the 'docker' binary in
the path. There appears to be no attempt to install the tool automatically.
Surel
Does this actually run on a master? I ask as the documentation describes
how it's useful on slaves, but does NOT state that it is exclusively for
slaves...
On 29 January 2016 at 11:08, James Green wrote:
> My job wants to launch a Docker container. I've gone into System
> C
We are using latest stable Jenkins and trying to push images to the Google
Container Registry which is basically a private Docker image storage
service.
I can push using their 'gcloud' command line tool no problem. But I cannot
get Jenkins to push successfully - we see authentication failures.
We
Can't immediately see a way of doing this. I've set a new `sessionTimeout`
and I'd like to confirm that Jenkins is honouring it.
Without wishing to wait a lengthy period, is there a web console page to
dump Jenkins' current configuration?
Thanks,
James
--
You received this message because you
I have a multibranch job inside a folder. It's JOB_BASE_NAME is the name of
the git branch name, not the job's base name.
I'm slightly bemused that there appears no API means of acquiring such
information, at least not from the Google Fu I have so far.
Any ideas?
James
--
You received this mes
I've just converted a Pipeline job that built every time a change was
pushed into BitBucket to the equivalent as a multibranch project.
Trouble is, pushes no longer trigger builds. BitBucket is still getting a
200 OK from the webhook when it hits Jenkins, but nothing else happens.
On inspection,
reation screen
mentioned the need for a new web hook... Oh well!
James
On 22 December 2017 at 09:27, James Green wrote:
> I've just converted a Pipeline job that built every time a change was
> pushed into BitBucket to the equivalent as a multibranch project.
>
> Trouble is,
Ref: https://jenkins.io/doc/book/pipeline/syntax/
I've just added `timestamps()` to my Jenkinsfile:
options {
buildDiscarder(logRotator(numToKeepStr: '20'))
timestamps()
}
And the build fails immedidately:
WorkflowScript: 5: Invalid option type "timestamps". Valid option
Within the "Sample Step" drop-down we have an end listing Advanced /
Deprecated plugins.
How can I tell which ones are Advanced, and which are Deprecated?
I am, in particular, very confused concerning our use of docker private
registries which I'm reading we may be using the wrong plugin for.
Th
Is this possible?
What I would like to do: examine the build and discover if there are any
docker images. If there are, delete them from the registry first.
Is this feasible?
Thanks,
James
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To
How so? I need this to run as the build gets expired but as it completes.
On Thu, 11 Oct 2018 at 17:58, Jan Monterrubio
wrote:
> As a post build script, probably.
>
> On Thu, Oct 11, 2018 at 11:35 James Green
> wrote:
>
>> Is this possible?
>>
>> What I would
On Sat, Oct 13, 2018, 07:36 Jan Monterrubio
> wrote:
>
>> Would the Post Build actions (execute shell) not execute in the right
>> spot?
>>
>>
>> https://www.oreilly.com/library/view/jenkins-the-definitive/9781449311155/ch05s07.html
>>
>>
>> O
This plugin works fine downloading binaries from various web sites, but
give it a file to download from Nexus and it fails instantly with no error:
[Pipeline] step
File Download Operation:
Started downloading file from
https://repository.jboss.org/asm/1.5.3/lib/asm-attrs.jar
[Pipeline] }
[Pipelin
Is this possible?
I have just adapted a Jenkinsfile to set the job description based on some
dynamic values.
But what I would really like it to add entries into a simple map of
key=value pairs that can then be rendered on the job screen.
I think I saw something a little like this in the enterpri
I don't want to remove the entire job - having the logs of what the SCM
commit was and build output logs is really useful alongside the Jenkins
build number.
But I'm generating gigs of artifacts that I don't need. Is there a way of
discarding these within a Jenkinsfile?
Thanks,
James
--
You re
amp;r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=wv4kA7CLSuSU86ow6ZNtdXLiH2ZiLB3rvP5pGf65fww&s=A_awz9VnJjxt4_7rijVpMLyb_NAwDE_r9bzK5AljQfc&e=>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@
> googlegroups.com ] *On Behalf Of *James
> Green
> *Subject:* Discard old
Got the latest LTS version of Jenkins with current jenkins-jira-plugin and
a JIRA 6.4 installation.
I can log in to JIRA without issue and in the configuration I can see that
the Remote API is indeed switched on.
When I do a wget from our Jenkins box against JIRA I get told I'm not
authenticated
1 (latest pre-2.0) could resolve this problem
> http://updates.jenkins-ci.org/download/plugins/jira/
> <http://updates.jenkins-ci.org/download/plugins/jira/1.41/jira.hpi>, but
> I'd suggest upgrading Jira to 7.0 if possible to use the latest version of
> the plugin.
>
>
We tried migrating a Jenkins instance from one server to another by simply
rsync'ing /var/lib/jenkins.
This successfully produced a new server full of jobs. But on running one of
them we were told to enter SVN credentials for the repository. This is
strange given we have this on a global basis (co
I hate to +1 but I'm falling into agreement here. The writing of scripts is
largely dependant on api knowledge which most people expect their IDE to
auto-complete for them.
Without the Jenkins artefacts in central, this impedes community
development.
On 5 March 2015 at 11:25, Sverre Moe wrote:
Do it with a test jenkins instance. Pure speculation otherwise.
On 9 March 2015 at 16:13, Mike Chmielewski
wrote:
> Hi everyone,
>
> I was wondering if anyone has experiences they are willing to share about
> moving the user DB from the built-in Jenkins DB to an outside one like LDAP
> or Google
Going off topic rather...
I just spoke out loud in our office the fragment "develop in test, test in
staging, and run in production". Consensus here is that as an industry we
have the names wrong. After all, non technical bosses expect testing before
"going live", they have no idea what "staging"
Isn't this what the job-dsl-plugin was designed to "fix"?
On 24 March 2015 at 16:01, Steve K wrote:
> Hello,
>
> I have a set of jobs that are identical, except for their names.
> For example, I might have a job named "Downstream-Post-Build-Process-Dev"
> and "Downstream-Post-Build-Process-Relea
The only point I'd make is you don't really want Jenkins to "know" about
your servers individually to deploy to them. Perhaps for staging purposes,
but given the elasticity in the world of production machines you probably
want to "pull" using a script on your production instances from your repo
man
This would require Jenkins and the SCM to share permissions, wouldn't it?
For Jenkins to be configured to "follow forks" it needs permission to
access any other user's repositories as they may be a fork of the
originally monitored repository?
Doesn't Bamboo do this? Or did I misread this feature?
We have a Maven job to which I have added a "Promote builds when" clause
allowing someone to pick a build and promote it.
This promotion triggers a deployment job. This deployment job appears
pretty naive. Is there any way of getting the Maven project version into
here? From my limited understandi
48 matches
Mail list logo