Removed debug messages from Jenkinsfile
This commit is contained in:
parent
0c704a1358
commit
2247a28287
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
@ -7,34 +7,8 @@ node {
|
|||||||
|
|
||||||
stage('Clone repository') {
|
stage('Clone repository') {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
|
||||||
stage('Whoami'){
|
|
||||||
sh """
|
|
||||||
whoami
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
stage('print directory'){
|
|
||||||
sh """
|
|
||||||
cd
|
|
||||||
ls -la
|
|
||||||
"""
|
|
||||||
}
|
}
|
||||||
stage('Enable docker experimental features'){
|
stage('Build and push multiarch image') {
|
||||||
sh """
|
|
||||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
stage('Test docker version'){
|
|
||||||
sh """
|
|
||||||
docker version
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
stage('Test buildx'){
|
|
||||||
sh """
|
|
||||||
docker buildx
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
stage('Build multiarch image') {
|
|
||||||
sh """
|
sh """
|
||||||
docker buildx build -t reg.greinet.com/agreiner/advancedmqttbridge:latest --platform linux/amd64,linux/arm64 --push .
|
docker buildx build -t reg.greinet.com/agreiner/advancedmqttbridge:latest --platform linux/amd64,linux/arm64 --push .
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user