We create a new maven build: def rtMaven = Artifactory.newMavenBuild() Now we want to reuse this rtMaven in a different stage than the current one; like in t
I'm working on a multi-branch pipeline for a maven project. I'm trying to follow what the Jenkins docs keep referring to as the standard CI steps, Build, Test,
I'm new to Jenkins pipeline; I'm defining a declarative syntax pipeline and I don't know if I can solve my problem, because I didn't find a solution. In this e
To fetch the latest commit from branchName, we run below code: treeMapData = git(branch: branchName, credentialsId: credential, url: "${gitLabServer}/${project
With reference to this question is there a way to get the equivalent information from when using the mult-branch pipeline? Specifically - the list of commits si
I've set up multibranch pipeline to track my repo and automatically build and test for all merge requests. It works wonders, however, I noticed that Jenkins cre
I want to create a database within a pipeline script to be used by the deployed app. But first I started testing the connection. I got this problem: java.sql.S
I've got a stage in my Jenkinsfile for building from a tag matching a tag name filter: stage('Build Release from Tag') { when { tag '*R
We're currently having some trouble with the bitbucket branch source plugin used to handle a multibranch test job in one of our Jenkins instances (productive in
I am developing declarative pipeline and want to use file parameter to read its content, but its not working as expected parameters{ file(fileLocation:
I am from QA automation and pretty new to jenkins, below is my case Process: I have a jenkins job which picks up a file criticalsuite.xml (testng) and triggers
How do I skip a Jenkins stage partway through its execution? It would be like using when after some steps or in the middle of a step, once the skip condition ha
I'm using Jenkins Artifactory Plugin and I have this error: Error occured while requesting version information: connect to [myurl..:8081] failed: connection
I've been having a lot of trouble trying to get a Jenkinsfile to work. I've been trying to run this test script: #!/usr/bin/env groovy node { stage('Build
I'm tring the following at Jenkins in aim to search strings of failures in jobs. This will run on daily basis. def sd = "2020" + "${env.START_DATE}" + "0000"
I have git SCM polling set up in my Jenkins server job. I run the following commands on my local machine and they trigger a Jenkins build: git checkout dev git
everyone! Sorry if the question is stupid, I'm just learning how to deal with Jenkins :) For the testing task I'm doing I need to start server, start Tomcat, th
I want to get child job logs in parent job irrespective of if child job passes or fails. Following code returns child jobs logs in parent job only when child jo
When you are using a free style project you can set that after 20 minutes the build is aborted if not concluded. How is this possible with a Jenkins Multi Branc