change in jenkins file
This commit is contained in:
parent
2f9f18be53
commit
a526740e2f
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user