Compare commits

...

32 Commits

Author SHA1 Message Date
1e50bd15fa Fixed typo 2020-12-10 16:52:50 +01:00
16721ed210 Need to make sure it works 2020-12-10 16:51:00 +01:00
6e89872ddb Add withEnv, fix typo 2020-12-10 16:43:44 +01:00
8dc1c8c1d7 Add withEnv 2020-12-10 16:40:13 +01:00
e666adf2b4 Check username 2020-12-09 19:35:21 +01:00
7b556ef953 Try different source image 2020-12-09 19:27:21 +01:00
5d3531b2d2 Try to create dir needed 2020-12-09 19:22:40 +01:00
586f0acf7f Try to fix casche problem, fix typo 2020-12-09 19:17:14 +01:00
5f0d2adb00 Try to fix casche problem 2020-12-09 19:14:24 +01:00
eeea4f86d1 Add proper image this time 2020-12-09 19:09:22 +01:00
df3312e788 Try custom image 2020-12-09 19:06:43 +01:00
fabf198f48 Again with my image 2020-12-04 19:31:58 +01:00
f87523cf34 with node installing fix 2020-12-04 19:25:05 +01:00
67d519df5e with node installing 2020-12-04 19:23:20 +01:00
89fa6939ea no node 2020-12-04 19:20:24 +01:00
08e886610e Test both images, different agents 2020-12-04 19:09:40 +01:00
eb25599c9f Test both images 2020-12-04 19:07:31 +01:00
2ed9fa825e Test only node 2020-12-04 19:05:57 +01:00
6df7f174ce Try idea with dockerhub add version 2020-12-04 18:57:55 +01:00
1407e61997 Try idea with dockerhub fix bug 2020-12-04 18:56:37 +01:00
023ae1ff6c Try idea with dockerhub 2020-12-04 18:55:59 +01:00
647736d8f7 Test two docker images 2020-12-04 18:46:53 +01:00
4e240b7506 Test double images 2020-12-04 18:04:15 +01:00
6ce52af934 Add try with new image, only node:12 2020-12-04 17:56:48 +01:00
67e52719f2 Add try with new image fix 2020-12-04 17:53:36 +01:00
04f56e5078 Add try with new image 2020-12-04 17:49:35 +01:00
c9d927aeb9 Test envioment, check env 2020-12-04 14:41:54 +01:00
2cb69eb3b5 Test envioment fix bug 2020-12-04 14:38:48 +01:00
800459a894 test evlioment 2020-12-04 14:37:46 +01:00
2c3dd7f0d2 Try to make it run dotnet 2020-12-03 17:30:56 +01:00
356f0b2ea1 Test new config, fixed bugs 2020-12-03 17:28:14 +01:00
734368df68 Test new config 2020-12-03 17:26:07 +01:00

69
Jenkinsfile vendored
View File

@ -1,21 +1,48 @@
pipeline {
agent any
stages {
stage('Build image') {
steps {
echo "Building docker image"
script {
dir('SessionCompanion/SessionCompanion'){
def customImage = docker.build("session-companion:${env.BUILD_ID}")
//customImage.withRun('-p 5050:5050')
}
}
}
}
stage('Delete image') {
steps {
sh "docker rmi session-companion:${env.BUILD_ID}"
}
}
}
}
//pipeline {
// agent any
// stages {
// stage('Build image') {
// steps {
// echo "Building docker image"
// script {
// dir('SessionCompanion/SessionCompanion'){
// def customImage = docker.build("session-companion:${env.BUILD_ID}")
// //customImage.withRun('-p 5050:5050')
// }
// }
// }
// }
// stage('Delete image') {
// steps {
// sh "docker rmi session-companion:${env.BUILD_ID}"
// }
// }
// }
//}
pipeline {
agent {
docker {
image 'kargor8/sess-comp-base:v2'
}
}
environment {
DOTNET_CLI_HOME = '/tmp/App'
}
stages {
stage('Build app') {
steps {
dir('SessionCompanion') {
sh "echo $USER"
withEnv(["HOME=${env.WORKSPACE}"]){
sh 'dotnet build'
}
}
}
}
stage('Clarify') {
steps {
sh "echo Dziala"
}
}
}
}