Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
This commit is contained in:
parent
258dbb1db3
commit
de7ca49100
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -1,3 +1,9 @@
|
||||
def getBranchNames(project){
|
||||
project.getItems().each { job ->
|
||||
echo job.getProperty(org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty.class).getBranch().getName()
|
||||
}
|
||||
}
|
||||
|
||||
pipeline{
|
||||
agent { node{ label'workstation' }}
|
||||
options {
|
||||
@ -18,6 +24,13 @@ pipeline{
|
||||
}
|
||||
stages
|
||||
{
|
||||
stage('Test') {
|
||||
steps {
|
||||
script {
|
||||
getBranchNames("gitea-sync/antos");
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Prepare binaries') {
|
||||
steps {
|
||||
sh'''
|
||||
|
Loading…
Reference in New Issue
Block a user