-
Bug
-
Resolution: Won't Fix
-
Minor
Steps to reproduce
- docker run -p 8080:8080 jenkins/jenkins:2.249.1
- Select plugins to install: Uncheck all, select "Pipeline" (workflow-aggregator) only
- Create a Pipeline with the below script content
- 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
- is caused by
-
JENKINS-29922 Promote delegates of metasteps to top-level functions, deprecate $class
- Resolved