jenkinsci / jenkinsfile-runner

A command line tool to run Jenkinsfile as a function
MIT License
1.13k stars 291 forks source link

Homebrew formula fails to build and install from head #558

Open henryborchers opened 2 years ago

henryborchers commented 2 years ago

I'm unable to get the homebrew formula to build from --head. Homebrew fails when I've tried.

Since there are no bottles available for the Jenkinsfile-runner, building the bottle myself from the --head is the only way I can install it. Unfortunately, there is something with the formula that is preventing the build from completing. Poking around with the logs and the formula, my guess is that it the formula doesn't correctly set my toolchain or some binary is not available. However, I'm not a Java developer and it's not a very useful guess. You probably know better what's going wrong.

Reproduction steps

brew install --HEAD jenkinsci/jenkinsfile-runner/jenkinsfile-runner --verbose

Results

hborcher@LIBLAPPRE18 ~ % brew install --HEAD jenkinsci/jenkinsfile-runner/jenkinsfile-runner --verbose
==> Cloning https://github.com/jenkinsci/jenkinsfile-runner.git
Updating /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git
git config remote.origin.url https://github.com/jenkinsci/jenkinsfile-runner.git
git config remote.origin.fetch \+refs/heads/master:refs/remotes/origin/master
git config remote.origin.tagOpt --no-tags
git fetch origin
==> Checking out branch master
git checkout -f master --
Already on 'master'
Your branch is up to date with 'origin/master'.
git reset --hard origin/master --
HEAD is now at 02e186e Merge pull request #555 from jenkinsci/dependabot/maven/io.jenkins.tools.bom-bom-2.303.x-961.vf0c9f6f59827
==> Installing jenkinsfile-runner from jenkinsci/jenkinsfile-runner
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/demo/. /private/tmp/d20211012-89083-s49oxp/demo
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/packaging/. /private/tmp/d20211012-89083-s49oxp/packaging
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/LICENSE.md /private/tmp/d20211012-89083-s49oxp/LICENSE.md
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/bootstrap/. /private/tmp/d20211012-89083-s49oxp/bootstrap
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/app/. /private/tmp/d20211012-89083-s49oxp/app
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/CONTRIBUTING.adoc /private/tmp/d20211012-89083-s49oxp/CONTRIBUTING.adoc
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/setup/. /private/tmp/d20211012-89083-s49oxp/setup
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/tests/. /private/tmp/d20211012-89083-s49oxp/tests
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/payload/. /private/tmp/d20211012-89083-s49oxp/payload
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/pom.xml /private/tmp/d20211012-89083-s49oxp/pom.xml
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/packaging-parent-resources/. /private/tmp/d20211012-89083-s49oxp/packaging-parent-resources
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/docs/. /private/tmp/d20211012-89083-s49oxp/docs
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/packaging-parent-pom/. /private/tmp/d20211012-89083-s49oxp/packaging-parent-pom
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/README.adoc /private/tmp/d20211012-89083-s49oxp/README.adoc
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/vanilla-package/. /private/tmp/d20211012-89083-s49oxp/vanilla-package
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/.dockerignore /private/tmp/d20211012-89083-s49oxp/.dockerignore
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/.gitignore /private/tmp/d20211012-89083-s49oxp/.gitignore
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/.mvn/. /private/tmp/d20211012-89083-s49oxp/.mvn
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/Formula/. /private/tmp/d20211012-89083-s49oxp/Formula
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/.github/. /private/tmp/d20211012-89083-s49oxp/.github
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/Jenkinsfile /private/tmp/d20211012-89083-s49oxp/Jenkinsfile
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/payload-dependencies/. /private/tmp/d20211012-89083-s49oxp/payload-dependencies
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/.git/. /private/tmp/d20211012-89083-s49oxp/.git
cp -pR /Users/hborcher/Library/Caches/Homebrew/jenkinsfile-runner--git/packaging-slim-parent-pom/. /private/tmp/d20211012-89083-s49oxp/packaging-slim-parent-pom
cp -pR /private/tmp/d20211012-89083-s49oxp/demo/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/demo
cp -pR /private/tmp/d20211012-89083-s49oxp/packaging/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging
cp -pR /private/tmp/d20211012-89083-s49oxp/LICENSE.md /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/LICENSE.md
cp -pR /private/tmp/d20211012-89083-s49oxp/bootstrap/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap
cp -pR /private/tmp/d20211012-89083-s49oxp/app/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/app
cp -pR /private/tmp/d20211012-89083-s49oxp/CONTRIBUTING.adoc /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/CONTRIBUTING.adoc
cp -pR /private/tmp/d20211012-89083-s49oxp/setup/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup
cp -pR /private/tmp/d20211012-89083-s49oxp/tests/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/tests
cp -pR /private/tmp/d20211012-89083-s49oxp/payload/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload
cp -pR /private/tmp/d20211012-89083-s49oxp/pom.xml /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/pom.xml
cp -pR /private/tmp/d20211012-89083-s49oxp/packaging-parent-resources/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-resources
cp -pR /private/tmp/d20211012-89083-s49oxp/docs/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/docs
cp -pR /private/tmp/d20211012-89083-s49oxp/packaging-parent-pom/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom
cp -pR /private/tmp/d20211012-89083-s49oxp/README.adoc /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/README.adoc
cp -pR /private/tmp/d20211012-89083-s49oxp/vanilla-package/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/vanilla-package
cp -pR /private/tmp/d20211012-89083-s49oxp/.dockerignore /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/.dockerignore
cp -pR /private/tmp/d20211012-89083-s49oxp/.gitignore /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/.gitignore
cp -pR /private/tmp/d20211012-89083-s49oxp/.mvn/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/.mvn
cp -pR /private/tmp/d20211012-89083-s49oxp/Formula/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/Formula
cp -pR /private/tmp/d20211012-89083-s49oxp/.github/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/.github
cp -pR /private/tmp/d20211012-89083-s49oxp/Jenkinsfile /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/Jenkinsfile
cp -pR /private/tmp/d20211012-89083-s49oxp/payload-dependencies/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies
cp -pR /private/tmp/d20211012-89083-s49oxp/.git/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/.git
cp -pR /private/tmp/d20211012-89083-s49oxp/packaging-slim-parent-pom/. /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-slim-parent-pom
chmod -Rf +w /private/tmp/d20211012-89083-s49oxp
==> mvn package
Picked up _JAVA_OPTIONS: -Duser.home=/Users/hborcher/Library/Caches/Homebrew/java_cache
[INFO] Scanning for projects...
[WARNING] The artifact xml-apis:xml-apis:jar:2.0.2 has been relocated to xml-apis:xml-apis:jar:1.0.b2
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for io.jenkins.jenkinsfile-runner:packaging-parent-pom:pom:1.0-beta-31-SNAPSHOT
[WARNING] 'profiles.profile[jfr-package-app].activation.file.missing' Failed to interpolate file location ${project.build.directory}/../parent-pom-marker.txt for profile jfr-package-app: ${project.*} expressions are not supported during profile activation @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom/pom.xml
[WARNING] 'profiles.profile[jfr-package-assembly].activation.file.missing' Failed to interpolate file location ${project.build.directory}/../parent-pom-marker.txt for profile jfr-package-assembly: ${project.*} expressions are not supported during profile activation @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom/pom.xml
[WARNING] 'profiles.profile[jfr-package-dependencies].activation.file.missing' Failed to interpolate file location ${project.build.directory}/../parent-pom-marker.txt for profile jfr-package-dependencies: ${project.*} expressions are not supported during profile activation @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom/pom.xml
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for io.jenkins.jenkinsfile-runner:vanilla-package:jar:1.0-beta-31-SNAPSHOT
[WARNING] 'profiles.profile[jfr-package-app].activation.file.missing' Failed to interpolate file location ${project.build.directory}/../parent-pom-marker.txt for profile jfr-package-app: ${project.*} expressions are not supported during profile activation @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom/pom.xml
[WARNING] 'profiles.profile[jfr-package-assembly].activation.file.missing' Failed to interpolate file location ${project.build.directory}/../parent-pom-marker.txt for profile jfr-package-assembly: ${project.*} expressions are not supported during profile activation @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom/pom.xml
[WARNING] 'profiles.profile[jfr-package-dependencies].activation.file.missing' Failed to interpolate file location ${project.build.directory}/../parent-pom-marker.txt for profile jfr-package-dependencies: ${project.*} expressions are not supported during profile activation @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/packaging-parent-pom/pom.xml
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Jenkinsfile Runner                                                 [pom]
[INFO] bootstrap                                                          [jar]
[INFO] setup                                                              [jar]
[INFO] Jenkinsfile Runner: Plugin dependencies                            [hpi]
[INFO] payload                                                            [jar]
[INFO] jenkinsfile-runner                                                 [jar]
[INFO] packaging-parent-pom-resources                                     [pom]
[INFO] packaging-parent-pom                                               [pom]
[INFO] packaging-parent-pom-slim                                          [pom]
[INFO] vanilla-package                                                    [jar]
[INFO] 
[INFO] ----------------< io.jenkins.jenkinsfile-runner:parent >----------------
[INFO] Building Jenkinsfile Runner 1.0-beta-31-SNAPSHOT                  [1/10]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (display-info) @ parent ---
[INFO] Maven Version: 3.8.3
[INFO] JDK Version: 17 normalized as: 17
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.15.7
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ parent ---
[INFO] Adding ignore: module-info
[INFO] 
[INFO] --- flatten-maven-plugin:1.2.7:flatten (flatten) @ parent ---
[INFO] Generating flattened POM of project io.jenkins.jenkinsfile-runner:parent:pom:1.0-beta-31-SNAPSHOT...
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.20:check (check) @ parent ---
[INFO] Resolved signature org.codehaus.mojo.signature:java18 version as 1.0 from dependencyManagement
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --------------< io.jenkins.jenkinsfile-runner:bootstrap >---------------
[INFO] Building bootstrap 1.0-beta-31-SNAPSHOT                           [2/10]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (display-info) @ bootstrap ---
[INFO] Maven Version: 3.8.3
[INFO] JDK Version: 17 normalized as: 17
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.15.7
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ bootstrap ---
[INFO] Adding ignore: module-info
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ bootstrap ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[INFO] 
[INFO] --- flatten-maven-plugin:1.2.7:flatten (flatten) @ bootstrap ---
[INFO] Generating flattened POM of project io.jenkins.jenkinsfile-runner:bootstrap:jar:1.0-beta-31-SNAPSHOT...
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ bootstrap ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/target/classes
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/commands/JenkinsLauncherCommand.java: /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/commands/JenkinsLauncherCommand.java uses or overrides a deprecated API.
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/commands/JenkinsLauncherCommand.java: Recompile with -Xlint:deprecation for details.
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/ClassLoaderBuilder.java: Some input files use or override a deprecated API that is marked for removal.
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/ClassLoaderBuilder.java: Recompile with -Xlint:removal for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ bootstrap ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ bootstrap ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/target/test-classes
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.20:check (check) @ bootstrap ---
[INFO] Resolved signature org.codehaus.mojo.signature:java18 version as 1.0 from dependencyManagement
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ bootstrap ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.jenkins.jenkinsfile.runner.bootstrap.BootstrapTest
Usage: jenkinsfile-runner cli [-hV] [--openWebUI] [--skipShutdown]
                              [--agentPort=<agentPort>] [--httpPath=<httpPath>]
                              [--httpPort=<httpPort>] [-jv=<version>]
                              [--libPath=<libPath>] [-m=<mirror>]
                              [-p=<pluginsDir>] [--runHome=<jenkinsHome>]
                              [-w=<warDir>] [--withInitHooks=<withInitHooks>]
