Commit 45400338 authored by carignani's avatar carignani
Browse files

Add new file

parent beb0ae3b
Loading
Loading
Loading
Loading

Jenkinsfile-playground

0 → 100644
+34 −0
Original line number Diff line number Diff line
pipeline{
    options {
        disableConcurrentBuilds()
        gitLabConnection('Gitlab at Forge')
    }
	agent any
	stages {
    	stage('Resolve') {
    		steps{
    		    sh 'echo Validate stage'
    		    updateGitlabCommitStatus name: 'jenkins', state: 'pending'
    			checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', url: 'git@forge.etsi.org:3GPP/openapis-playground.git']]]
			}
		}
		stage('Validate') {
    		steps{
    			sh 'echo Validate stage'
			}
		}
		stage('Deploy to FTP') {
    		steps{
    			sh 'echo DEPLOY stage'
			}
		}
	}
	post {
    	success {
    	    updateGitlabCommitStatus name: 'jenkins', state: 'success'
    	}
    	failure {
    	    updateGitlabCommitStatus name: 'jenkins', state: 'failed'
    	}
	}
}