Coder Social home page Coder Social logo

jenkins-jobs's Introduction

jenkins-jobs

Automated Jenkins jobs and views, based upon jenkins-job-builders

Building

Run ./gradlew clean test locally to test your changes. The test suite will ensure the job definitions are capable of producing the expected config XML for Jenkins.

License

This code is open source software licensed under the Apache 2.0 License.

jenkins-jobs's People

Contributors

andy1138 avatar arturopala avatar ashusingh avatar basitpathan avatar beyond-code-github avatar billymitchell14 avatar cavster avatar charleskubicek avatar colesadam avatar daithi-o-gorduin avatar duncancrawford avatar eddgrant avatar georgehill19 avatar gokyo avatar iteratoruk avatar jachro avatar jakobgrunig avatar kabuumu avatar konradwudkowski avatar macgrewal avatar mattclark-zerogravit avatar mjcallahanpage avatar nugs avatar pacenick avatar pankaj2453 avatar paulhodgson avatar smudgey avatar thomas-vogel444 avatar tomasz-rosiek avatar yuanzhang910 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jenkins-jobs's Issues

Can't get jobs to run when cloning this project

Hey folks, happy new year!

More of a question than an issue. I am trying to get us up and running using the HMRC jenkins-job-builders project. I thought a good first step would be to clone this project and get it building in a local Jenkins instance. However when I try this I am getting a rather unfathomable exception.

Here's what I've done:

  • Spin up a Jenkins instance (v1.580.2) docker run -p 8080:8080 -v /foo/jenkins-home:/var/jenkins_home jenkins:latest
  • Install Jenkins job DSL plugin (v1.38)
  • Installed various other plugins (Git, Github etc, nothing particularly unusual)
  • Set up a seed job which clones this repository and does the following:
    Gradle Step
        Use Gradle Wrapper = true
        From Root Build Script Dir = true
        Tasks = clean build
    Process Jobs DSL Step
        Look On Filesystem = true
        DSL Scripts = jobs/**/*.groovy
        Removed Jobs = Delete
        Removed Views = Delete
        Context To Use For Relative Job Names = Jenkins Root
        Additional Classpath = build/libs/*.jar

When I run the seed job it fails with the following error:

ERROR: (JobBuilder.groovy, line 124) No signature of method: ci_open_jenkins.build.aoss.job() is applicable for argument types: (uk.gov.hmrc.jenkinsjobbuilders.domain.builder.JobBuilder$_build_closure1) values: [uk.gov.hmrc.jenkinsjobbuilders.domain.builder.JobBuilder$_build_closure1@43dde5e2]
Possible solutions: job(java.lang.String), job(java.lang.String, groovy.lang.Closure), run(), run(), any(), use([Ljava.lang.Object;)
Finished: FAILURE

Looking at line 124 it seems to call the script instance (which is cast in the script as a JobDslFactory). I'm wondering if some clever dynamic magic isn't happening which is resulting in the script instance not being given a job() method?

V grateful for any insight here.

Cheers,

Edd

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.