GITHUB and Code Repo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Can we use Git HUB to deploy both scoped APPs and global APPs between instances? Also, can we store files using Git HUB to store and retrieve code between different developers working on the same code?
Your response is greatly appreciated.
Thanks,
Sami
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @sami_al-chokhac ,
The short answer is yes. If you have several developers working on each their sandbox, you can ensure through IDE and source control that people can work on the same changes. Though remember, this is currently only for scoped apps and not global scoped apps - though it should come later on. Try to watch this:
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
To clarify, there are two components to Source Control in this question: Committing and managing source code, and Automated Deployment to other environments.
Committing and Managing Source Code
Can you manage source code for Scoped Apps and Global App Bundles?
Yes!
Can you store and retrieve code between different developers?
Yes, but concurrent development requires either multiple instances to be used, or developer sandboxes. This is because ServiceNow only supports one active branch at a time per instance, or per sandbox.
Can you retrieve code through Source Control from different environments?
Yes
Automated Deployment
Can GitHub trigger the install and deployment of scoped apps?
Yes! We have the CICD APIs designed to facilitate this, and there is GitHub actions for doing this available
Closing Notes
Source control integration is awesome and great to use. ServiceNow documentation includes details and considerations for doing this.
I recommend learning about Application Repository, which functions like an Artifact repository and method of deploying applications, which is a great tool for publishing your cut versions of an app to be installable in production or other environments.
I hope this helps!
Kindly,
Astrid Sapphire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi @Astrid Sapphire,
Thank you for your answer. However, you only answered me regarding the scoped apps. I also asked about the global Apps, can we use GitHUB to deploy global apps too?. I am asking because I keep hearing from the ServiceNow experts we can only use GITHUB to deploy scoped (not global) apps only.
Your response on this is greatly appreciated.
Thanks,
Sami
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @sami_al-chokhac,
Apologies, I meant to include Global App Bundles in that question. You cannot manage the entire Global app as one repository, it isn't designed to work that way.
However, you can create apps within Global, which we call Global App Bundles. Any app you create in a Studio that exists in Global is a Global App Bundle, and you can manage those through the CICD APIs as well. The API is documented here: https://www.servicenow.com/docs/csh?topicname=cicd-api.html&version=latest - For items that exist in Global where you want to interact with the App Repo namespace of that API, you would use the app sys_id instead of the Scope value, since more than one object would have the scope of 'global'.
Kindly,
Astrid Sapphire