Skip to content

Commit 5a44932

Browse files
committed
updated jenkinsfile
1 parent 225e727 commit 5a44932

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jenkinsfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ pipeline {
5151
echo 'PUSH SUCCESSFUL'
5252
}
5353
}
54+
}
55+
stage('Docker run') {
56+
steps {
57+
echo "run image"
58+
sh 'docker run -itd -p 2020:80 sampleapp:${BUILD_NUMBER} '
59+
}
5460
}
5561
}
5662
}

0 commit comments

Comments
 (0)