-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass param value maps back #298
base: master
Are you sure you want to change the base?
Conversation
nice catch! |
@stchar What kind of help would be needed? This is an MR with changes to fix including a unit test. |
@Willem1987 Sorry I just thought that it is an issue not a PR =)) |
@Willem1987 Looks like i'm reimplementing your work in my #311 |
@stchar I posted a comment on #311. I feel we should treat param calls inside parameters and outside the block differently. I don't want to accidentaly overwrite parameters block if i start a downstream build with the same param name. I mostly want to temporarily log the params. But we should decide what way to go i guess. |
b1fe47b
to
131cd6f
Compare
I updated this MR and i am still don't see what the paramInterceptor would be used for here. It should be captured by the ParametersDeclaration i feel. |
+1 |
Although I am in the context of a scripted pipeline I think I have a very similar desire/problem:
Questions (maybe also/especially to @nre-ableton):
|
…k for a build step. Add secret param method
131cd6f
to
3b3754f
Compare
@stchar i updated this mr to the new master. |
@nre-ableton anything i can do to get progress pr or the propertymissing? Both issues prevent me from building tests the way id like. Id be open to further work on the prs if needed. |
@nre-ableton and @sams-gleb This also links with #460 -- which I think is not the perfect way, because the logic in JenkinsPipelineUnit/src/main/groovy/com/lesfurets/jenkins/unit/BasePipelineTest.groovy Line 28 in e33365a
withCredentials([string(credentialsId: 'gitlab-api-token', variable: 'GITLAB_API_TOKEN')]) { ...
|
Given the build step:
Shows up as:
I don't see the use for the
paramInterceptor
outside theParametersDeclaration
. I would like to see the params a build is called with in the call stack.UPD: Updated formatting.