Re: Groovy Script to find the Cause of the Build Failure

2018-10-03 Thread pbasanta2002
Here is the actual output from the console log : *[BFA] Environment from category Environment Issue * *>>> here cause is the Environment * *Want the same cause to be updated on the build descriptor * [BFA] Scanning build for known causes... [BFA] Found failure cause(s):*[BFA] Environment

Collecting build job results using [.result] property returns null

2018-10-03 Thread treneva
I would like to collect all triggered jobs results. My script looks like this: stage('Integration Tests') { steps { script { def jobs = [:] def childJob def childJobName pipelineIntegrationJobs.each { i -> jobs["${nirvanaMajor}.${nirvanaMinor}_${i}"] = { childJob = build (job:

Re: Failure to build Jenkins from source

2018-10-03 Thread Gerry Storm
Thank you so much Mark. On Wednesday, October 3, 2018 at 12:40:02 PM UTC-7, Gerry Storm wrote: > > I followed instructions in > https://wiki.jenkins.io/display/JENKINS/Building+Jenkins to build Jenkins > on my Ubuntu box. > > The build failed with the following error: > > Adding failure due to

Re: Failure to build Jenkins from source

2018-10-03 Thread Mark Waite
Looks like you're using Apache Maven 3.5.2 while the instructions at https://github.com/jenkinsci/jenkins/blob/master/CONTRIBUTING.md say that you need at least Apache Maven 3.5.3. The failure message tells you what you'll need to do. You need to download and install Apache Maven 3.5.4 from

System.InvalidOperationException : The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

2018-10-03 Thread Gayathri Katragadda
I am using access data base engine to read data from excel data. from visual studio i am able to run all the tests without any issue. but while running from Jenkins i am getting this error message. System.Reflection.TargetInvocationException : Exception has been thrown by the target of an

Failure to build Jenkins from source

2018-10-03 Thread Gerry Storm
I followed instructions in https://wiki.jenkins.io/display/JENKINS/Building+Jenkins to build Jenkins on my Ubuntu box. The build failed with the following error: Adding failure due to exception org.apache.maven.enforcer.rule.api.EnforcerRuleException: 3.5.4+ required to use Incrementals. See

Re: Groovy Script to find the Cause of the Build Failure

2018-10-03 Thread pbasanta2002
Yes I have Different Failures .. 1. Infrastructure 2. K8S and 3. Environment .. These category of causes created by analyzing the logs through the Build Analyzer Plugin . Now the task is to update the same cause on the build descriptor so that the build metrics plugin will display the cause.

Re: Jenkins pipeline

2018-10-03 Thread Mark Waite
You might also consider the detailed Jenkins and npm tutorial at https://jenkins.io/doc/tutorials/build-a-node-js-and-react-app-with-npm/ Mark Waite On Wed, Oct 3, 2018 at 6:52 AM Jan Monterrubio wrote: > Secrets: > >

Re: Groovy Script to find the Cause of the Build Failure

2018-10-03 Thread RAJENDRA PRASAD
If you have build failure log samples for each category I can write a groovy script generate reason for the that . I don't know whether there are some.plugins already exist to analyse and categorise build failure cases. Thanks, Rajendra On Wed 3 Oct, 2018, 7:01 PM , wrote: > Hi All, > > Need

Groovy Script to find the Cause of the Build Failure

2018-10-03 Thread pbasanta2002
Hi All, Need a groovy Postbuild script to find the cause of each Failure .. I am using Build Failure analyzing toll to categorize the build failure and need to update the build descriptor with the Cause of the failure. Regards, Basanta -- You received this message because you are subscribed

Re: Jenkins pipeline

2018-10-03 Thread Jan Monterrubio
Secrets: https://support.cloudbees.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs?mobile_site=true I believe they’d be environment variables. Compiling: if you’re using maven just run mvn clean package or you could have mvn deploy push the artifact to some repository

NPM run on Jenkins

2018-10-03 Thread robert . rajendra
Hi Team, For the laravel project, we require npm. As of now we are using NodeJS plugin under Jenkins for running the npm but whenever build is running it is taking long time to produce code into destination server and it is also consuming resources of Jenkins server. Can you please help me on

How to stop or kill process startup in previous build (ci/cd )

2018-10-03 Thread Nalakajayaruwan Kulasekara
Hi , I used pipeline job to deployment software product . it consist with database startup , web service startup, ext. I used "SET JENKINS_NODE_COOKIE=dont_kill_me" command to run process even if pipeline build complete. so i need to stop or kill those process and start in next build,

error at deploy war file in GlassFish server.

2018-10-03 Thread bimal
Hi, I have two problem here 1) There is no options for using GlassFish 4.x in post-build action->deploy ear/war to a container->Add container. is there any plugin to add GlassFish 4.x. 2) I am trying to deploy a war file at GlassFish (3.x) server. After configure, when i

Jenkins pipeline

2018-10-03 Thread robert . rajendra
# i don't know much about Jenkins pipeline but this is my first time and here is what I did //** pipeline to get the code from git branches and deploy to the staging or production server **// node { def mvnHome stage('Preparation') { // for display purposes // Get some code from a