From 6f0ea67760383ce619aa10f93154a85d33cb5f63 Mon Sep 17 00:00:00 2001 From: Yonghee Han Date: Fri, 6 Jan 2017 17:07:17 +0900 Subject: [PATCH] JOB ADDED: update-nuget Function : update Nuget package to Nuget server Change-Id: I91f9fc70af464657c56049a83e540462f39763cb --- jobs/configuration | 7 ++++ jobs/update-nuget/config.xml | 86 ++++++++++++++++++++++++++++++++++++++++++++ packaging/jenkins-jobs.spec | 2 ++ 3 files changed, 95 insertions(+) create mode 100644 jobs/update-nuget/config.xml diff --git a/jobs/configuration b/jobs/configuration index f7660aa..388be6c 100644 --- a/jobs/configuration +++ b/jobs/configuration @@ -94,3 +94,10 @@ BUILDMONITOR_IP= BUILDMONITOR_USER= BUILDMONITOR_PASS= BUILDMONITOR_NAME= + +#### C# NUGET CONFIGURATION #### +NUGET_UPDATE_ENABLE=0 +NUGET_PROJECT= +NUGET_SOURCE= +NUGET_APIKEY= + diff --git a/jobs/update-nuget/config.xml b/jobs/update-nuget/config.xml new file mode 100644 index 0000000..49a0951 --- /dev/null +++ b/jobs/update-nuget/config.xml @@ -0,0 +1,86 @@ + + + + Push the nuget server after collect a nuget packages. this jobs must be run on Download Server + false + + + false + UNDEFINED + DISABLED + + + + 100 + + + + 7 + 1000 + -1 + -1 + + + + + + TRIGGER_INFO + + + + + + + + 30 + true + false + false + false + + false + + + #/bin/bash +export http_proxy= +python ${WORKSPACE}/jenkins-scripts/job_update_nuget.py + + + + + + + false + + 0 + false + + + + + false + + + + configuration, jenkins-scripts/job_update_nuget.py, jenkins-scripts/common/*, jenkins-scripts/scripts/nuget.exe + + false + false + false + userContent + + + + ${WORKSPACE}/configuration + false + + + + \ No newline at end of file diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index 04f22e8..eb61f83 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -114,6 +114,8 @@ fi %config %{destdir}/ref-snapshot-info-update/config.xml %dir %{destdir}/BUILD-MONITOR/ %config %{destdir}/BUILD-MONITOR/config.xml +%dir %{destdir}/update-nuget/ +%config %{destdir}/update-nuget/config.xml %files common %defattr(-,jenkins,jenkins) -- 2.7.4