Runs interactive Jenkins CLI
      --agentPort=<agentPort>
                            Port for connecting inbound Jenkins agents (over
                              JNLP or WebSockets). Disabled by default
  -h, --help                Show this help message and exit.
      --httpPath=<httpPath> Path (including leading / but no trailing /) for
                              exposing the web server and Jenkins Web UI from
                              Jenkinsfile Runner. Root path (/) by default
      --httpPort=<httpPort> Port for exposing the web server and Jenkins Web UI
                              from Jenkinsfile Runner. Disabled by default
      -jv, --jenkins-version=<version>
                            Jenkins version to use if Jenkins WAR is not
                              specified by --jenkins-war. Defaults to the
                              latest LTS
      --libPath=<libPath>   When a slim packaging is used, points to the
                              library directory which contains payload.jar and
                              setup.jar files
  -m, --mirror=<mirror>     Download mirror site of Jenkins, defaults to http:
                              //updates.jenkins.io/download. Get the mirror
                              list from http://mirrors.jenkins-ci.org/status.
                              html
      --openWebUI           Open Jenkins Web UI in the default browser,
                              '--httpPort' is expected to be defined together
                              with this option
  -p, --plugins=<pluginsDir>
                            Plugins required to run pipeline. Either a plugins.
                              txt file or a /plugins installation directory.
                              Defaults to plugins.txt
      --runHome, --jenkinsHome=<jenkinsHome>
                            Path to the empty Jenkins Home directory to use for
                              this run. If not specified a temporary directory
                              will be created. Note that the specified folder
                              will not be disposed after the run
      --skipShutdown        Forces Jenkinsfile Runner to skip the shutdown
                              logic. It reduces the instance termination time
                              but may lead to unexpected behavior in plugins
                              which release external resources on clean up
                              synchronous task queues on shutdown.
  -V, --version             Print version information and exit.
  -w, --jenkins-war=<warDir>
                            Path to exploded jenkins war directory.Depending on
                              packaging, it may contain the entire WAR or just
                              resources to be loaded by the WAR file, for
                              example Groovy hooks or extra libraries.
      --withInitHooks=<withInitHooks>
                            Path to a directory containing Groovy Init Hooks to
                              copy into init.groovy.d
