test
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
abe668b19e
commit
9432b24a19
|
@ -94,6 +94,10 @@ pipeline {
|
|||
CREDENTIALS = credentials('docker-registry')
|
||||
IMAGE = "$REGISTRY/verdnatura/salix-back"
|
||||
}
|
||||
script {
|
||||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
}
|
||||
steps {
|
||||
sh 'docker-compose build back'
|
||||
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
|
||||
|
|
Loading…
Reference in New Issue