congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SCMFileSystem.child
Code IndexAdd Tabnine to your IDE (free)

How to use
child
method
in
jenkins.scm.api.SCMFileSystem

Best Java code snippets using jenkins.scm.api.SCMFileSystem.child (Showing top 5 results out of 315)

origin: jenkinsci/workflow-multibranch-plugin

String script = null;
try {
  script = fs.child(scriptPath).contentAsString();
  listener.getLogger().println("Obtained " + scriptPath + " from " + rev);
} catch (IOException | InterruptedException x) {
origin: org.jenkins-ci.plugins.workflow/workflow-multibranch

String script = null;
try {
  script = fs.child(scriptPath).contentAsString();
  listener.getLogger().println("Obtained " + scriptPath + " from " + rev);
} catch (IOException | InterruptedException x) {
origin: jenkinsci/workflow-cps-plugin

try (SCMFileSystem fs = SCMFileSystem.of(build.getParent(), scm)) {
  if (fs != null) {
    String script = fs.child(expandedScriptPath).contentAsString();
    listener.getLogger().println("Obtained " + expandedScriptPath + " from " + scm.getKey());
    Queue.Executable exec = owner.getExecutable();
origin: jenkinsci/workflow-multibranch-plugin

      if (fs != null) { // JENKINS-33273
        try {
          String text = fs.child(step.path).contentAsString();
          listener.getLogger().println("Obtained " + step.path + " from " + standaloneSCM.getKey());
          return text;
if (trustedFS != null && (!trustCheck || tipFS != null)) {
  if (trustCheck) {
    untrustedFile = tipFS.child(step.path).contentAsString();
  content = trustedFS.child(step.path).contentAsString();
  listener.getLogger().println("Obtained " + step.path + " from " + trusted);
} else {
origin: org.jenkins-ci.plugins.workflow/workflow-multibranch

      if (fs != null) { // JENKINS-33273
        try {
          String text = fs.child(step.path).contentAsString();
          listener.getLogger().println("Obtained " + step.path + " from " + standaloneSCM.getKey());
          return text;
if (trustedFS != null && (!trustCheck || tipFS != null)) {
  if (trustCheck) {
    untrustedFile = tipFS.child(step.path).contentAsString();
  content = trustedFS.child(step.path).contentAsString();
  listener.getLogger().println("Obtained " + step.path + " from " + trusted);
} else {
jenkins.scm.apiSCMFileSystemchild

Popular methods of SCMFileSystem

  • of
  • getRevision
  • getRoot
  • lastModified

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Option (scala)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now