How would I go about adding java libraries to jenkins? I may not be
voicing what I'm trying to do very well so I'll go into a little detail.
I'd like to set up a library of beans such as one reflective of the
contents of a list of s3 files with the creation date, size and filename as
a structure.
Hmmm.. didn't look at it that way. Is it really that easy?
On Sun, Mar 10, 2019, 21:21 Jan Monterrubio
wrote:
> Like a global jar that gets added to the class path?
>
> On Sun, Mar 10, 2019 at 9:12 AM Peter Berghold
> wrote:
>
>> How would I go about adding java li
Following up on a silly question from the other day I have another silly
question. Where does Jenkins look for jar files to resolve classes and
packages?
I've started writing a Java library that I want to access from a pipeline
and Jenkins can't seem to find it in spite of it being deployed to
/us
to many resources on writing Jenkins
> plugins. Refer to
> https://jenkins.io/blog/2017/08/07/intro-to-plugin-development/ for that
> blog post.
>
> Thanks,
> Mark Waite
>
> On Tue, Mar 12, 2019 at 12:10 PM Peter Berghold
> wrote:
>
>> Following up on a s
I actually use Jenkins to perform a backup of my Git (privately hosted)
repository and ship an archive off to AWS S3.
On Tue, Mar 12, 2019 at 4:15 PM Badarch Nergui
wrote:
> For that and some other reasons I've been thinking about centralizing the
> scheduling of all of our jobs.
>
> Jenkins isn
Hi folks,
I saw mention of a "white screen of death" with some issues in the JIRA but
I'm not 100% sure this is related.
I selected a few plugins to install across the internet and when I
requested the download start I got "this page is not working" from the
browser. I use Chrome both at home an
[image: multi-jenkins.PNG]
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visi
.war file twice, maybe under
> different names?
>
> On 12/02/16 15:48, Peter Berghold wrote:
>
> [image: multi-jenkins.PNG]
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and
Has anybody figured out a way to publish content to MediaWiki from
Jenkins? I have a bunch of projects that have Markdown format
documentation that I'd like to publish to our wiki either at the end of the
steps of a build or as a post build step.
--
You received this message because you are subs
Hi there,
I'm trying to run the CPAN application cpan2rpm to run as part of a Jenkins
job. It isn't working and causes failed builds.
When I log in as the Jenkins user (tomcat in this case) and manually run
the cpan2rpm command from the command line exactly as it looks in the job
it runs fine.
Using the Rake plugin with Jenkins got me into a bit of trouble this
morning. Seems it got broken somewhere along the way issuing the following
error:
/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:319:in `to_specs':
Could not find 'rake' (>= 0) among 11 total gem(s) (Gem::LoadError)
Checked
Simple question: is there a way to make a pipeline not create those? Or at
the very least clean up after them?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
the only error I'm seeing is this:
[sendRPMS] touch: cannot touch
'/data/staging/repos/released@tmp/durable-e537873f/jenkins-log.txt
what would cause this to happen?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this gr
I am most interested in using the "WORKSPACE" value in the enviromental
values. within my pipeline.. I use it as a base to create a staging
directory from so I have a value defined such as:
def outrepo="${env.WORKSPACE}/shipping-${env.BUILD_NUMBER}"
what I am getting back from that is not what I
erent locations. And
> unless there are strong requirements for absolute pathes, better just use
> relative pathes (all steps will by default have the WORKSPACE as current
> working dir).
>
> Björn
>
>
> Am Donnerstag, 30. November 2017 21:48:15 UTC+1 schrieb Peter Berghold:
>&g
So I was playing around and tried something. Here's a class I defined:
class MyClass implements Serializable {
MyClass() {
}
def bark(){
sh 'echo WOOF!'
}
}
and so I instantiate it
def mc = new MyClass()
and I access my method
mc.bark()
and I get
hudson.remoting.ProxyExceptio
; methods you end up with class with the same name as the groovy file. Inside
> the class you can call pipeline steps and access the global variables like
> it’s a pipeline script. However I don’t think you can have anything other
> than a no-arg constructor.
>
>
>
>
>
> Rega
Yep! That's the ticket. Thannks again Daniel!
On Fri, Dec 1, 2017 at 2:06 PM Peter Berghold
wrote:
> going to give it a shot Daniel. Thank!
>
> On Fri, Dec 1, 2017 at 1:56 PM Daniel Butler
> wrote:
>
>> This is my preferred as it’s nice and explicit:
>
What would be the equivalent of this:
post {
always {
echo 'One way or another, I have finished'
deleteDir() /* clean up our workspace */
}
success {
echo 'I succeeeded!'
}
unstable {
echo 'I am unstable :/'
Kool! Thanks!
I suspected as much but now I full understand what's going on.
On Mon, Dec 4, 2017 at 1:15 AM Ramanathan Muthaiah
wrote:
> What would be the equivalent of this:
>>
>> post {
>> always {
>> echo 'One way or another, I have finished'
>> deleteDir() /*
what on earth does that message mean?
Here is the code this seems to be happening to:
class Notifications implements Serializable {
def context
def dataBlocks
def mailLists
def workspace
// emailext body: 'my email body', subject: 'email subject', to:
't...@test.dev', replyTo
What does this mean and how do I fix it?
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException:
unclassified new com.att.ncs.actions.Notifications WorkflowScript
somewhere in this:
} catch (Throwable e) {
currentBuild.result = "FAILURE"
stage('squeal like
OK:
After deciding to put this project aside and not look at it for a while I
came back to it and found out that I was being stupid. :-(
The constructor for the Notification class has two parameters not one and
in the heat of battle so to speak I forgot about the other one. Once I got
that straig
Given an input of:
/data/ci/jenkins/workspace/PeterBLaboratory/Test-unittestlibobjs-10/somesubdir/somefile.txt
I have a function:
def basename(path){
def pieces
pieces = path.split("/")
context.sh 'echo first element: ' + pieces[0]
context.sh 'echo path: ' +
Anybody know what the heck this means and how to fix it?
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException:
unclassified new com.att.ncs.entities.PerlApplication WorkflowScript
org.codehaus.groovy.runtime.GStringImpl java.lang.String
java.lang.String java.lang.String
at
Is there a text templating solution that *works* inside a Groovy pipeline?
I tried both SimpleTemplate and StreamingTemplate and both error out with
an exception somewhere in the bowels of the class. Am perhaps stuck with
using a callout to a Perl script to get this to work?
--
You received thi
I've been messing about a bit with Docker on Digital Ocean and was going to
branch next onto Docker Swarm stuff. I was wondering about deploying
Jenkins into a swarm and using a load balancer to switch between instances.
Is anybody aware of way of having multiple instances of Jenkins using the
s
Here is a tree of a very simple "library" I set up:
├── build.xml
├── manifest.mf
├── nbproject
│ ├── build-impl.xml
│ ├── genfiles.properties
│ ├── groovy-build.xml
│ ├── private
│ │ ├── config.properties
│ │ ├── private.properties
│ │ └── private.xml
│ ├── project.propertie
brary import in your pipeline? Or does your shared
> library have a load implicitly declared?
>
> https://jenkins.io/doc/book/pipeline/shared-libraries/
>
>
>
> On Tue, Oct 16, 2018 at 14:49 Peter Berghold
> wrote:
>
>> Here is a tree of a very simple
OK... seems this is somehow related to
https://issues.jenkins-ci.org/browse/JENKINS-45260
is there at least a work-around?
On Wed, Oct 17, 2018 at 10:16 AM Peter Berghold
wrote:
> Interestingly enough on a Jenkins server i manage where I have working
> shared libraries (multiple) I don
my simple shared library now works.
I'll move on to more complicated ones next. Is this a problem with the
version I was using dunno.
On Wed, Oct 17, 2018 at 2:29 PM Peter Berghold
wrote:
> OK... seems this is somehow related to
> https://issues.jenkins-ci.org/browse/JENKINS-45260
I'm trying to re-establish connectivity to an SSH slave that used to work
when I was running a much older version of Jenkins. Currently I'm using
v2.65. What I'm seeing (somewhat trimmed) in the log is the following:
[06/13/17 20:04:05] [SSH] Checking java version of java
[06/13/17 20:04:05] [SSH
includes your agents JVM.
>
>
> /James
>
>
> On Tuesday, June 13, 2017 at 9:05:40 PM UTC+1, Peter Berghold wrote:
>>
>> I'm trying to re-establish connectivity to an SSH slave that used to work
>> when I was running a much older version of Jenkins. Curren
Changing the version of Java to 1.8 did the trick. The slave is back
online.
On Wed, Jun 14, 2017 at 7:53 AM Peter Berghold
wrote:
> Okay I guess I'm going to have to investigate how to get the newer version
> of Java on Redhat. Redhat 6 at that. Thanks for the pointers.
>
&g
I migrated my Jenkins installation over to Ubuntu from RHEL and haven't
looked back. My drivers may be different than yours and my reason was I am
using Jenkins to perform CI on my Puppet environment. Part of that is
running some tests on the Puppet code before it is deployed and this works
*much
dule.
>
> Thanks again for any advice or guidance!
>
> -Jason
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Peter Berghold
> *Sent:* Tuesday, July 11, 2017 10:28 AM
> *To:* jenkinsci-users@googlegrou
I have a Python egg that I'm trying to repackage into an RPM for a custom
installation path. When the build is run manually it goes off without a
hitch.
When the build is run within Jenkins (which is my preferred method) the
build fails with a oddball Unicode error.
I know this is not a Python fo
G or ...
>
> Mark Waite
>
> On Tue, Aug 8, 2017 at 9:05 AM Peter Berghold
> wrote:
>
>> I have a Python egg that I'm trying to repackage into an RPM for a custom
>> installation path. When the build is run manually it goes off without a
>> hitch.
>>
Hi folks,
I've been considering creating Jenkins files inside all of my Puppet
modules and converting from the way I'm dealing with our Puppet code today
to using pipelines.
A thumbnail of what I'm doing today with Jenkins is every Puppet module is
"tested" within a Jenkins job which is a mix of
I've noticed some "non-deterministic behavior" in my first few pipelines
and I was wondering if there i some sort of try/catch structure I could use
to catch errors. It would sort of look like this:
try {
sh 'some_unix_command'
} catch {
send_mail('Step foo failed on some_unix_command'
Hi folks,
What I'm looking for in a new book to add to my digital bookshelf is
something that will expand my knowledge (very sketchy at the moment) of
Pipelines in Jenkins. In particular creating libraries to extend
Pipelines.
I've run into few things that I just cannot figure out by reading wha
I wonder if anybody else has had the experience that I've had. I have
several jobs running in Jenkins right now that create an RPM file and
deliver it to a repository. What I've observed is the rpmbuild command can
error out and the build still get marked successful.
Anybody else running into thi
I have Jenkins running merrily on an Ubuntu box and want to set up a slave
on an RHEL box.
Created a script on the RHEL box that essentially launches a script that in
turn launches the slave.jar. Trying to invoke it over SSH and there's
where things take a turn for the worse.
I'm getting this:
ton wrote:
> Sounds like the ssh command is failing. Maybe the password or private key
> is wrong?
>
>
> On Monday, November 14, 2016 at 10:28:20 AM UTC-6, Peter Berghold wrote:
>
> I have Jenkins running merrily on an Ubuntu box and want to set up a slave
> on an RHEL box.
>
&g
One of the tasks I've assigned to Jenkins is managing packages for release
to the test environment and to the production environment (two tasks?). I
do this by creating two file trees for the packages to live in called "qa"
and "released" with their purpose being rather intuitive. If the package
Got it working finally. Put the SSH slaves plugin on the master, added
some credentials and from there it worked great.
Thanks to all that replied to my original thread
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this
Hi folks,
Thought I'd drop a line introducing myself. I'm the sole developer for the
group I work for that is doing a Puppet infrastructure deployment. As part
of that project I'm writing Puppet modules and plan to use Jenkins to
automate testing of the modules (syntax, code coverage, etc) a
My favorite way is to use the WAR file and stick it into
${CATALINA_HOME}/webapps and let tomcat do the rest.
On Wednesday, July 15, 2015 at 4:45:50 AM UTC-4, Krishna Kumar Tiwari wrote:
>
> Hi
>
> I want to install jenkins server on my rhel 7 machine for continuous
> integration. Has anyone d
Does the connector recognize a tag for defects in Rally?
I tried DExx: which did not seem to get picked up and update the
defect.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails fro
I did Git checkin of one of my projects with the following commit message:
US496500: for task TA1117248 with status: completed; actuals: 2 hours, to
do: 1
and the build failed with this in the console output:
rally update plug-in error: could not update TaskDetails entry: JsonNull
java.
On Wed, Aug 26, 2015, 15:47 wrote:
I am trying to Automate my build machine.Once it build automatically the
war files should copy to shared server location and do the auto
deployment.I need assistance to implement this proces
s
Not much to go on htere, but my builds I've implemented in Jenki
I really don't want an anonymous user, but none-the-less it's there. I'm
in the process of re-installing Jenkins in my own personal environment and
when I enable security and save my changes Jenkins abends and complains
that
"anonymous is missing the Overall/Administer permission"
Correct me if
Why does this happen?
ava.lang.IllegalStateException:
/var/lib/tomcat7/webapps/ROOT/jobs/berghold-apps dev/builds/3 already
existed; will not overwrite with berghold-apps dev #3
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscrib
Why does this happen?
java.lang.IllegalStateException:
/usr/share/tomcat6/webapps/jenkins/jobs/DEV-dnsstat/builds/2 already
existed; will not overwite with DEV-dnsstat #2
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this
Riddle me this Batman.
Is there a way in Jenkins to set a global value that build jobs can access
in a shell?
Reason I ask is I'm about to create a build job that sets up files for
release by gathering a host of modules, staging them and then creating not
one but two tarballs for distribution.
@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Peter Berghold
> *Sent:* October-16-15 14:57
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Global environmental variables
>
>
>
> Riddle me this Batman.
>
>
>
> Is there a way in Jenkins to set
I have a rather busy build flow that invokes other builds sometimes in
parallel and other things serially. What I've been observing is thread on
the subordinate jobs dying with an error saying "Build XXX already exists"
and interestingly enough those build numbers don't show up in the build
histor
57 matches
Mail list logo