Giter Site home page Giter Site logo

Comments (4)

ababushk avatar ababushk commented on August 25, 2024

Yep, it is definitely good idea. Our commit history looks exactly like this :)
We're trying to use Jenkins Pipeline Unit for that, but it becomes hard to write all these registerAllowedMethod()s for complex pipelines.

from jenkinsfile-runner.

JiElPe-Fr38 avatar JiElPe-Fr38 commented on August 25, 2024

Really good idea !
There could have a JENKINS_PIPELINE_RUNMODE var set at job level, (perhaps a checkbox on the job config, or an option{} to add in the pipeline), and in a stage have the possibility to do somethting like :

stage('xyz') {
  steps {
        dryRun {

        }
       normal {

      }
  }

}

Or a if is DryRun / unless is DryRun directive to add after any step.

from jenkinsfile-runner.

ndeloof avatar ndeloof commented on August 25, 2024

The actual way to have Pipeline support a dry-run mode has to be discussed in the workflow-* projects, when available we could support it from jenkinsfile-runner, but for sure won't implement by ourself

from jenkinsfile-runner.

oleg-nenashev avatar oleg-nenashev commented on August 25, 2024

We are closing GitHub issues for this repo. https://issues.jenkins-ci.org/browse/JENKINS-56267 was created as a follow-up so that it might be seen by other users and Pipeline maintainers.

from jenkinsfile-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.