Usage: jenkinsfile-runner cli [-hV] [--openWebUI] [--skipShutdown]
                              [--agentPort=<agentPort>] [--httpPath=<httpPath>]
                              [--httpPort=<httpPort>] [-jv=<version>]
                              [--libPath=<libPath>] [-m=<mirror>]
                              [-p=<pluginsDir>] [--runHome=<jenkinsHome>]
                              [-w=<warDir>] [--withInitHooks=<withInitHooks>]
Runs interactive Jenkins CLI
      --agentPort=<agentPort>
                            Port for connecting inbound Jenkins agents (over
                              JNLP or WebSockets). Disabled by default
  -h, --help                Show this help message and exit.
      --httpPath=<httpPath> Path (including leading / but no trailing /) for
                              exposing the web server and Jenkins Web UI from
                              Jenkinsfile Runner. Root path (/) by default
      --httpPort=<httpPort> Port for exposing the web server and Jenkins Web UI
                              from Jenkinsfile Runner. Disabled by default
      -jv, --jenkins-version=<version>
                            Jenkins version to use if Jenkins WAR is not
                              specified by --jenkins-war. Defaults to the
                              latest LTS
      --libPath=<libPath>   When a slim packaging is used, points to the
                              library directory which contains payload.jar and
                              setup.jar files
  -m, --mirror=<mirror>     Download mirror site of Jenkins, defaults to http:
                              //updates.jenkins.io/download. Get the mirror
                              list from http://mirrors.jenkins-ci.org/status.
                              html
      --openWebUI           Open Jenkins Web UI in the default browser,
                              '--httpPort' is expected to be defined together
                              with this option
  -p, --plugins=<pluginsDir>
                            Plugins required to run pipeline. Either a plugins.
                              txt file or a /plugins installation directory.
                              Defaults to plugins.txt
      --runHome, --jenkinsHome=<jenkinsHome>
                            Path to the empty Jenkins Home directory to use for
                              this run. If not specified a temporary directory
                              will be created. Note that the specified folder
                              will not be disposed after the run
      --skipShutdown        Forces Jenkinsfile Runner to skip the shutdown
                              logic. It reduces the instance termination time
                              but may lead to unexpected behavior in plugins
                              which release external resources on clean up
                              synchronous task queues on shutdown.
  -V, --version             Print version information and exit.
  -w, --jenkins-war=<warDir>
                            Path to exploded jenkins war directory.Depending on
                              packaging, it may contain the entire WAR or just
                              resources to be loaded by the WAR file, for
                              example Groovy hooks or extra libraries.
      --withInitHooks=<withInitHooks>
                            Path to a directory containing Groovy Init Hooks to
                              copy into init.groovy.d
