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

Use Jenkins build number #19

Open
franiglesias opened this issue Aug 20, 2018 · 3 comments
Open

Use Jenkins build number #19

franiglesias opened this issue Aug 20, 2018 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@franiglesias
Copy link
Owner

franiglesias commented Aug 20, 2018

This URL pattern returns the last build number for a jenkins job. We need authenticated access to reach it.

http://{jenkins-url-job}/lastBuild/buildNumber

@franiglesias franiglesias added the question Further information is requested label Aug 20, 2018
@pkristian
Copy link
Collaborator

I do not have knowledge of jenkins and its processes, so i hope someone will drop by to answer :)

@franiglesias
Copy link
Owner Author

Same. I've been looking at this thing and found the URL to get the information, but I need more research on the auth thing.

There are also some things to consider:

  • Some configuration (via .versiontag file, env vars or something) to maintain the login data, project url, etc if needed. This config should be project based I think
  • If versiontag is going to be run as part of the Jenkins build (in that case, build version is available its env variable)

This thing is asking for a 3.x.x version 🤣

@franiglesias franiglesias changed the title Note to myself: Jenkins build number Use Jenkins build number Aug 21, 2018
@franiglesias franiglesias added enhancement New feature or request help wanted Extra attention is needed labels Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants