jenkins: fix Jenkinsfile typo
This commit is contained in:
Vendored
+2
-2
@@ -31,7 +31,7 @@ pipeline {
|
||||
agent { label 'agent-12' }
|
||||
steps {
|
||||
sh 'docker stop trianta.dev && docker rm trianta.dev || exit 0'
|
||||
sh 'docker run -d -e USER=scv -e USER_UID=1001-e USER_GID=1001 --restart=unless-stopped -p 3466:80 --name trianta.dev trianta.dev:latest'
|
||||
sh 'docker run -d -e USER=scv -e USER_UID=1001 -e USER_GID=1001 --restart=unless-stopped -p 3466:80 --name trianta.dev trianta.dev:latest'
|
||||
}
|
||||
}
|
||||
stage('Test Checkout') {
|
||||
@@ -64,7 +64,7 @@ pipeline {
|
||||
agent { label 'agent-13' }
|
||||
steps {
|
||||
sh 'docker stop test.trianta.dev && docker rm test.trianta.dev || exit 0'
|
||||
sh 'docker run -d -e USER=scv -e USER_UID=1001-e USER_GID=1001 --restart=unless-stopped -p 3466:80 --name test.trianta.dev test.trianta.dev:latest'
|
||||
sh 'docker run -d -e USER=scv -e USER_UID=1001 -e USER_GID=1001 --restart=unless-stopped -p 3466:80 --name test.trianta.dev test.trianta.dev:latest'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user