Unable to integrate with Jenkins
还没有人认领这个 Issue。
评估
调研方向
Start with the Jenkinsfile shown in the issue and reproduce the pipeline using the react-nativecommunity/react-native-android image. Inspect the /opt/android SDK permissions involved when gradlew assembleRelease runs; done means the Jenkins build completes without the SDK directory not writable error.
由索引模型根据 Issue 内容生成。
描述
I run this image using Jenkins. But gradlew is failed with this error message.
The SDK directory is not writable (/opt/android)
Jenkinsefile
pipeline {
agent {
docker {
image 'reactnativecommunity/react-native-android'
}
}
stages {
stage('Test') {
steps {
sh 'npm install'
}
}
stage('Build') {
steps {
sh 'cd android && chmod +x gradlew && ./gradlew assembleRelease'
}
}
stage('PROD') {
parallel {
stage('PROD') {
steps {
echo 'prod'
}
}
stage('DEV') {
steps {
echo 'dev'
}
}
}
}
}
environment {
npm_config_cache = 'npm-cache'
}
}
- 主要语言
- Dockerfile
- 星标
- 541
- 派生
- 152
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-native-community/docker-android 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 70/100
react-native-community/docker-android#250 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 45/100
react-native-community/docker-android#219 · 5 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 30/100
react-native-community/docker-android#215 · 5 条评论 · 3 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
react-native-community/docker-android#193 · 8 条评论 ·
查看 react-native-community/docker-android 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 80/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
oblt-aw/detector/security
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
trailofbits/skills#330 ·
-
Bug kind/engineering pulumi/pulumi-external Workflow Failure
难度 2/5 1-3 小时 新手友好度 65/100
pulumi/pulumi-external#733 ·