Class WorkflowJob

All Implemented Interfaces:
CapybaraPortingLayer

public class WorkflowJob extends Job
  • Field Details

    • script

      public final Control script
    • sandbox

      public final Control sandbox
  • Constructor Details

    • WorkflowJob

      public WorkflowJob(com.google.inject.Injector 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.
      Overrides:
      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.
      Parameters:
      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