CI/CD Jenkins for Non Java projects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CI/CD Jenkins for Non Java projects

samy raj
Hello All,
I am looking for a simple project example which has non-java for a complete cycle of DevOps. I have a requirement for a project which has just many configuration files, Unix script files. I am able to move them into github. But, I need to understand how to build and to write deployment pipeline. Before deployment I need to modify those files by updating few environmental related variables as it differrs between QA and Prod.  I am searched many tutorials all are providing example with java build.You advise on my question is much appreciated.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d75cb772-fa53-43b0-802d-6a93421eb450%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: CI/CD Jenkins for Non Java projects

itchymuzzle

#! /usr/bin/env groovy
pipeline {
    agent any
    parameters {
        string(name: 'Version', defaultValue: '2.3.0', description: 'What is the release version?')
    }
    stages {
        stage('Build') {
            steps {
                sh 'unix command(s) to build'
            }
        }

        stage('Deploy') {
            steps {
                sh 'unix command(s) to deploy'
            }
        }

      }

}

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/641ee79e-431c-4852-b37c-0848f04a860c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: CI/CD Jenkins for Non Java projects

samy raj
In reply to this post by samy raj
thank you itchymuzzle

On Thursday, November 2, 2017 at 1:44:08 AM UTC-4, samy raj wrote:
Hello All,
I am looking for a simple project example which has non-java for a complete cycle of DevOps. I have a requirement for a project which has just many configuration files, Unix script files. I am able to move them into github. But, I need to understand how to build and to write deployment pipeline. Before deployment I need to modify those files by updating few environmental related variables as it differrs between QA and Prod.  I am searched many tutorials all are providing example with java build.You advise on my question is much appreciated.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4e16cb19-b25a-46c4-8202-7acefde06e5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.