How to use the getAllJobsSync function from bindings

Find comprehensive JavaScript bindings.getAllJobsSync code examples handpicked from public code repositorys.

60
61
62
63
64
65
66
67
68
69

if (name) {
  return ctl.getJobSync(name)
} else if (regex) {
  var results = []
  var jobs = ctl.getAllJobsSync()
  return jobs.filter(function(job) {
    return job.Label && regex.test(job.Label)
  })
} else {
fork icon0
star icon8
watch icon4

+ 3 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)