Questions tagged [jenkins-declarative-pipeline]

A plugin tool for Jenkins which presents a simplified and opinionated syntax on top of the Pipeline sub-systems.

483 questions
-1
votes
1 answer

How to get session data in jenkins delarative piepline

I dont want to used from CurrentBuild or CurrentUser because this return the user information that who build the job , but i wnat to get the user information that login to jenkins. for example the job X run by timer and the one user will aborted…
-1
votes
1 answer

Value returned from a script does not assigned to a variable declared in jenkins declarative pipeline stage

I am working on adding a jenkins Declarative pipeline for automation testing. In the test run stage i want to extract the failed tests from the log. i am using a groovy function for extracting the test result. this function is not a part of the…
-1
votes
2 answers

JenkinsFile | Declarative stage for multiple environment

I have a JenkinsFile declarative pipeline below is the structure- pipeline{ agent{} stages{ stage(dev_one){ steps{ } } stage(dev_two){ steps{ } } stage(test_one){ steps{ …
asur
  • 1,759
  • 7
  • 38
  • 81
1 2 3
32
33