We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355d7bd commit 370fa0eCopy full SHA for 370fa0e
Jenkinsfile
@@ -7,7 +7,7 @@ node ('Docker') {
7
withDockerRegistry([credentialsId: '99ec6d6e-d2f6-4af6-9bbc-3ee43e321123', url: 'http://registry.dyalog.com:5000']) {
8
stage ('Build Docker Image') {
9
// Create a version file to include in the container
10
- sh 'echo $(cat version).$(git rev-list HEAD --count) - (${GIT_COMMIT})" > ./MiServer.version'
+ sh 'echo "$(cat version).$(git rev-list HEAD --count) - ($(git rev-parse HEAD))" > ./MiServer.version'
11
DockerApp = docker.build 'registry.dyalog.com:5000/dyalog/miserver:latest'
12
}
13
stage ('Test website') {
0 commit comments