change in jenkins file

This commit is contained in:
cis-kuldeep 2019-07-03 19:22:03 +05:30 committed by GitHub
parent 2f9f18be53
commit a526740e2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
Jenkinsfile vendored
View File

@ -1,26 +1,12 @@
pipeline {
agent admin
agent any
triggers {
pollSCM('*/5 * * * *')
}
options {
skipDefaultCheckout(true)
// Keep the 10 most recent builds
buildDiscarder(logRotator(numToKeepStr: '10'))
timestamps()
}
environment {
PATH="/home/cis/Desktop/ENV/pybitenv/bin:$PATH"
}
stages {
stage ("Code pull"){
steps{
checkout scm
}
}
stage('Build environment') {
steps {
sh '''export WORKSPACE=`pwd`