Category "jenkins"

How to use a FileParameterValue in a jenkins 2 pipeline

How can a file from the current project workspace be passed as a parameter to another project. e.g. something like: build job: 'otherproject', parameters: [[$

On Jenkins, is it possible to GET URL then push newer builds to devices under test per device?

My friends and I have 4 devices under test Example: RPI1-WiFi RPI2-Bluetooth Current have these set up running tests but would like to automatically push newer

How do I get initial admin password for jenkins on Mac?

I installed jenkins by downloading jenkins-2.2.pkg. After the installation is complete, Chrome auto-connected to http://localhost:8080/login?from=%2F and I see

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)

I am facing this issue with maven-surefire-plugin 3.0.0-M4 and Maven versions 3.6.3, 3.6.0 and 3.3.9 with jdk1.8.0_222 (Ubuntu 18.0.4). My pom.xml is as follows

Jenkins Pipeline: How to dump errors?

When trying to print errors (e.getMessage()) or dump a stack trace in my Pipeline script, I get an error saying that's not allowed. How can you output the erro

Jenkins MSBuild fails, error NETSDK1064: Package Microsoft.CodeAnalysis.Analyzers, version 2.9.3 was not found

I am trying to deploy a sample aspnet core project but Jenkins build fails. C:\Program Files\dotnet\sdk\3.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.Packa

How to define a variable in post section of pipeline?

I want to use some common value across different conditions in post section of pipeline hence I tried following - 1. post { script { def va

jenkins Role-Based Strategy - project role patterns

I am trying to provide a Role-Based Strategy project role patterns: Role to Add: sysadmin Pattern: *-stack While saving those change

Get username logged in Jenkins from Jenkins Workflow (Pipeline) Plugin

I am using the Pipeline plugin in Jenkins by Clouldbees (the name was Workflow plugin before), I am trying to get the user name in the Groovy script but I am no

BDD Serenity Jenkins consolidate multiple report into a single report

I am using Serenity BDD for my project. I have divided feature files into different functional areas and they are in turn represented as separate Jenkins jobs.

How to configure sonar.coverage.jacoco.xmlReportPaths for JaCoCo/SonarQube?

SonarQube 7.7 shows the following warning for a Java project analysis: Property 'sonar.jacoco.reportPath' is deprecated (JaCoCo binary format). 'sonar.cover

Jenkins - Error fetching remote repo 'origin'

I'm trying to setup the Jenkins Github Pull-Request Builder on a Jenkins node slave, however when I set the refspec to +refs/pull/*:refs/remotes/origin/pr/*. T

Jenkins error - Blocked script execution in <URL>. because the document's frame is sandboxed and the 'allow-scripts' permission is not set

I'm aware that if we use a iFrame in HTML we've to sandbox it & add the 'allow-scripts' permission to be true. But my problem is I don't have a iFrame at al

Required context class hudson.FilePath is missing Perhaps you forgot to surround the code with a step that provides this, such as: node

When i load another groovy file in Jenkinsfile it show me following error. "Required context class hudson.FilePath is missing Perhaps you forgot to surround th

Reuse object/property in different stages of a declerative pipeline in Jenkins

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

Run maven deploy without re-running the entire build

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,

jenkins trigger build if new tag is released

I want to configure jenkins so that it starts building if a new tag is released in any branch of an git repository. How do I configure this behaviour? Triggeri

Jenkinsfile Declarative Pipeline defining dynamic env vars

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

Error occurs in jenkins build of unity

Machine:Mac UnityVer:4.6.2 error of the following will appear when you have made a jenkins build of unity. ----- Total AssetImport time: 6.818127s, AssetImpor

Jenkinsfile - get all changes between builds

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