Skip to content

Commit

Permalink
Merge pull request #41 from girish332/a3
Browse files Browse the repository at this point in the history
A3
  • Loading branch information
Raj-Adarsh authored Jun 13, 2024
2 parents 76064a5 + 5152978 commit 04f5437
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ COPY --from=builder /app/main .
EXPOSE 8080

# Command to run the executable
CMD ["./main"]
CMD ["./main"]
9 changes: 6 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ pipeline {
stages {
stage('Lint commit messages') {
steps {
sh 'npm install --save-dev @commitlint/config-conventional @commitlint/cli'
sh 'npx commitlint --from=HEAD~1'
sh '''
fromCommit=$(git rev-parse origin/main)
npm install --save-dev @commitlint/config-conventional @commitlint/cli
npx commitlint --from=${fromCommit} --to=HEAD --verbose
'''
}
}
}
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ The application uses concurrency to download the cve records.
```
docker run --network="host" -it my-flyway-image migrate -X
```

0 comments on commit 04f5437

Please sign in to comment.