Skip to content

ekstep/ekstep-content-plugin-jenkins-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ekstep-content-plugin-jenkins-common

Jenkins shared library for content plugin build and deployment

Usage

  • buildContentPlugin: Create a file named Jenkinsfile in root of your plugin project with below content
@Library('ekstep-content-plugin-jenkins-common') _

buildContentPlugin {

}
  • deployContentPlugin: Create a pipeline job in jenkins with script similar to
@Library('ekstep-content-plugin-jenkins-common') _

deployContentPlugin {
	env = 'dev'
	pluginArtifactsSourceJob = 'ekstep/org.ekstep.plugins.extractwords/master'
}

Note: deployContentPlugin is currently limited to deploying internal plugins using https://github.com/ekstep/AWS-Setup

Jenkins Server Setup

1. Shared library setup

Important: Jenkins has an issue due to which changes to shared library triggers all dependent builds with pollSCM. As a workaround "Additional Behaviours" -> "Add" -> "Polling ignores commits with certain messages" -> Set "Excluded Messages" to ".*"

2. NodeJS tool setup
  • Install jenkins plugin for nodejs
  • Manage Jenkins -> Configure Tools -> NodeJS Installations
    • Name: NodeJS 7.9.0
    • Version: NodeJS 7.9.0
    • Global NPM packages: gulp-cli bower
3. Slack Notification setup

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages