Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [jenkinsfile]

For questions about Jenkinsfiles which are version-controlled text files containing definitions of Jenkins Pipelines

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
128 views

Package installed using Dockerfile not available on Jenkins pipeline stage

I'm having sort of a weird problem with my Jenkins pipeline. I've defined a Dockerfile which installs some tools I need for my CI/CD pipeline, such as node, npm, sfdx, and sfpowerkit (a plugin for ...
user avatar
1 vote
2 answers
794 views

Send command to docker image while start in Jenkins file

In scripted Jenkinsfile if I need to send a command to Docker image, I can do like this: docker.image('mysql --default-authentication-plugin=mysql_native_password') How can I do the same in ...
user avatar
  • 11
1 vote
0 answers
46 views

Parallel execution of same job with different configuration- pipeline jenkinsfile script path is updated incorrect

I have a jenkins job A and i have 5 tests (each triggering job A with updation of different jenkinsfile script path as Before Each test) executing in parallel Test1 with pipeline-jenkinfile-1 Test2 ...
user avatar
  • 111
1 vote
1 answer
672 views

Using Jenkins declarative when conditions in scripted pipelines

Jenkins declarative pipelines offer very convenient when directive with conditions like changeset. Is is possible the this changeset and other when conditions in a scripted pipeline?
user avatar
  • 133
0 votes
0 answers
7 views

Sonarcube from JenkinsFile not able to get the customised pom.xml path to run sonar:sonar mvn command

I want to run the SonarCube report from my project from jenkinsfile. I am using below stage to run sonarcube report. stage('SonarQube Code QualityCheck') { steps { bat '...
user avatar
  • 101
0 votes
3 answers
50 views

Jenkins: Stagger triggering of next pipeline steps

I have a daily Jenkins trigger job that sets off a bunch of CI jobs based on a cron timer. All the daily jobs are set off by this trigger job, the daily job itself doesn't do anything. However, this ...
user avatar
  • 1
0 votes
0 answers
43 views

start downstream jenkins job at specific commit

We're using declarative pipeline files to trigger jobs inside source control. I have one pipeline for testing, and another pipeline for deploying. I know if testing passes I can use buildJob to start ...
user avatar
  • 101
0 votes
0 answers
19 views

Jenkins - How to reserve a resource for a branch in a multibranch pipeline

I have a small group of developers working on tickets from our customers. What we need is to be able to allow fast testing by the users to validate de changes done in their tickets by the developers. ...
user avatar
-1 votes
1 answer
464 views

How to get ConsoleFull Output,changeLog of upstream job along with downstream jobs console full output and changeLog in jenkins pipeline jobs!

Lets say we have Jobs A , B , C ,D and E. Job A triggers Job B ; Job B triggers Job C; Job C triggers Job D;, Job D triggers Job E; When one of the child job fails for example: Job c fails then email ...
user avatar
  • 1