Class WorkflowJob

All Implemented Interfaces:

public class WorkflowJob extends Job
  • Field Details

    • script

      public final Control script
    • sandbox

      public final Control sandbox
  • Constructor Details

    • WorkflowJob

      public WorkflowJob( injector, URL url, String name)
  • Method Details

    • copyResourceStep

      public String copyResourceStep(String filePath)
    • delete

      public void delete()
      Description copied from class: Job
      Deletes the current job.
      delete in class Job
    • setJenkinsFileRepository

      public void setJenkinsFileRepository(String gitRepositoryUrl, String credentialsKey)
      Selects the location of the Jenkinsfile to be a Git repository with the specified URL. The provided credentials key is used to connect to the Git repository.
      gitRepositoryUrl - the URL to the Git repository that contains the Jenkinsfile
      credentialsKey - the key of the credentials to be used to connect to the repository