Compare commits
2 Commits
cac2b8ace7
...
0abfc60fe9
Author | SHA1 | Date | |
---|---|---|---|
0abfc60fe9 | |||
3e82b1d01e |
@ -26,6 +26,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"postCreateCommand": "bash conda init"
|
"postCreateCommand": "bash -i -c 'conda init'"
|
||||||
|
|
||||||
}
|
}
|
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -5,11 +5,13 @@ pipeline {
|
|||||||
defaultContainer 'conda'
|
defaultContainer 'conda'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
|
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = "1"
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("Install") {
|
stage("Install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda update conda -y'
|
sh 'conda update conda -y -q'
|
||||||
sh 'conda env update -n base --file environment.yml'
|
sh 'conda env update -n base --file environment.yml'
|
||||||
sh 'conda run -n base dotnet restore props.sln'
|
sh 'conda run -n base dotnet restore props.sln'
|
||||||
sh 'npm install --prefix ./Props'
|
sh 'npm install --prefix ./Props'
|
||||||
@ -45,8 +47,9 @@ pipeline {
|
|||||||
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-linux-x64 --runtime linux-x64 --self-contained Props'
|
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-linux-x64 --runtime linux-x64 --self-contained Props'
|
||||||
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-win-x64 --runtime win-x64 --self-contained Props'
|
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-win-x64 --runtime win-x64 --self-contained Props'
|
||||||
fingerprint 'output/props/**/Props*'
|
fingerprint 'output/props/**/Props*'
|
||||||
tar file: "output/props-linux-x64.tar.gz", archive: true, compress: true, dir: "output/props/props-linux-x64"
|
sh 'conda run -n base tar -czf output/props-linux-x64.tar.gz output/props/props-linux-x64'
|
||||||
zip zipFile: "output/props-win-x64.zip", archive: true, dir: "output/props/props-win-x64"
|
sh 'conda run -n base zip -r output/props-win-x64.zip output/props/props-win-x64'
|
||||||
|
archiveArtifacts artifacts: 'output/*.tar.gz,output/*.zip', followSymlinks: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,3 +5,5 @@ dependencies:
|
|||||||
- dotnet-sdk=8
|
- dotnet-sdk=8
|
||||||
- nodejs=20
|
- nodejs=20
|
||||||
- icu
|
- icu
|
||||||
|
- tar
|
||||||
|
- zip
|
Loading…
Reference in New Issue
Block a user