Skip to main content
0 votes
0 answers
91 views

I have a Jenkins pipeline with a critical stage that runs my custom .NET CLI performing important tasks. I want this stage to be fully atomic, meaning that if someone tries to abort the build while ...
Raj Mohammed's user avatar
0 votes
0 answers
25 views

I am Rajeswari In the groovy script i have to filter who login in Jenkins but I am able to filter the user list all in the manage/security Realm the user list So How to use it they is no direct method ...
Rajeswari S's user avatar
0 votes
1 answer
63 views

I have a main Groovy file with defined methods, and I've loaded a second Groovy script. main-script.groovy node('Node1'){ Method1() Method2() def loadedSecondScript = load('./second-...
diagramd 2020's user avatar
0 votes
1 answer
50 views

I have a main job script, pipline.groovy node('Node1'){ def script1 = load('script1.groovy') script1() //..some code def script2 = load('script2.groovy') } I load two scripts in it, script1....
diagramd 2020's user avatar
0 votes
0 answers
117 views

Trying to find out what is wrong. thinking I am missing something. context - want to update the secret in the secrets-text credential store by providing only "Credential ID". I confirm that ...
Hari Addepalli's user avatar
0 votes
1 answer
770 views

My original Jenkinsfile was something along the lines of: DATA = [ ... ] def Helper(def ver) { def cfg = DATA[ver] ... } ... But this gets warnings in the logs to the effect of: Did you ...
BCS's user avatar
  • 79.3k
0 votes
0 answers
92 views

I want to know how to use jenkins plugins to list all of ly jenkins credentails with SystemCredentialsProvider I used : def credsStore = jenkinsInstance.getExtensionList('com.cloudbees.plugins....
noopi's user avatar
  • 1
0 votes
0 answers
85 views

We are running Jenkins on a GKE cluster and have observed a strange issue with our multibranch declarative Jenkins pipeline at the beginning of the pipeline execution. 13:27:09 + git config --global -...
Nishit Kumar's user avatar
0 votes
0 answers
51 views

We are using Jenkins pipelines for the CI/CD in our .NET 9 APIs, but I'm new to this, and I'm stuck regarding how to hardcode a specific credential in the casc.yml file. casc.yml (the place where my ...
Diego Perez's user avatar
  • 3,094
0 votes
0 answers
151 views

I would like to disable replay for all jobs, the matrix replay is unchecked. Yet everyone can still replay. I've removed import hudson.model.* from all of the pipelines, and it's still there and ...
Aaron D. Vail's user avatar
1 vote
1 answer
152 views

I'm working on a Jenkins pipeline and can't understand why one of my steps can't be executed on the target machines. Basically, I want to deploy my new code from github repository with Jenkins agent ...
Alex Lebedev's user avatar
1 vote
1 answer
200 views

I've below build.gradle - buildscript { repositories { maven { name 'jenkins' url 'https://repo.jenkins-ci.org/releases/' } } } plugins { id '...
user51's user avatar
  • 10.6k
0 votes
1 answer
116 views

I have programmed in C and Java and a switch statement like this: switch (option) { case 1: do A; case 2: do B; break; default: do C; break; } In those ...
Gustavo C.'s user avatar
0 votes
0 answers
106 views

I have a jenkinsfile in git branch "my-branch" that imports a class. @Library('my-branch') _ import foo.bar.info.stuff However sometimes I create copies of the branch for testing e.g my-...
Bryan Tan's user avatar
  • 362
0 votes
0 answers
38 views

I come from an OOP background and I want to define reusable steps inside of groovy classes. Inside my declarative jenkins pipeline I then just want to define objects of those classes and execute the ...
Tony Nguyen's user avatar

15 30 50 per page
1
2 3 4 5
198