File tree 4 files changed +5
-58
lines changed
4 files changed +5
-58
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ ansiColor("xterm") {
20
20
ci/ibm/podman_jenkins.sh
21
21
22
22
'''
23
- def artifacts = [' op-build/timings.txt ' , ' upload.log' ]
23
+ def artifacts = [' upload.log' ]
24
24
archiveArtifacts artifacts : artifacts. join(' , ' ), allowEmptyArchive : true
25
25
26
26
// cleanWs()
Original file line number Diff line number Diff line change @@ -28,16 +28,15 @@ container_id=$(podman run -dit --userns=keep-id \
28
28
podman cp $opbuild_dir $container_id :$working_dir
29
29
30
30
# do the compile
31
- podman exec -w $working_dir $container_id /bin/bash -c " ./op-build p10ebmc_defconfig && ./op-build"
32
- # podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig"
31
+ # podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig && ./op-build"
32
+ podman exec -w $working_dir $container_id /bin/bash -c " ./op-build p10ebmc_defconfig"
33
33
34
34
# Upload build images to artifactory
35
35
podman exec -w $working_dir $container_id /bin/bash -c " ./ci/ibm/upload_artifactory.sh"
36
36
podman cp $container_id :$working_dir /upload.log $WORKSPACE
37
37
echo " Browse https://na-public.artifactory.swg-devops.com/ui/native/pse-jet-sys-powerfw-generic-local/op-build/pr-$CHANGE_ID /$BUILD_NUMBER "
38
38
39
39
40
-
41
40
# create unique tag for artifactory
42
41
podman commit $container_id $remote_tag
43
42
podman tag $remote_tag $latest_tag
Original file line number Diff line number Diff line change @@ -8,18 +8,17 @@ tag_name=${2:-op-build:$(git rev-parse --abbrev-ref HEAD)}
8
8
9
9
working_dir=/home/$USER /op-build
10
10
# exit
11
- # --no-cache
11
+ #
12
12
podman build --build-arg UID=$UID --build-arg GID=$( id -g) --build-arg USER=$USER -t $tag_name -f ci/ibm/Dockerfile ci/ibm
13
13
14
14
# mount the local repo into the container
15
15
# mount ssh keys for additional cloning if required
16
16
container_id=$( podman run -itd --userns=keep-id \
17
17
-v $opbuild_dir :$working_dir :z \
18
18
-v /home/$USER /.ssh:/home/$USER /.ssh:z \
19
- -v /home/$USER /.jfrog:/home/$USER /.jfrog:z \
20
19
-w $working_dir $tag_name )
21
20
22
21
# do the compile
23
- podman exec -w $working_dir $container_id /bin/bash -c " ./op-build p10ebmc_defconfig && ./op-build"
22
+ # podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig && ./op-build"
24
23
25
24
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments