mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-19 14:35:30 +01:00
More Jenkins testing
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -31,7 +31,8 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
docker.image("albert/headscale-webui:${env.BRANCH_NAME}-${env.BUILD_ID}").inside {
|
||||
sh 'hostname'
|
||||
sh 'ls /app'
|
||||
sh 'curl localhost:5000'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -40,7 +41,7 @@ pipeline {
|
||||
options { timeout(time: 5, unit: 'MINUTES') }
|
||||
steps {
|
||||
script {
|
||||
if (env.BRANCH_NAME == 'testing') {
|
||||
if (env.BRANCH_NAME == '*-testing') {
|
||||
docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') {
|
||||
dockerImage.push("${env.BRANCH_NAME}-${env.BUILD_ID}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user