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

Added Jenkinsfile #33

Merged
merged 1 commit into from
Oct 16, 2022
Merged

Added Jenkinsfile #33

merged 1 commit into from
Oct 16, 2022

Conversation

cagriefegunay
Copy link
Contributor

Summary

Please list the summary of your changes in the codebase about the related issue here. Please also include the context of your changes, and required next steps if there are any.

  • Jenkinsfile is added. (inspired by @gozeloglu 's Go test on workflows)
    • It is added in order to continue the testing process of the project on self-hosted Jenkins server in cases Github services are problematic.
    • In case of need, it will be easier to perform static code analysis with enterprise FOSS tools such as SonarQube, Snyk and their plugins via Jenkins in future.

Impact

  • New feature (backward compatible change which adds functionality)

Testing

Please describe the tests that you ran to verify your changes. Provide step-by-step instructions so anyone can also test your implementation.

Test Configuration:

  • Go version: 1.19.2
  • Operating system: Jenkins Docker Image (Debian GNU/Linux 11)
  1. Install Go plugin to Jenkins from Manage Plugins section.
  2. Set the version and label of Go plugin as '1.19.2' from Global Tool Configuration section.
  3. Create Pipeline from New Item section and set the pipeline with Pipeline Script from SCM and write the Github link of the project and the branch in the Definition. Set the Script Path as Jenkinsfile.

@ozansz ozansz linked an issue Oct 16, 2022 that may be closed by this pull request
@ozansz
Copy link
Owner

ozansz commented Oct 16, 2022

thanks for your contribution and also the detailed test explanation!

@ozansz ozansz merged commit 36cd2dc into ozansz:main Oct 16, 2022
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.

Add Jenkins integration
2 participants