add shebang
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -1,7 +1,9 @@
|
|||||||
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
library identifier: 'jenkins-shared-library@master', retriever: modernSCM(
|
library identifier: 'jenkins-shared-library@master', retriever: modernSCM(
|
||||||
[$class: 'GitSCMSource',
|
[$class: 'GitSCMSource',
|
||||||
remote: 'https://gitlab.com/nanuchi/jenkins-shared-library.git',
|
remote: 'https://gitlab.com/nanuchi/jenkins-shared-library.git',
|
||||||
credentialsId: 'gitlab-credentials'
|
credentialsId: 'gitlab-credentials'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -19,7 +21,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
buildDockerImageFromClass 'nanajanashia/demo-app:jma-3.0'
|
buildDockerImageFromClass 'nanajanashia/demo-app:jma-3.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user