Update Jenkinsfile
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -1,14 +1,10 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
echo "hello wordl"
|
sh 'echo hi'
|
||||||
script {
|
}
|
||||||
img = 'python:latest'
|
}
|
||||||
docker.image("${img}").run('-d')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user