Skip to main content
0 votes
0 answers
79 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
21 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
60 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
44 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
94 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
484 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.2k
0 votes
0 answers
78 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
60 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
44 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,054
0 votes
0 answers
56 views

I would like to get pod name in groovy, and then to use this name to launch script in this namely pod For example i get pod's name : def testVar = "Test" ...
Bilow Yuriy's user avatar
  • 1,329
0 votes
0 answers
113 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
117 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
172 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
64 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
90 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

15 30 50 per page
1
2 3 4 5
198