Skip to content
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

Persist Jenkins config between runs #628

Open
paullewisn opened this issue Jun 24, 2022 · 1 comment
Open

Persist Jenkins config between runs #628

paullewisn opened this issue Jun 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@paullewisn
Copy link

What feature do you want to see added?

I'm running jenkins via this command:

[~/jenkins/bin]$ ./jenkinsfile-runner run -f ../<path-to-jf>/Jenkinsfile.groovy -p plugins.txt --httpPort 5001 -w .

(I have the war file exploded in the bin folder)

My Jenkinsfile starts:

node('master') {
....

Which generates the error:

‘Jenkins’ doesn’t have label ‘master’

So I go into Jenkins and add the master label to the root node.

When I rerun the command, Jenkins has lost its state and I need to set the label again.

Upstream changes

No response

@paullewisn paullewisn added the enhancement New feature or request label Jun 24, 2022
@oleg-nenashev
Copy link
Member

What does block you from using the configuration-as-code YAML for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants