Modified Jnenkinsfiles
parent
fd3eb0133f
commit
0e4475dd1b
|
@ -60,17 +60,17 @@ pipeline {
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Publish to Debian Repository') {
|
}
|
||||||
when {
|
stage ('Publish to Debian Repository') {
|
||||||
expression {
|
when {
|
||||||
return env.TAG_NAME != null
|
expression {
|
||||||
}
|
return env.TAG_NAME != null
|
||||||
}
|
|
||||||
agent { label 'debian-repo' }
|
|
||||||
steps {
|
|
||||||
sh "aptly repo add opengnsys-devel /var/tmp/opengnsys/debian-repo/ogdhcp/*.deb"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
agent { label 'debian-repo' }
|
||||||
|
steps {
|
||||||
|
sh "aptly repo add opengnsys-devel /var/tmp/opengnsys/debian-repo/ogdhcp/*.deb"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|
Loading…
Reference in New Issue