private void AddJob(JenkinsMultibranchBuild item, JenkinsJob job)
 {
     item.Parent.Add(new JenkinsBuild
     {
         Name            = job.Name.Replace("%2F", "/"),
         Url             = job.Url,
         Interval        = item.Interval,
         UserName        = item.UserName,
         ApiToken        = item.ApiToken,
         IgnoreSslErrors = item.IgnoreSslErrors
     });
 }
Beispiel #2
0
 private void AddJob(JenkinsView_v1 item, JenkinsJob job)
 {
     item.Add(new JenkinsJob_v1
     {
         Name            = job.Name.Replace("%2F", "/"),
         URL             = job.URL,
         Interval        = item.Interval,
         UserName        = item.UserName,
         ApiToken        = item.ApiToken,
         IgnoreSslErrors = item.IgnoreSslErrors
     });
 }
Beispiel #3
0
        private void AddJob(JenkinsView_v1 view, JenkinsJob job)
        {
#warning IsParameterized not set
            view.Add(new JenkinsJob_v1
            {
                Name            = job.Name.Replace("%2F", "/"),
                URL             = job.URL,
                Interval        = view.Interval,
                UserName        = view.UserName,
                ApiToken        = view.ApiToken,
                CSRF            = view.CSRF,
                IgnoreSslErrors = view.IgnoreSslErrors
            });
        }
 private void UpdateJob(JenkinsBuild item, JenkinsJob job)
 {
     // TODO: not sure what to update..
 }
Beispiel #5
0
 private void UpdateJob(JenkinsJob_v1 item, JenkinsJob job)
 {
     // TODO: not sure what to update... => Update Item.State
 }