1.0-beta-31-SNAPSHOT
Usage: jenkinsfile-runner [-huV] [-jte] [-ns] [--openWebUI] [--skipShutdown]
                          [--agentPort=<agentPort>] [-b=<buildNumber>]
                          [-c=<cause>] [-f=<jenkinsfile>]
                          [--httpPath=<httpPath>] [--httpPort=<httpPort>]
                          [-jv=<version>] [--libPath=<libPath>] [-m=<mirror>]
                          [-n=<jobName>] [-p=<pluginsDir>]
                          [-pc=<pipelineConfiguration>]
                          [--runHome=<jenkinsHome>]
                          [--runWorkspace=<runWorkspace>] [--scm=<scm>]
                          [-w=<warDir>] [--withInitHooks=<withInitHooks>]
                          [-a=<String=String>]... [COMMAND]
  -f, --file=<jenkinsfile>   Path to Jenkinsfile or directory containing a
                               Jenkinsfile, defaults to ./Jenkinsfile
      --runWorkspace=<runWorkspace>
                             Path to the workspace of the run to be used within
                               the node{} context. It applies to both Jenkins
                               master and agents (or side containers) if any.
                               Requires Jenkins 2.119 or above
  -n, --job-name=<jobName>   Name of the job the run belongs to
  -c, --cause=<cause>        Cause of the run
  -b, --build-number=<buildNumber>
                             Build number of the run
  -a, --arg=<String=String>  Parameters to be passed to the build. Use multiple
                               -a switches for multiple params
      -ns, --no-sandbox      Disable workflow job execution within sandbox
                               environment
  -u, --keep-undefined-parameters
                             Keep undefined parameters if set
      --scm=<scm>            YAML definition of the SCM, with optional
                               credentials, to use for the project
      -jte, --jenkins-templating-engine
                             Use the Jenkins Templating Engine for the build
      -pc, --pipeline-configuration=<pipelineConfiguration>
                             The Pipeline Configuration File when using the
                               Jenkins Templating Engine
  -w, --jenkins-war=<warDir> Path to exploded jenkins war directory.Depending
                               on packaging, it may contain the entire WAR or
                               just resources to be loaded by the WAR file, for
                               example Groovy hooks or extra libraries.
  -p, --plugins=<pluginsDir> Plugins required to run pipeline. Either a plugins.
                               txt file or a /plugins installation directory.
                               Defaults to plugins.txt
      -jv, --jenkins-version=<version>
                             Jenkins version to use if Jenkins WAR is not
                               specified by --jenkins-war. Defaults to the
                               latest LTS
  -m, --mirror=<mirror>      Download mirror site of Jenkins, defaults to http:
                               //updates.jenkins.io/download. Get the mirror
                               list from http://mirrors.jenkins-ci.org/status.
                               html
      --runHome, --jenkinsHome=<jenkinsHome>
                             Path to the empty Jenkins Home directory to use
                               for this run. If not specified a temporary
                               directory will be created. Note that the
                               specified folder will not be disposed after the
                               run
      --withInitHooks=<withInitHooks>
                             Path to a directory containing Groovy Init Hooks
                               to copy into init.groovy.d
      --skipShutdown         Forces Jenkinsfile Runner to skip the shutdown
                               logic. It reduces the instance termination time
                               but may lead to unexpected behavior in plugins
                               which release external resources on clean up
                               synchronous task queues on shutdown.
      --libPath=<libPath>    When a slim packaging is used, points to the
                               library directory which contains payload.jar and
                               setup.jar files
      --httpPort=<httpPort>  Port for exposing the web server and Jenkins Web
                               UI from Jenkinsfile Runner. Disabled by default
      --httpPath=<httpPath>  Path (including leading / but no trailing /) for
                               exposing the web server and Jenkins Web UI from
                               Jenkinsfile Runner. Root path (/) by default
      --openWebUI            Open Jenkins Web UI in the default browser,
                               '--httpPort' is expected to be defined together
                               with this option
      --agentPort=<agentPort>
                             Port for connecting inbound Jenkins agents (over
                               JNLP or WebSockets). Disabled by default
  -h, --help                 Show this help message and exit.
  -V, --version              Print version information and exit.
