This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new caeddbc  try to backup the jenkins job configs
caeddbc is described below

commit caeddbcfac3be63ff95855f1e4469ecbdfe1a873
Author: Alex Harui <[email protected]>
AuthorDate: Sun May 3 22:00:48 2020 -0700

    try to backup the jenkins job configs
---
 backupjenkins.xml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/backupjenkins.xml b/backupjenkins.xml
new file mode 100644
index 0000000..6e3555a
--- /dev/null
+++ b/backupjenkins.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+<project name="backupjenkins" default="main">
+
+       <!--
+        copy the config.xml files for the Jenkins jobs so they can
+        be backed up somewhere
+       -->
+       
+       <target name="main" description="copy the jenkins config.xml files">
+        <delete dir="${basedir}/jenkinsjobs" failonerror="false" />
+        <mkdir dir="${basedir}/jenkinsjobs" />
+        <copy todir="${basedir}/jenkinsjobs" />
+            <fileset dir="C:\jenkins\jobs">
+                <includes name="**/config.xml" />
+            </fileset>
+        </copy>
+       </target>       
+</project>

Reply via email to