Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM Dockerfile
RUN apt-get update && apt-get -y install build-essential && mkdir -p /app
COPY . /app/
WORKDIR /app/
CMD make
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
node {
def app
stage('Clone repository') {
git 'https://github.com/yangsubinn/Test-iOS.git'
}
stage('Build Image') {
app = docker.build("yangsubinn/test-jenkins")
}
stage('Test Image') {
app.inside {
sh 'make test'
}
}
stage('Push image') {
docker.withRegistry('https://registry.hub.docker.com', '231ac0f4-40ba-49f6-b419-34e2cdac6b42') {
app.push("${env.BUILD_NUMBER}")
app.push("latest")
}
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

<br>



| 👻 | ❓ | ✔️ | 👾 |
|:----------:|:-------------|:------:|:------:|
| 1 | Haptic Vibration | ✔️ | [📂](https://github.com/yangsubinn/Test-iOS/blob/master/Test/Test/Source/ViewControllers/HapticVC.swift) |
Expand Down