Unexpected behavior of pipelines, possibly due to symbol overlap

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Steps to reproduce

      1. docker run -p 8080:8080 jenkins/jenkins:2.249.1
      2. Select plugins to install: Uncheck all, select "Pipeline" (workflow-aggregator) only
      3. Create a Pipeline with the below script content
      4. Build it

      Pipeline script:

      node {
       git url: 'https://github.com/jenkinsci/workflow-aggregator-plugin/'
       sh 'ls -lA'
      } 

      Expected result:
      GitHub repo to be checked out
      or (more likely, as Git Plugin isn't installed)
      Build to fail, as the 'git' step does not exist

      Actual result:
      The 'git' statement seems to be silently dropped (interpreted as 'git' tool from git-client?). There is no hint to what the problem could be, it's like the pipeline is a different one.

      Started by user admin
      Running in Durability level: MAX_SURVIVABILITY
      [Pipeline] Start of Pipeline
      [Pipeline] node
      Running on Jenkins in /var/jenkins_home/workspace/pl
      [Pipeline] {
      [Pipeline] sh
      + ls -lA
      total 0
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      Finished: SUCCESS

            Assignee:
            Unassigned
            Reporter:
            Daniel Beck
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: