Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/Backups/JenkinsBackup
[JenkinsBackup] $ /bin/sh -xe /tmp/jenkins61294473183659579.sh
+ echo Backing up Jenkins config files from /var/lib/jenkins
Backing up Jenkins config files from /var/lib/jenkins
+ cd /var/lib/jenkins
+ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   queue.xml

no changes added to commit (use "git add" and/or "git commit -a")
+ echo Finding added and changed files and committing to git
Finding added and changed files and committing to git
+ git add README.md backups caches com.cloudbees.jenkins.plugins.bitbucket.endpoints.BitbucketEndpointConfiguration.xml com.github.terma.jenkins.githubprcoveragestatus.Configuration.xml config.xml credentials-configuration.xml credentials.xml docker-slaves.xml dummy.xml fingerprints github-plugin-configuration.xml hudson.model.UpdateCenter.xml hudson.plugins.build_timeout.operations.BuildStepOperation.xml hudson.plugins.emailext.ExtendedEmailPublisher.xml hudson.plugins.git.GitSCM.xml hudson.plugins.git.GitTool.xml hudson.plugins.gradle.Gradle.xml hudson.plugins.timestamper.TimestamperConfig.xml hudson.scm.SubversionSCM.xml hudson.tasks.Ant.xml hudson.tasks.Mailer.xml hudson.tasks.Maven.xml hudson.tasks.Shell.xml hudson.triggers.SCMTrigger.xml identity.key.enc jenkins.install.InstallUtil.lastExecVersion jenkins.install.UpgradeWizard.state jenkins.model.ArtifactManagerConfiguration.xml jenkins.model.DownloadSettings.xml jenkins.model.JenkinsLocationConfiguration.xml jenkins.mvn.GlobalMavenConfig.xml jenkins.security.QueueItemAuthenticatorConfiguration.xml jenkins.security.UpdateSiteWarningsConfiguration.xml jenkins.security.apitoken.ApiTokenPropertyConfiguration.xml jenkins.telemetry.Correlator.xml jobs logs nodeMonitors.xml nodes org.codefirst.SimpleThemeDecorator.xml org.jenkins.plugins.lockableresources.LockableResourcesManager.xml org.jenkinsci.plugins.docker.commons.tools.DockerTool.xml org.jenkinsci.plugins.gitclient.JGitApacheTool.xml org.jenkinsci.plugins.gitclient.JGitTool.xml org.jenkinsci.plugins.github.GitHubPlugin.cache org.jenkinsci.plugins.github.admin.GitHubHookRegisterProblemMonitor.xml org.jenkinsci.plugins.github.pullrequest.GitHubPRTrigger.xml org.jenkinsci.plugins.github_branch_source.GitHubConfiguration.xml org.jenkinsci.plugins.github_branch_source.GitHubSCMProbe.cache org.jenkinsci.plugins.jvctg.ViolationsToGitHubConfiguration.xml org.jenkinsci.plugins.pipeline.modeldefinition.config.GlobalConfig.xml org.jenkinsci.plugins.resourcedisposer.AsyncResourceDisposer.xml org.jenkinsci.plugins.workflow.flow.FlowExecutionList.xml org.jenkinsci.plugins.workflow.flow.GlobalDefaultFlowDurabilityLevel.xml org.jenkinsci.plugins.workflow.libs.GlobalLibraries.xml plugins queue.xml queue.xml.bak scriptApproval.xml secret.key secret.key.not-so-secret secrets updates userContent users war workflow-libs workspace
The following paths are ignored by one of your .gitignore files:
caches
fingerprints
identity.key.enc
jenkins.install.InstallUtil.lastExecVersion
jenkins.install.UpgradeWizard.state
nodes
org.jenkinsci.plugins.github.GitHubPlugin.cache
org.jenkinsci.plugins.github_branch_source.GitHubSCMProbe.cache
plugins
queue.xml.bak
secret.key
secret.key.not-so-secret
secrets
updates
war
workflow-libs
workspace
Use -f if you really want to add them.
+ true
+ git commit -a -m daily backup
[master 40db252] daily backup
 1 file changed, 1 insertion(+), 1 deletion(-)
+ git push
remote: Updating references: 100% (1/1)           
remote: Updating references: 100% (1/1)        
To http://gitbucket.localdomain/git/jryland/JenkinsConfig.git
   2b707dc..40db252  master -> master
+ echo Checking status is okay
Checking status is okay
+ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
Finished: SUCCESS