Commands:
  run                  Runs Jenkinsfile
  cli                  Runs interactive Jenkins CLI
  generate-completion  Generate bash/zsh completion script for
                         jenkinsfile-runner.
  version              Shows Jenkinsfile Runner version
  help                 Displays help information about the specified command
  lint                 Lints a Jenkinsfile
1.0-beta-31-SNAPSHOT
1.0-beta-31-SNAPSHOT
1.0-beta-31-SNAPSHOT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 s - in io.jenkins.jenkinsfile.runner.bootstrap.BootstrapTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ bootstrap ---
[INFO] Building jar: /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/bootstrap/target/bootstrap-1.0-beta-31-SNAPSHOT.jar
[INFO] 
[INFO] ----------------< io.jenkins.jenkinsfile-runner:setup >-----------------
[INFO] Building setup 1.0-beta-31-SNAPSHOT                               [3/10]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact xerces:xerces:jar:2.2.1 has been relocated to xerces:xercesImpl:jar:2.2.1
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (display-info) @ setup ---
[INFO] Maven Version: 3.8.3
[INFO] JDK Version: 17 normalized as: 17
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.15.7
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ setup ---
[INFO] Adding ignore: module-info
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ setup ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/main/resources
[INFO] 
[INFO] --- flatten-maven-plugin:1.2.7:flatten (flatten) @ setup ---
[INFO] Generating flattened POM of project io.jenkins.jenkinsfile-runner:setup:jar:1.0-beta-31-SNAPSHOT...
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ setup ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/target/classes
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsfileRunnerLauncher.java: Some input files use or override a deprecated API.
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsfileRunnerLauncher.java: Recompile with -Xlint:deprecation for details.
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsEmbedder.java: /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsEmbedder.java uses or overrides a deprecated API that is marked for removal.
[INFO] /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsEmbedder.java: Recompile with -Xlint:removal for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ setup ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ setup ---
[INFO] No sources to compile
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.20:check (check) @ setup ---
[INFO] Resolved signature org.codehaus.mojo.signature:java18 version as 1.0 from dependencyManagement
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ setup ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ setup ---
[INFO] Building jar: /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/setup/target/setup-1.0-beta-31-SNAPSHOT.jar
[INFO] 
[INFO] ---------< io.jenkins.jenkinsfile-runner:payload-dependencies >---------
[INFO] Building Jenkinsfile Runner: Plugin dependencies 1.0-beta-31-SNAPSHOT [4/10]
[INFO] --------------------------------[ hpi ]---------------------------------
[INFO] 
[INFO] --- maven-hpi-plugin:3.18:validate (default-validate) @ payload-dependencies ---
[INFO] 
[INFO] --- maven-hpi-plugin:3.18:validate-hpi (default-validate-hpi) @ payload-dependencies ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (display-info) @ payload-dependencies ---
[INFO] Maven Version: 3.8.3
[INFO] JDK Version: 17 normalized as: 17
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.15.7
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ payload-dependencies ---
[INFO] Adding ignore: module-info
[WARNING] Invalid bytecodeVersion for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.4:compile : META-INF/versions/11/module-info.class: expected 55, but was 53
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ payload-dependencies ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/src/main/resources
[INFO] 
[INFO] --- flatten-maven-plugin:1.2.7:flatten (flatten) @ payload-dependencies ---
[INFO] Generating flattened POM of project io.jenkins.jenkinsfile-runner:payload-dependencies:hpi:1.0-beta-31-SNAPSHOT...
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ payload-dependencies ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/classes
[INFO] 
[INFO] --- access-modifier-checker:1.26-rc164.054f29449a18:enforce (default-enforce) @ payload-dependencies ---
[INFO] 
[INFO] --- maven-hpi-plugin:3.18:insert-test (default-insert-test) @ payload-dependencies ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ payload-dependencies ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ payload-dependencies ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/test-classes
[INFO] 
[INFO] --- maven-hpi-plugin:3.18:test-hpl (default-test-hpl) @ payload-dependencies ---
[INFO] Generating /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/test-classes/the.hpl
[INFO] webappDirectory does not exist, will use warSourceDirectory
[INFO] 
[INFO] --- maven-hpi-plugin:3.18:resolve-test-dependencies (default-resolve-test-dependencies) @ payload-dependencies ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.20:check (check) @ payload-dependencies ---
[INFO] Resolved signature org.codehaus.mojo.signature:java18 version as 1.0 from dependencyManagement
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ payload-dependencies ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-hpi-plugin:3.18:hpi (default-hpi) @ payload-dependencies ---
[INFO] Generating /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT/META-INF/MANIFEST.MF
[INFO] Checking for attached .jar artifact ...
[INFO] Generating jar /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT.jar
[INFO] Building jar: /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT.jar
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT
[INFO] Assembling webapp payload-dependencies in /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT
[INFO] Bundling direct dependency spotbugs-annotations-4.4.1.jar
[INFO] Generating hpi /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT.hpi
[INFO] Building jar: /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload-dependencies/target/payload-dependencies-1.0-beta-31-SNAPSHOT.hpi
[INFO] 
[INFO] ---------------< io.jenkins.jenkinsfile-runner:payload >----------------
[INFO] Building payload 1.0-beta-31-SNAPSHOT                             [5/10]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (display-info) @ payload ---
[INFO] Maven Version: 3.8.3
[INFO] JDK Version: 17 normalized as: 17
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.15.7
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ payload ---
[INFO] Adding ignore: module-info
[WARNING] Invalid bytecodeVersion for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.4:compile : META-INF/versions/11/module-info.class: expected 55, but was 53
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ payload ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload/src/main/resources
[INFO] 
[INFO] --- flatten-maven-plugin:1.2.7:flatten (flatten) @ payload ---
[INFO] Generating flattened POM of project io.jenkins.jenkinsfile-runner:payload:jar:1.0-beta-31-SNAPSHOT...
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ payload ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /private/tmp/jenkinsfile-runner-20211012-89083-vatazw/payload/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jenkinsfile Runner 1.0-beta-31-SNAPSHOT:
[INFO] 
[INFO] Jenkinsfile Runner ................................. SUCCESS [  0.831 s]
[INFO] bootstrap .......................................... SUCCESS [  2.655 s]
[INFO] setup .............................................. SUCCESS [  3.168 s]
[INFO] Jenkinsfile Runner: Plugin dependencies ............ SUCCESS [  5.374 s]
[INFO] payload ............................................ FAILURE [  1.504 s]
[INFO] jenkinsfile-runner ................................. SKIPPED
[INFO] packaging-parent-pom-resources ..................... SKIPPED
[INFO] packaging-parent-pom ............................... SKIPPED
[INFO] packaging-parent-pom-slim .......................... SKIPPED
[INFO] vanilla-package .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.664 s
[INFO] Finished at: 2021-10-12T09:12:35-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project payload: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x4c59124a) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x4c59124a -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :payload

