Git Product home page Git Product logo

Comments (3)

Paul1365972 avatar Paul1365972 commented on July 20, 2024

I am not really sure why you would want to build this project with jenkins, as this repository is just a template with no actual functionality and only meant to be forked. If you want to build your own fork you could always just add the Jenkinsfile in your own repository only, or did I miss something?

from ilblu.

josephworks avatar josephworks commented on July 20, 2024

I suppose, but it would be nice to provide the Jenkinsfile so others can (extremely) easily build our forks of the project on Jenkins.

from ilblu.

Paul1365972 avatar Paul1365972 commented on July 20, 2024

Since I don't want to clutter the project with build system files I will just provide this simple pipeline script. Be warned i have no experience with the Jenkins pipeline, but it worked fine in my test runs. Just replace and and you should be good to go.

pipeline {
   agent any
   
   stages {
      stage('Setup') {
          steps {
            git 'https://github.com/<USER-NAME>/<FORK-NAME>.git'
            
            sh './gradlew ilbluInitApply'
          }
      }
      stage('Build') {
         steps {
            sh './gradlew jar sourcesJar javadocJar shadowJar ilbluPaperclip'
            
            archiveArtifacts 'ilblu-paperclip.jar, <FORK-NAME>-API/build/libs/*.jar'
         }
      }
   }
}

from ilblu.

Related Issues (1)

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.