Re: failed build

2020-10-26 Thread cw
Looks like this is part (or all) of the problem: Server returned HTTP response code: 401 for URL: http://ec2138-86-151.us-east-2.compute.amazonaws.com:8080/manager/text/list ... *The username and password you pro

failed build

2020-10-26 Thread Francis Maduka
hi guys please i am having issues with deployments ,please any help would be appreciated . this is my console output Started by user maduka francis Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/myauto

Possibility to include Git change logs from failed build to next success build

2020-04-02 Thread Dominic Espiritu
Hi, I just noticed on my pipeline builds when I have a failed build, the the pipeline detected git change logs from a couple of developers maybe 5 for example, and one of them can cause a failure if there were code errors checked in, when that code error is fixed, after the next successful job

jenkins docker plugin .. removing containers on failed build

2019-11-07 Thread Neil T
Is there any way to stop jenkins docker plugin removing containers when a build has failed? I can't find a config option! -- 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 a

Return runWrapper of a failed build job

2019-06-25 Thread Marco Steffan
I have a pipeline triggering multiple downstream jobs. For each of those jobs I would at least like to get the log-output. Even in case the downstream-build has failed! Master: def getBuildLog(Object runWrapper) { if (runWrapper != null) { echo "Runwrapper exists" return

Mail notification set to unstable for failed build

2019-03-25 Thread Lukas Resch
Hi, I have the following mailer settings in my post stage: post { always { step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: emailextrecipients([brokenBuildSuspects(), culprits()]), sendToIndividuals: true])

Re: How to take a backup of specific project in jenkins workspaces after successfull / failed build ?

2018-12-26 Thread Ganesh Kumbhar
Hi, I didn't get exact use case as in what do you mean by backup project really and project or few files!! Simply copying those files with your script is also fine, but you can go for archiving artifacts option, which you could open from job also! On Tuesday, December 25, 2018 at 9:22:08

Re: How to take a backup of specific project in jenkins workspaces after successfull / failed build ?

2018-12-26 Thread Poovaraj Thangamariappan
Thanks Adam for clarifying this question. Regards, Poovaraj On Tue, Dec 25, 2018 at 11:12 PM Adam von Nieda wrote: > >If you want to back up the project XML file, (assuming Linux), you > could do a script step like this. You should be able to extend this after > you get the idea. > > config

Re: How to take a backup of specific project in jenkins workspaces after successfull / failed build ?

2018-12-25 Thread Adam von Nieda
If you want to back up the project XML file, (assuming Linux), you could do a script step like this. You should be able to extend this after you get the idea. config_file="$JENKINS_HOME/jobs/$JOB_NAME/config.xml" cp $config_file $config_file.`date +'%F_%H_%M_%S’` Or something like cp $c

How to take a backup of specific project in jenkins workspaces after successfull / failed build ?

2018-12-24 Thread Poovaraj Thangamariappan
Hi, I want to take a backup of specific project in jenkins workspaces after successfull / failed every build ? Plesae let me know how to take a backup ? Regards, Poovaraj -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from th

Re: Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread Slide
rma...@gmail.com> > *Reply-To: *"jenkinsci-users@googlegroups.com" < > jenkinsci-users@googlegroups.com> > *Date: *Wednesday, February 1, 2017 at 2:21 PM > *To: *Jenkins Users > *Subject: *Jenkins email notificatiosn for failed build along with failed > scenarios

Re: Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread Indra Gunawan (ingunawa)
ificatiosn for failed build along with failed scenarios in the email body I am kind of new to jenkins can someone help me please my Groovy syntax is node { echo 'Hello World' } node { notifyFailure() /* ... existing build steps ... */ } def notifyFailure() { emailext ( subject: "

Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread siva varma Datla
I am kind of new to jenkins can someone help me please my Groovy syntax is node { echo 'Hello World' } node { notifyFailure() /* ... existing build steps ... */ } def notifyFailure() { emailext ( subject: "FAILURE: Job '${JOB_NAME} [${BUILD_NUMBER}]'", body: '''FAILURE: Job '${JOB_NAM

Re: Jenkins shows no changes between a failed build (with changes) and the successful build that follows

2016-06-15 Thread John O'Brien
I should have probably noted that we're using the JIRA Plugin for this case, where we're hoping to update each ticket in JIRA once a build succeeds. This works great when the build succeeds at first, but when it fails it doesn't show changes on the next run through. That might provide some add

Re: Jenkins shows no changes between a failed build (with changes) and the successful build that follows

2016-06-15 Thread Mark Waite
On Tuesday, June 14, 2016 at 3:16:23 PM UTC-6, John O'Brien wrote: > > I had a user of our Jenkins system pose the following problem to me: > > > -- > > 1. A new build is started with changes. > 2. Note the changes are documented in the build description on Jenkins. > 3. Build fails in this s

Jenkins shows no changes between a failed build (with changes) and the successful build that follows

2016-06-14 Thread John O'Brien
I had a user of our Jenkins system pose the following problem to me: -- 1. A new build is started with changes. 2. Note the changes are documented in the build description on Jenkins. 3. Build fails in this scenario 4. Start a new build Result: New build shows no changes. Technically it

Re: NullPointerException on failed build

2014-01-01 Thread Alessandro Ferrucci
Hi Marc, thanks for your reply. So I'm in the configuration screen of the job. When I change any attributes other than E-Mail Notification Recipients, they get persisted to the job's config.xml. Whenever I set any recipients, click Apply then Save, I open up the config.xml for the job, and the o

Re: NullPointerException on failed build

2013-12-31 Thread Marc MacIntyre
So there's your problem; not sure how that got left out of the original report. Figure out why your config isn't being saved, fix that, and try again. On Tue, Dec 31, 2013 at 11:26 AM, Alessandro Ferrucci < alessandroferru...@gmail.com> wrote: > Marc, > that's what I thought, which takes me to

Re: NullPointerException on failed build

2013-12-31 Thread Alessandro Ferrucci
Marc, that's what I thought, which takes me to a second issue. I have configured a set of recipients in the job configuration. When I click "Apply", then "Save", then go back to the job configuration, the email recipients are not saved (it's blank again). On Tue, Dec 31, 2013 at 2:19 PM, Marc

Re: NullPointerException on failed build

2013-12-31 Thread Marc MacIntyre
NPE in the tokenizer could be misconfigured email addresses, too. On Tue, Dec 31, 2013 at 11:15 AM, Alessandro Ferrucci < alessandroferru...@gmail.com> wrote: > I'm testing a build and when the build fails,it's supposed to send an > email to a list of users. > > I can see the NPE originating fro

NullPointerException on failed build

2013-12-31 Thread Alessandro Ferrucci
I'm testing a build and when the build fails,it's supposed to send an email to a list of users. I can see the NPE originating from the mail sender, and it would look like it would be because there are no recipients email addresses configured for the job, but I did configure email addresses. I'

SVN Release Manager plugin: can't rebuild a failed build?

2013-11-28 Thread Jirong Hu
.dev.bmocm.com/stuff/Tomcat/trunk since the previous build Script returned: [] Finished: SUCCESS <https://lh4.googleusercontent.com/-hGmP8Cz-KCI/UpdgyDxIMkI/Ho8/-SUR-i22Pr4/s1600/jenkins.JPG> This is NOT the behaviour I want. I want the re-run the failed build with the same condition until i

Re: Last failed build not updated

2013-10-17 Thread CLOSE Dave
ates imply that the most recent build was successful, > which it wasn't. What am I missing? Mishael Kim suggested: > probably this bug: > https://issues.jenkins-ci.org/browse/JENKINS-15156 Thanks but no. I've seen the most recent job disappear from the history list occasionally, b

Re: Last failed build not updated

2013-10-17 Thread Mishael Kim
probably this bug: https://issues.jenkins-ci.org/browse/JENKINS-15156 On Thu, Oct 17, 2013 at 9:57 AM, CLOSE Dave wrote: > I recently updated to 1.535 on Linux x86_64. A job which failed > yesterday now shows a red icon (as it should) but the "last failure" > column shows "1 mo 3 days" whereas t

Last failed build not updated

2013-10-17 Thread CLOSE Dave
I recently updated to 1.535 on Linux x86_64. A job which failed yesterday now shows a red icon (as it should) but the "last failure" column shows "1 mo 3 days" whereas the "last success" column shows "1 day 16 hr". Those dates imply that the most recent build was successful, which it wasn't. Wh

Change an 'aborted' build to a 'failed' build

2012-10-16 Thread Michael
When a build is aborted, either manually or by a timeout, then I want to change the status of the build to 'Failed'. I'm using the following code, in the Groovy post build plugin, to change an aborted build to a failed build: if ( hudson.model.Result.ABORTED == manag