==> Formula
Tap: jenkinsci/jenkinsfile-runner
Path: /usr/local/Homebrew/Library/Taps/jenkinsci/homebrew-jenkinsfile-runner/Formula/jenkinsfile-runner.rb
==> Configuration
HOMEBREW_VERSION: 3.2.16-17-gcc2c19b
ORIGIN: https://github.com/Homebrew/brew
HEAD: cc2c19be98e9ba704e4172e9602fe3fbcc5b5bdd
Last commit: 64 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ef0cfaf84d1ced82e8b72f2a67530364d6884279
Core tap last commit: 56 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 12.0.0 build 1200
Git: 2.33.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 12.0.0.32.29
Xcode: 12.4
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/openjdk@8:/usr/local/opt/openjdk:/usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.15
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/openjdk@8/bin:/usr/local/opt/openjdk/bin:/usr/local/opt/maven/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: jenkinsci/jenkinsfile-runner/jenkinsfile-runner HEAD-02e186e did not build
Logs:
     /Users/hborcher/Library/Logs/Homebrew/jenkinsfile-runner/00.options.out
     /Users/hborcher/Library/Logs/Homebrew/jenkinsfile-runner/01.mvn
If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
  jenkinsci/jenkinsfile-runner

Traceback (most recent call last):
    25: from /usr/local/Homebrew/Library/Homebrew/build.rb:220:in `<main>'
    24: from /usr/local/Homebrew/Library/Homebrew/build.rb:124:in `install'
    23: from /usr/local/Homebrew/Library/Homebrew/utils.rb:550:in `with_env'
    22: from /usr/local/Homebrew/Library/Homebrew/build.rb:129:in `block in install'
    21: from /usr/local/Homebrew/Library/Homebrew/formula.rb:1284:in `brew'
    20: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2442:in `stage'
    19: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
    18: from /usr/local/Homebrew/Library/Homebrew/resource.rb:96:in `stage'
    17: from /usr/local/Homebrew/Library/Homebrew/resource.rb:121:in `unpack'
    16: from /usr/local/Homebrew/Library/Homebrew/resource.rb:208:in `mktemp'
    15: from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
    14: from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
    13: from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
    12: from /usr/local/Homebrew/Library/Homebrew/resource.rb:122:in `block in unpack'
    11: from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:102:in `stage'
    10: from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:110:in `chdir'
     9: from /usr/local/Homebrew/Library/Homebrew/resource.rb:126:in `block (2 levels) in unpack'
     8: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2462:in `block in stage'
     7: from /usr/local/Homebrew/Library/Homebrew/utils.rb:550:in `with_env'
     6: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2463:in `block (2 levels) in stage'
     5: from /usr/local/Homebrew/Library/Homebrew/formula.rb:1291:in `block in brew'
     4: from /usr/local/Homebrew/Library/Homebrew/build.rb:169:in `block (2 levels) in install'
     3: from /usr/local/Homebrew/Library/Taps/jenkinsci/homebrew-jenkinsfile-runner/Formula/jenkinsfile-runner.rb:11:in `install'
     2: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2233:in `system'
     1: from /usr/local/Homebrew/Library/Homebrew/formula.rb:2233:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2297:in `block in system': Failed executing: mvn package (BuildError)
    9: from /usr/local/Homebrew/Library/Homebrew/brew.rb:162:in `<main>'
    8: from /usr/local/Homebrew/Library/Homebrew/brew.rb:174:in `rescue in <main>'
    7: from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:539:in `dump'
    6: from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:485:in `issues'
    5: from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:489:in `fetch_issues'
    4: from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:61:in `issues_for_formula'
    3: from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:30:in `search_issues'
    2: from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:160:in `search'
    1: from /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:234:in `open_rest'
/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:304:in `raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)
hborcher@LIBLAPPRE18 ~ % 
oleg-nenashev commented 2 years ago

Looks like you use a recent JDK version: module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module. This issue happens with JDK 16 or above:

Currently Jenkinsfile Runner can be built with JDK 1.8 and JDK 11. I plan to add support for Java 17, but right now it is not going to work even if this particular issue is fixed. Anyway the issue needs to be fixed or explicitly documented somehow

henryborchers commented 2 years ago

That's a shame that I'm unable to get this to work. Without either a docker image or an easy way through homebrew, I'm unable to test out jenkinsfile-runner. It's been my secret weapon for CI pipelines.

oleg-nenashev commented 2 years ago

@henryborchers the problem indeed needs a fix. Meanwhile you could try out https://github.com/jenkinsci/jenkinsfile-runner/pkgs/container/jenkinsfile-runner . I am restoring Docker packaging at the moment