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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for user provided Jenkinsfile path #462

Merged

Conversation

elreydetoda
Copy link
Contributor

Hello 馃檪 , thank you for making this awesome project!

I just wanted to add a small feature request for the docker container portion of this project.

I didn't necessarily want to directly mount the Jenkinsfile into the exact location /workspace/Jenkinsfile, so I was curious if adding a check for the JENKINSFILE_PATH variable could be added. That way if a user wants to specify a full path to the Jenkinsfile then they could simply pass it with a: -e JENKINSFILE_PATH='<path_to_jenkinsfile>'. This would give the flexibility of mounting a directory and then specifying the full path per that variable, while still maintaining the default nature of executing the already planned happy path a user has now.

Please let me know if there is anything, and thank you again for this amazing project 馃榿

@elreydetoda elreydetoda requested a review from a team as a code owner January 25, 2021 01:51
@oleg-nenashev oleg-nenashev merged commit 0aa9986 into jenkinsci:master Jan 26, 2021
@oleg-nenashev oleg-nenashev changed the title adding a check for user provided Jenkinsfile path Add support for user provided Jenkinsfile path Jan 26, 2021
@oleg-nenashev oleg-nenashev added the enhancement New feature or request label Jan 26, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants