kandi background
Explore Kits

scm-sync-configuration-plugin | Jenkins scm-sync-configuration plugin | Configuration Management library

 by   jenkinsci Java Version: Current License: MIT

 by   jenkinsci Java Version: Current License: MIT

kandi X-RAY | scm-sync-configuration-plugin Summary

scm-sync-configuration-plugin is a Java library typically used in Devops, Configuration Management, Jenkin applications. scm-sync-configuration-plugin has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.
Jenkins SCM Sync Configuration Plugin.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • scm-sync-configuration-plugin has a low active ecosystem.
  • It has 114 star(s) with 124 fork(s). There are 131 watchers for this library.
  • It had no major release in the last 6 months.
  • There are 34 open issues and 7 have been closed. On average issues are closed in 272 days. There are 14 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of scm-sync-configuration-plugin is current.
This Library - Support
Best in #Configuration Management
Average in #Configuration Management
This Library - Support
Best in #Configuration Management
Average in #Configuration Management

quality kandi Quality

  • scm-sync-configuration-plugin has 0 bugs and 0 code smells.
This Library - Quality
Best in #Configuration Management
Average in #Configuration Management
This Library - Quality
Best in #Configuration Management
Average in #Configuration Management

securitySecurity

  • scm-sync-configuration-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • scm-sync-configuration-plugin code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
This Library - Security
Best in #Configuration Management
Average in #Configuration Management
This Library - Security
Best in #Configuration Management
Average in #Configuration Management

license License

  • scm-sync-configuration-plugin is licensed under the MIT License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
This Library - License
Best in #Configuration Management
Average in #Configuration Management
This Library - License
Best in #Configuration Management
Average in #Configuration Management

buildReuse

  • scm-sync-configuration-plugin releases are not available. You will need to build from source code and install.
  • Build file is available. You can build the component from source.
  • scm-sync-configuration-plugin saves you 2873 person hours of effort in developing the same functionality from scratch.
  • It has 6210 lines of code, 439 functions and 162 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
This Library - Reuse
Best in #Configuration Management
Average in #Configuration Management
This Library - Reuse
Best in #Configuration Management
Average in #Configuration Management
Top functions reviewed by kandi - BETA

