In order to utilize Continuous Integration Servers, like Jenkins, buddybuild, or CircleCI, with NowSecure Auto, users must configure a post-build step, a simple curl command, to notify our system when a build is complete.
Here is a sample post-build script:
#!/usr/bin/env bash echo -n "Submitting build to NowSecure Auto ... " curl \ -X POST \ -H "Authorization: Bearer $NS_TOKEN" \ https://lab-api.nowsecure.com/build/ --data-binary @$BUDDYBUILD_IPA_PATH if [ $? -eq 0 ]; then echo "COMPLETED" else echo "ERROR - CODE: $?" fi
To see a full demo that includes a code commit, app build, and security assessment, visit our Continuous Integration with BuddyBuild page.