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

Build notes file path #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DylanSale
Copy link

I found that it was easier to manage the build notes as a file in my repository rather than having to go into Jenkins to write them into the Job's configuration field. This way they are version controlled and can be created in the IDE or other editor along with the code. I realise it may be possible to do this using environment variable hackery, but I couldn't get newlines to work with the EnvInject plugin, so this ended up being quicker and I think nicer.

It will look for a BUILD_NOTES file in the workspace root by default, or if a file is given it will look for that first on the file system, then inside the workspace.

… to the build notes field.

The default path is $WORKSPACE/BUILD_NOTES. It will search for the file exactly to start with and will prepend $WORSKSPACE to the given path if it is not found.
@buildhive
Copy link

Jenkins » testflight-plugin #62 SUCCESS
This pull request looks good
(what's this?)

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

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

Successfully merging this pull request may close these issues.

3 participants