Goal
When Github have commit,will trigger Jenkins job to upload artifact to artifactory.
Prerequisites
Artifactory installation and running,please refer: Artifactory
Config Artifactory with Jenkins
Jenkins > Manage Jenkins > Configure System
Update Pipeline Script
Add script for uploading Artifact
1 | node { |