Skip to content

Jenkins file autodetection #1846

@cce-dsantos

Description

@cce-dsantos

Jenkins is a Ci/CD pipeline platform, to get it working on a, ex github/bitbucket/gitlab, repository a Jenkinsfile needs to be placed on it with groovy syntax.

By default this file is simply named Jenkinsfile or, in some cases, with the extension .jenkinsfile, either cases to get it nicely highlighted one of the bellow options need to be done:

  • bat -l groovy Jenkinsfile
  • bat -l groovy something.jenkinsfile

so that would be a good addition to bat whether it could auto detect a jenkinsfile at set it up to groovy language

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions