change in jenkins file
This commit is contained in:
parent
2f9f18be53
commit
a526740e2f
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -1,26 +1,12 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent admin
|
agent any
|
||||||
|
|
||||||
triggers {
|
triggers {
|
||||||
pollSCM('*/5 * * * *')
|
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 {
|
stages {
|
||||||
|
|
||||||
stage ("Code pull"){
|
|
||||||
steps{
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Build environment') {
|
stage('Build environment') {
|
||||||
steps {
|
steps {
|
||||||
sh '''export WORKSPACE=`pwd`
|
sh '''export WORKSPACE=`pwd`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user