kandi has reviewed scm-sync-configuration-plugin and discovered the below as its top functions. This is intended to give you an instant insight into scm-sync-configuration-plugin implemented functionality, and help decide if they suit your requirements.

  • Process changes queue .
    • Consumes a line .
      • Removes the input from git - config .
        • Executes the check in a SCM command
          • Gets a configured ScmRepository from the ScmManagerConfiguration .
            • Configures the repository .
              • Add a file to the scm repository .
                • Deserialize the scm configuration
                  • Called when an item is changed .
                    • Marshals the given object .

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      scm-sync-configuration-plugin Key Features

                      Jenkins scm-sync-configuration plugin

                      scm-sync-configuration-plugin Examples and Code Snippets

                      Community Discussions

                      Trending Discussions on scm-sync-configuration-plugin
                      • SCM Sync configuration plugin - Jenkins GIT prompt issue
                      Trending Discussions on scm-sync-configuration-plugin

                      QUESTION

                      SCM Sync configuration plugin - Jenkins GIT prompt issue

                      Asked 2017-Aug-24 at 00:45

                      Jenkins version: 1.642.3

                      SCM Sync Configuration Plugin version: 0.0.10

                      I created a private repository for storing Jenkins job's configuration (which is the git url that I'll use in Jenkins's Global configuration page while configuring this plugin). As I created a private repo (which is not open to anyone), I had to add any collaborators (jenkins service user which is running Jenkins master process on the Jenkins master server). If in your case, it's different, look for user name user.name under Manage Jenkins > System Information for the user which is running Jenkins process otherwise, you'll get an error that OS user doesn't have access to the repository or permission denied (Public Key). One other solution is to generate ssh key (ssh-keygen -t rsa and once the Key files are generated, putting the .pub public key in your Github user's SSH settings section: https://git.instance.yourcomany.com/settings/ssh).

                      One Important Note: While configuring the logger, if you accidentally pick hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin as it shows up in the list of available options (vs using the correct value which is hudson.plugins.scm_sync_configuration) then logger will NOT log anything. enter image description here The above setting will make this plugin not log anything in the logger, so make sure you set the logger to the correct value.

                      AFTER this, everything is looking good so far in Jenkins main Global configuration page for configuring this plugin (no errors there) and at the right bottom of Jenkins home page, I can see "SCM Sync status : Last operation @ Tue Jul 25 11:55:43 PDT 2017"

                      I created a dummy job (and did echo something && sleep 60 in the build step) and tried to make few changes to this build step for changing the sleep time to some random values.

                      My expection was I should have been prompted for making any changes to the Jenkins job and that Jenkins job should be checked-in in the given GIT repo (as now the pub key for jenkins user is all set). PS: I'm succesfully able to clone from this repo in another test jenkins job (running on master node) + I'm also able to successfully git clone + git push to this repo from Jenkins master server (just added README.md myself as jenkins user). In the logger's log, I can see:

                      Jul 25, 2017 11:53:37 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
                      Checking in SCM files ...
                      Jul 25, 2017 11:53:37 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
                      Checked in SCM files !
                      Jul 25, 2017 11:53:37 AM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
                      Commit Commit hudson.plugins.scm_sync_configuration.model.Commit@5d951ea : 
                        Author : asangal
                        Comment : asangal: Jenkins configuration files updated
                      
                      Change performed by asangal
                      
                        Changeset : 
                          A hudson.scm.SubversionSCM.xml
                          A hudson.plugins.ansicolor.AnsiColorBuildWrapper.xml
                          A hudson.plugins.git.GitTool.xml
                          A hudson.scm.CVSSCM.xml
                          A hudson.tasks.Mailer.xml
                          A hudson.plugins.gradle.Gradle.xml
                          A hudson.tasks.Ant.xml
                          A hudson.plugins.git.GitSCM.xml
                          A hudson.plugins.groovy.Groovy.xml
                          A jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml
                          A hudson.triggers.SCMTrigger.xml
                          A hudson.maven.MavenModuleSet.xml
                          A jenkins.mvn.GlobalMavenConfig.xml
                          A jenkins.model.ArtifactManagerConfiguration.xml
                          A hudson.tasks.Shell.xml
                          A scm-sync-configuration.xml
                          A hudson.plugins.copyartifact.TriggeredBuildSelector.xml
                          A config.xml
                          A hudson.tasks.Maven.xml
                          A jenkins.metrics.api.MetricsAccessKey.xml
                          A hudson.plugins.timestamper.TimestamperConfig.xml
                          A jenkins.model.JenkinsLocationConfiguration.xml
                          A hudson.plugins.build_timeout.operations.BuildStepOperation.xml
                          A hudson.plugins.mercurial.MercurialInstallation.xml
                          A hudson.plugins.emailext.ExtendedEmailPublisher.xml
                          A hudson.plugins.throttleconcurrents.ThrottleJobProperty.xml
                      
                       pushed to SCM !
                      Jul 25, 2017 12:49:48 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness queueChangeSet
                      Queuing commit Commit hudson.plugins.scm_sync_configuration.model.Commit@5511458b : 
                        Author : asangal
                        Comment : asangal: Job [dummy_job] configuration updated
                      
                      Change performed by asangal
                      
                        Changeset : 
                          A jobs/dummy_job/config.xml
                      
                       to SCM ...
                      Jul 25, 2017 12:49:48 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
                      Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@5511458b : 
                        Author : asangal
                        Comment : asangal: Job [dummy_job] configuration updated
                      
                      Change performed by asangal
                      
                        Changeset : 
                          A jobs/dummy_job/config.xml
                      
                      
                      Jul 25, 2017 12:49:48 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
                      Checking in SCM files ...
                      Jul 25, 2017 12:49:48 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
                      Checked in SCM files !
                      Jul 25, 2017 12:49:48 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
                      Commit Commit hudson.plugins.scm_sync_configuration.model.Commit@5511458b : 
                        Author : asangal
                        Comment : asangal: Job [dummy_job] configuration updated
                      
                      Change performed by asangal
                      
                        Changeset : 
                          A jobs/dummy_job/config.xml
                      
                       pushed to SCM !
                      

                      Questions:

                      1) Why I didn't get prompted when I made changes to Jenkins job?

                      2) Why I'm not seeing any commits (which the logger is showing successfully checked-in / pushed, in the log) to the my target git repo? My github repo just shows README.md file so far.

                      3) Where exactly did this plugin CHECKED-IN the files and pushed?

                      ANSWER

                      Answered 2017-Jul-26 at 03:45

                      Goto Jenkins -> Manage Jenkins -> Configure System. Under SCM Sync Configuration section look for "Never bother me with commit messages" configuration.

                      If you want Jenkins to prompt for commit messages when Job has been modified, Uncheck the option "Never bother me with commit messages".

                      Source https://stackoverflow.com/questions/45312258

                      Community Discussions, Code Snippets contain sources that include Stack Exchange Network

                      Vulnerabilities

                      No vulnerabilities reported

                      Install scm-sync-configuration-plugin

                      You can download it from GitHub.
                      You can use scm-sync-configuration-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the scm-sync-configuration-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

                      Support

                      For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

                      Find more information at:

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 650 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Clone
                      • https://github.com/jenkinsci/scm-sync-configuration-plugin.git

                      • gh repo clone jenkinsci/scm-sync-configuration-plugin

                      • git@github.com:jenkinsci/scm-sync-configuration-plugin.git

                      Share this Page

                      share link
                      Consider Popular Configuration Management Libraries
                      Try Top Libraries by jenkinsci
                      Compare Configuration Management Libraries with Highest Support
                      Compare Configuration Management Libraries with Highest Quality
                      Compare Configuration Management Libraries with Highest Security
                      Compare Configuration Management Libraries with Permissive License
                      Compare Configuration Management Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 650 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit